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
Is it possible to produce tables with rounded numbers in the Results window?I would like for numbers displayed in Stata's Results window to be rounded. To use an example, I'm e…
Look-up TablesHi, While I have used Stata for simple analysis for a while, I am starting to need to do more compl…
Problem for append datasetsHello, I'm new with STATA, and i'm trying to perform an append of different datasets and there is a…
Threshold regression in time serie, not panel dataHi all, I wonder if its possible make a threshold regression in time serie data, not panel data wit…
stcoxcal after multiple imputationHi, I have a dataset of 7,000 patients but multiple observations were missing (around 20-30% of the…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping variables in the batch structure
Post a Comment