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
State Fixed Effects/State Dummy variable in PMG modelIf some states have higher values of Y variable than other states, then can we use state fixed effec…
Unique id generationHello, I have a dataset where I have 4 municipalities. For each municipality, I have many villages. …
Using "strpos" to create new variableI want to use the command "strpos" to extract specific observations from a string variable. Im using…
Unique String – Numeric combinationHi Stata users, I have a data set with string and numeric variables and would want to check for each…
Comparing developed and developing countries (Panel data analysis)Dear Statalist, I would be really grateful if could advise me an appropriate econometrics method or…
Subscribe to:
Post Comments (Atom)
0 Response to filling blank spaces for data in long format
Post a Comment