Hello, Can someone please help me organize this data for analysis of repeated measures? I have 7 datasets I have merged together that are survey data among 2000 participants in 7 waves of data collection. I want to see it in long format and while I have the "i" (beneficiary ID) I don't have a "j" or "time" variable. in wide format, each beneficiary has separate columns labeled by which survey the data came from. "BLdaily wage" is baseline daily wage, "exit daily wage" month6 daily wage, month 12, month 18 and month 24 etc. Since I don't have a single variable to denote the time for the survey wave, I went back to each individual database and added a variable to denote which survey it was (1=baseline, 2=exit survey, 3=6 mo follow up etc) but when I merged them, since they all participated in the baseline, that variable became 1 (for baseline) for every participant-- what would you suggest for how I can ask stata to organize the rows for each beneficiary by survey (1-7)?
Thank you
Heather
Related Posts with Structure data for repeated measures analysis
format date variableHello, i have a date variable in my dataset which is type "long" and formated in the following way:…
Moran test and ivreg2Hi, I am running a Moran’s test of residual correlation with nearby residuals. I know that Moran ru…
Dummy variablesDear all, I have a panel data (long data), shown below. Firm name Year Firm value Dummy A 1 …
MlogitHi I am stuch with simple Mlogit. I appreciate help I am trying to see which regions are attracted b…
Recognizing Texts ObservationsDear All, I have an issue with making STATA to recognize txt observations. I have a table that loo…
Subscribe to:
Post Comments (Atom)
0 Response to Structure data for repeated measures analysis
Post a Comment