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
Graphs after margins with interaction and covariatesHi, I am hopeful that someone can help me. I am having trouble understanding how to plot a signifi…
Use Output from LCA with Penn State PluginDear Statalisters, i am fairly inexperienced in Stata and i currently try to run some latent class …
Alternative to rowjoinbynameIs rowjoinbyname a more recent command? In the desktop Stata version 16 the code below works, in the…
Issues with Parallel Computing and xtregHi, I am trying to run panel regressions using the package parallel that allows for parallel computi…
Dynamic Panel Data xtpdsys/xtabondHi, I would like to make the same dynamic panel data analysis, as in this article: https://www.tand…
Subscribe to:
Post Comments (Atom)
0 Response to How to select a subset of data from a full database
Post a Comment