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
Multiply obverations of a variable with a vector to creat a new data setHi experts! I am a beginner of Stata and looking for your help. I have data set 1 or matrix 1 (63x1)…
Weights not workingHi everyone, I've been trying to run a regression analysis with weights, but Stata keeps telling me…
Regress in fixed time periodI have a dataset from 2004-2022 and want to form a regression every rolling 6 months so jan 2004-jun…
About clogit in interventional studyHello. I would like to ask your help about clogit. Interventional study was conducted, the data was …
Create new variable using coefficient from a variable containing time dummyHello everyone, I'm using Stata version 14.0. I'm actually trying to estimate the natural rate of un…
Subscribe to:
Post Comments (Atom)
0 Response to Structure data for repeated measures analysis
Post a Comment