Hello I had a question regarding comparison tests. Currently I'm working on comparing 3 cohorts (pre, treatment, post) but I want to compare each cohort based on different years for each cohort. There is a 5 year difference between each cohort so I want to compare year 2000 for group 1 and year 2005 for group 2 and year 2010 for group 3 in one comparison test. How would I be able to do this and how could I loop it for 10 consecutive years (as the data is longitudinal)?
Related Posts with Comparing different cohorts amongst different years
Stata local macros not displayingHello, I am trying to rescale weights within a single NSFG survey wave to have a mean of 1, however …
How to reshape/convert a household data set in the wide format to long formatHi family, I have a data set that the individual household member's information is presented in the …
Assigning classifications/status of a country for all years in panel dataI have panel data of more than 100 countries and 30 years. I want to assign these countries to low, …
Using stata in batch mode - issue with random numbers and saving output with task array idHello, I am new to posting on the forum, but I follow it frequently. Thank you to the various contr…
R^2 for diff-in-diffI'm estimating a diff-in-diff model with: Code: xtdidregress (y) (treated) [pweight=my_weights], g…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing different cohorts amongst different years
Post a Comment