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
Is it possible that log mis-calculates it or create weird ".b" when the workload is too heavy?I use Stata 17 (24 cores). I am sorry that I cannot provide the reproducible example because this p…
Create graphsDear all, I have a dataset that contains the following string variables: "country" and "countrydest…
Determining level of significance between two median and between two catergorial variables, pre and post treatmentDear Stata community, I was wondering if anybody could help me with the following question. I am tr…
Assigning value from one variable to another if condition is metI have a data manipulation question: I have a dataset with the variables "id_1", "year", and "id_2."…
Is it possible that log mis-calculates it or create weird ".b" when the workload is too heavy?I use Stata 17 (24 cores). I am sorry that I cannot provide the reproducible example because this p…
Subscribe to:
Post Comments (Atom)
0 Response to Trend of proportions of people on a medication over 10 years
Post a Comment