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
Command problem with counting sample firms smaller than the firm for each country in each year (panel data)Hi, guys, I would like to measure the percentage of sample firms smaller than the firm for each coun…
Mean of a group minus the observation's value in Panel dataHi, I have a data structure like this: IO-IOarea-Year-index 1----4-------1997-0 2----4-------1998-…
Reshaping DataDear members I am facing an issue with some data which is available with me in MS-Excel in the follo…
Logging results in forvalues-loop: command lines are not shown in output-logfileHello, I want to save some output results using the -log- command. This works fine if I use -log- a…
method for omitted variable bias cross sectional analysisDear all, I have a cross sectional analysis to analyse the effect of head circumference (continuous …
Subscribe to:
Post Comments (Atom)
0 Response to Choosing the max value per individual
Post a Comment