Hi. I have a dataset with neary one million individuals and their hospitalizations (> 1 hospitalization over time for each individual). How can I create a new, smaller dataset extracting only the last hospitalization for each individual? The variable 'hosp_id' has values from 1 to 25
Thank you in advance
Gerhard
Related Posts with Analyzing the data
IV with dummy variableDear all, I am trying to run this model: Array Where i is individual i, in strata s, and time t. …
Syntax error in estoutI am producing tables using estout but even though the code creates a row for them, it won't produce…
SortI think this is a simple question. I have a categorical variable (85 departments) in a long data set…
Collinearity in DID modelDear friends, I met the collinearity problem in DID model. I selected the sample who did not enter …
Counting the min and max in a panel level dataHi All, I'm trying to count the min and max number of plants constructed each year by the vendors. …
Subscribe to:
Post Comments (Atom)
0 Response to Analyzing the data
Post a Comment