Hello, I have two questions:
- Is there easy way to retrieve the index of the observation that has the maximum value for a variable?
- How can I retrieve the value of a variable at the i-th observation point?
Thank you,
Related Posts with How to find the index of the observation that has the maximum value of a variable
Bugs on Stata 16 - any advice?Dear All, I am trying to calculate ratio with nlcom after the svy, over(exposure): proportion outco…
Multi level panel data regression comparing alternativesHi everyone, I'm interested in analyzing a state level policy when I have school level data (with s…
Merge a variabel into another datasetHello all, Attached below is a simple example I have made up so I can fully understand this: Lets s…
Removing trailing dashes in the stringHello! I am extracting zip codes from the string variable called adr by using the following command…
Generate dummy variables using loopsHi everyone, I am trying to generate a set of dummies for two variables (using the same set of dumm…
Subscribe to:
Post Comments (Atom)
0 Response to How to find the index of the observation that has the maximum value of a variable
Post a Comment