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
Fractional response model with binary endogenous explanatory variableHello everyone, As the title mention, I have an endogenous explanatory variable, which happens to be…
command window (display actual commands not temp commands)Hi there When I run commands from a do file, the command window displays the commands a "temp" comma…
Creating a new variable by count of specific disease IC9 code across multiple diagnosisHello, I am working on a dataset with almost 450,000 cases with several columns of diagnostic codes…
How to drop the duplicates with the fewest missing values?I have duplicates that share values, but some are missing. I would like to keep the observation of e…
Keep specific rows in a variableHello, I have a dataset with two variables: time and title. Title refers to some headline news -- t…
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