My dataset contains ~4000 variables from a survey that collected data on upto 10 members from the same household. (AGE_01, AGE_02...AGE_10/SEX_01, SEX_02.... SEX_10/BMI_01, BMI_02.....BMI_10).
Is it possible to keep only the FIRST observation for all the variables (AGE1, SEX1, BMI1) by dropping the rest.
Related Posts with Dropping variables in the batch structure
Selecting a subset from a balanced panel data under certain conditionsDear all, I need some help. Well, I have a database in the structure of a balanced panel. I have to…
Question about spregdpdDear all, After we use xtabond or xtabond2, we can use "estat serial" to get AR(1) and AR(2) .But if…
A few questions about my analysis in StataDear all, I am new on this forum, so I hope I'm posting these questions on the right place. I am n…
Loop command to generate 100 variables with mean 0 and standard deviations which increase from 1 to 100 How i can use the loop command to generate 100 variables var_1 to var_100, which are normally dist…
Lagged Dependent Variable (Panel)Is it appropriate to include the dependent variable as a control in an FE panel regression. Previous…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping variables in the batch structure
Post a Comment