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
Creating an ID variable from several group identifiersHello Stata users, On my dataset the individuals have two household identifiers from different sour…
Overlapping holding period momentum strategyI'm working on a project where I want to investigate a momentum strategy of stock returns. I'm formi…
Adjusting for time-varying covariates in linear mixed modelsHi, I have a question about adjusting for time-varying covariates using multilevel linear mixed mod…
Propensity score Match and Diff-in-diff AnalysisHi Stata Users, I am a student who is doing the thesis project in Finance. I am using the STATA soft…
Tab the frequency of multiple variables with the same labelI'm sorry if this has been asked a thousand times, but I haven't found the answer by searching the f…
Subscribe to:
Post Comments (Atom)
0 Response to Trend of proportions of people on a medication over 10 years
Post a Comment