Recent content by simonja

  1. S

    Calculating Absolute rate reductions with Count Data

    Hello everyone, I'm analyzing count data in stata using negative binomial regression because of overdispersion. I'm reporting incident rate ratios using the model I've described below. Is there also a way to calculate an absolute rate reduction based on the level of exposure? This study is...
  2. S

    Direct Standardization in Stata using dstdize command

    Hi everyone, I've directly standardized injury events in 17 US states using the stata command "dstdize total_injuries population age_group, by(state) using(Standard_US_Dataset) (output attached). Is there a way to increase the number of decimal places reported, or to directly output rates...
  3. S

    Help with categorical interaction terms in Poisson model

    Thanks in advance for any assistance you have to offer. I'm working with a Poisson model of weighted survey data. My outcome is ACCESS to a weapon (0/1). I have several predictors, including GENDER (0 female /1 male) and a RISK category (0 = no mental health risk factors / 1 = intermediate...
  4. S

    Help generating summary variable of medication data in Stata.

    Hi everyone, I'm new to stata, so any advice on how to code this would be greatly appreciated. I have medication data for 1500 patients. Each row represents a unique medication ID, so each patient may be represented in multiple rows if he/she has multiple meds (example below). I'd like to...
  5. S

    help calculating rates in Stata

    I'm having trouble figuring out the Stata code to calculate rates and age-adjusted rates (for each type of injury, per 100,000, by patient state) for different types of injury in my database. My data look like this... Patient ID State Age Type of Injury State...