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
How to avoid duplication in observations for variables that exist in multiple waves of panel dataHi Statalist. Using panel dataset with five waves, I group couples into a number of religious categ…
considering inter eyes correlation in spearman analysis(mixed model)Hi I am working on retinal thickness of 68 eyes measured by 2 devices. I calculated the spearman co…
linear hurdle modelsDear statalists I need your help regarding hurdle models, please. Particularly I am interested on 1…
How to find the value of a variable using condition on another variable?Hi Statalist users, I have a dataset of which I am posting a snippet with relevant variables (age, …
Negative values for categorical variable.Hello, I have been using R but started learning STATA recently. To briefly introduce what I have be…
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