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
Sargan test P value = 0 meaningHi What does a sargan test p value = 0 imply? does it mean my instruments are valid? I read that sa…
Drop duplicates depending on two variablesHi, I am totally new to Stata (Version 17.0). I´ve got a data set icluding the variables ticker (so…
Regression TreeDear Users Does anyone have an experience with regression trees in stata, and how the CaRT package w…
Dropping variable and saving itHi everyone How can I Remove a variable from a dataset, but save it in such a way that you can mer…
Extract data from 1000 regression tablesHi, I am using this command below for 1000 variables as an outcome. foreach outcome of varlist B-A…
Subscribe to:
Post Comments (Atom)
0 Response to filling blank spaces for data in long format
Post a Comment