For the model,
Y= Yt-1+X1t+X2t+X3t+e
I want to create a loop to predict future values such that the predicted value for 2019 will automatically be replaced in the lag variable (Yt-1) in 2020. Can anyone help me to develop this loop?
Related Posts with A loop to predict a log-model
robust standard errors using Mata-based d0 ml evaluator using _robust developers' functionDear Statalist, I have a model fitted using ml using a d0 Mata-based evaluator. Now, I am trying to…
Need help for "mvreg" command for panel data analysisHi statalist forum. I am very new here. I have been studying stata for a couple months for my master…
Help with rounding off in STATAI am new to Stata and I need to create a three-way table. I was trying to export it using "asdoc tab…
Merge while keeping value labels in master and using dataset unchangedHello! I am trying to merge two datasets from a survey which contains household ((HH) level data wi…
Can you make ridgeline plots (aka joyplots) in Stata 16?Hi! I stumbled on this data visualization page https://www.data-to-viz.com/ and realized that ridge…
Subscribe to:
Post Comments (Atom)
0 Response to A loop to predict a log-model
Post a Comment