id | var1 | var2 | var3 | |
1 | 0 | 5 | ||
1 | 5 | 5 | ||
1 | 2 | 5 | ||
2 | 1 | 1 |
Related Posts with Creating a variable that is a maximum value of another variable within the same group
Two digit year to four digit year for date makingHello Statalist, I need to use "gen start_date = mdy(month, day, year)" to get a date var. However, …
STATA Econometrics modelHey guys, I have another question where I'd like to hear your opinion on. I am currently working on…
Splitting follow-up time in monthsHi, this may seem very basic, but I’m quite new to Stata - I need to compare incidents rates of mort…
Make a new group variable of a variableHi! I probably got a simple problem. Let us say I got a variable, called States, with numbers from …
Changing the order of bars in a box plotHi! I want to make a box plot of distribution of 6 different scores (score 1-6) by a grouping varia…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a variable that is a maximum value of another variable within the same group
Post a Comment