Dear all,
If I have a database on STATA with multiple rows for each patient (due to multiple outpatient visits over time) how can I select just only the first row for each patient? I will past below an example of this database:
ID Patient sex age
101 0 65
101 0 65
101 0 65
102 1 59
102 1 59
102 1 59
Related Posts with How to select a subset of data from a full database
looping over variables in a local macroDear members of the Statalist community, I am a grad student with experience in R, currently workin…
Food price seasonality and volatility analysisI would want to do an analysis on food price seasonality and volatility using trigonometric and sawt…
Data Arrangement for Categorical RegressionHello, I would like to analyse whether a person's political opinion is changed after the loss of a p…
Controls, fixed effect models, and an issueDear Statalist, I am estimating the effect of parental separation on the amount of time a child spe…
Tabstar for three variables?Hi! I have two dummy variables and one continuous (age). I want to check mean, median, sd, max and m…
Subscribe to:
Post Comments (Atom)
0 Response to How to select a subset of data from a full database
Post a Comment