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
First step regressionGood morning everyone, I have been asked to try to visualize a first step regression. Anyway, in or…
Test endogenity of instrumentsGoodmorning everyone, I am trying to use the command esttab in the following way: ivreg2 l_vkt_IH …
Extract date from Excel as input in global macroHi, I would like to extract a date from Excel in MM/DD/YYYY format which is located in cell B2, con…
Inverse hyperbolic sinc transformationHi, I have been suggested to use hyperbolic sine transformation instead of log(0+1) I have tried '…
Newey ErrorI am getting the following error when I run the newey command. My dates start from 22nd Jan all the …
Subscribe to:
Post Comments (Atom)
0 Response to Analyzing the data
Post a Comment