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
What is the best method to test these relationships with Stata? Multiple regression? SEMDear all, I hope you can give me your opinion about this. I have to test the following relationship…
Measuring Spells - two special cases in panel dataHi Statalist. I have code to identify and measure the length of a spell - the spell relates to coup…
Different number of decimals for different scalars in esttabHello! I am adding several scalars to my regression table and want different numbers of decimals fo…
Keeping only unique combination of observations in 2 columnsHi I have observations in two columns. Many of the values get repeated. I would like to keep only un…
Gravity model - PPML fixed-effect estimationDear all, I am doing a study on how Brexit can impact the EU export by using the gravity model. My …
Subscribe to:
Post Comments (Atom)
0 Response to Dropping variables in the batch structure
Post a Comment