Greetings,
I am very new in the world of STATA.
Today I am working on a dataset within STATA where I need to generate a new variable, this new variable based on a formula calculated using other variables from the same dataset.
For clarity I have posted a pic of both how the data looks like both in STATA and EXCEL.
In the new variable 'min_last_3', the minimum value for the 3 previous ratings for that horse will be calculated
Thank you
Hans
Related Posts with Minimum value of last 3 observations
Dropping elements from local created with levelsofIs there a way to iterate through elements of the local created by levelsof and remove those element…
Discrepancy between the significance of risk ratio and Chi-squareI got a non-significant RR but highly significant chi-square, how can I interpret the data in this c…
What's the nonlinear equation for nonlinear mixed effect model in case of biological measurements such as biomarker and echocardiography?I'd like to ask if I'm running a nonlinear mixed effect model for repeated measures of biomarker or …
do standard errors in -margins- after -meglm- account for the (EB) random effect variance?I am working with a meglm model, and need to produce margins out of it. Based on the [ME] meglm post…
Average Marginal effects for a multilevel modelHi, Please, I wanted to know the appropriateness of deriving marginal effects from a multilevel mod…
Subscribe to:
Post Comments (Atom)
0 Response to Minimum value of last 3 observations
Post a Comment