I have 10 years worth of data (surveillance data so its weighted). I want to assess the trend of the proportion of people from each year who have a certain medication over the 10 year period. What is the best method to use? So far I used 1) Proportions for each year and used scatter plot to fit a line 2) linear regression svy: regress med_x year .3) I found a similar paper that used weighted poisson with age standardized estimates but couldn't figure out how to code this. Thank you for your help.
Related Posts with Trend of proportions of people on a medication over 10 years
Command for computing effect size for paired/dependent samples t-testHello, I am trying to run some code for computing as effect size for paired sample t tests. It will…
Compare sum of coefficients across different regression subsamplesDear Statalisters I have looked through previous posts on suest on tests related to two coefficients…
Xtile - method for choosing cutpointsI'm revising a paper for a peer-reviewed medical journal. Part of our analysis included creating "qu…
Replace missing values per householdDear All, I would like to replace missing values per household Each household should have a similar…
Y-Var shows trend - how to deal with it?Hello dear community, I use the following regression model of an article in JFE, this is the exact …
Subscribe to:
Post Comments (Atom)
0 Response to Trend of proportions of people on a medication over 10 years
Post a Comment