Hi everyone,
I just wanted to know how to keep the max value per individual. I have this data:
id | months worked
1 | 20
1 | 24
2 | 15
2 | 40
3 | 10
4 | 5
5 | 5
5 | 10
So, I want to do something like this:
id | months worked
1 | 24
2 | 40
3 | 10
4 | 5
5 | 10
I hope you understand my idea. Thanks!!
Related Posts with Choosing the max value per individual
comparing the parametric survival regression modelsWhat is the command for comparing the parametric survival regression models? For example, I estimate…
Dummy for export-starters and non-exporters in the period just before the export-starter enters the export marketI want to create a dummy for export starters to non-exporters in the years before entry. How can I c…
VAR or PVAR different lags for endgenous variablesDear community, in a VAR or PVAR model would it be possible for endgenous variables to have differe…
comparing the parametric survival regression modelsWhat is the command for comparing the parametric survival regression models? For example, I estimate…
pweights in reghdfe allow colinear variable to generate a coefficient? Hi, This is my first post here. This question pertains to the use of pweight in reghdfe. I have a …
Subscribe to:
Post Comments (Atom)
0 Response to Choosing the max value per individual
Post a Comment