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
Help with interrupted time series margins plotHello all, I am working on graphing yhat of death by month to illustrate the impact of a health car…
discrepancies in estimates between sumdist and pshareHi friends, I have income data for two populations (population id=1 and 2). I have collapsed my dat…
AutocorrelationHi, I checked for serial correlation for my panel using xtserial command. The results show that my …
PPML Fixed EffectsHi, I have a question: Given this gravity model estimated with the PPML estimator with fixed effec…
Poisson regression | time-from-event count dataApologies in advance if this is a daft question from a healthcare professional with little/no experi…
Subscribe to:
Post Comments (Atom)
0 Response to Minimum value of last 3 observations
Post a Comment