Hi!
Im am trying to create a loop for predicting stock returns on a dataset I have. My supervisor said that if I use "predict yhat", stata wil use the whole timeframe to predict the returns. My question is: Are there a way to create a loop here, so it predicts the return on using the last 24 months continuously. I am using monthly data. Thanks in advance!
Related Posts with Predict syntax
Bar Graph - Highlight Specific BarArray I have generated the above graph using the following code : Code: graph bar, over(region) bl…
composing two different summary statistics tables with one dataset.Hello again, I'm working on a project on which I have to analyse VC-backed ICOs with non-VC-backed …
Generating row identifiers for nested panelsI am using Stata 15.1. I have nested panel in my data. I am struggling to generate panel row ids. Be…
Restriction in imputed results (Multiple Imputation regression)Can anyone help me, how to restrict the imputed results from multiple imputation regression greater …
Average Net Migration RateHi all. Good Morning. This is my first post here, but I have been consulting you, thank you for your…
Subscribe to:
Post Comments (Atom)
0 Response to Predict syntax
Post a Comment