My data are repeated measures in long format as shown below. Since this is the same participant, How do I populate row 1 and 3 of the variable Age with the same value as row 2 since this is the same participant?
id Time Age
ID1 T1 .
ID1 T2 23
ID1 T3 .
Related Posts with filling blank spaces for data in long format
Quantile regression t-stata insignificantHi Joao Santos Silva Clyde Schechter I am running qreg for a panel of 372 firms with a monthly time…
Export either table or tabdisp as latex fileI am using: gen ycc_table=. replace ycc_table=year if evnt3w==1 by country ( ycc_table ), sort: …
Overlay 3 kaplan-meier survival graphs from 3 different populationsHello, I'm doing some cross cohort research on SEP and mortality across 3 different cohorts and woul…
mediation package: medsens command and why it does not functionDear All, I am at the moment using the mediaton package (Hicks and Tingley, 2011) to conduct a caus…
xtreg regression leaves out one country for i.countryHello everyone, For my thesis, I am aming on extracting country fixed effects on the perception of …
Subscribe to:
Post Comments (Atom)
0 Response to filling blank spaces for data in long format
Post a Comment