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
Crossed random effects model-error r(3203)I have been running crossed random effects mixed models and the syntax that has always worked before…
Problem with simple regressionHello Everyone, I am sharing an excel file with you. I ran a regression on it but the results are no…
Determining cutoff point after -lsens-Dear all, The accuraccy rate of my prediction model is very high that can be explained by imbalanced…
Mirrored hbar stataDear all, I am looking for a solution to recreate a hbar graph as the one that I attached. So far I…
STJM error BLUP calculation failedHello, I am currently trying to run a joint longitudinal survival model using the stjm command. I a…
Subscribe to:
Post Comments (Atom)
0 Response to A loop to predict a log-model
Post a Comment