Hi everyone!
I have a linear relationship between the variables y and x, and I am plotting the line, also forecasting for further values of x (in my data, x takes values from 1 to 20, and I want the values until 100):
twoway lfit y x, range(0 100) predopts(xb)
How can I generate from here a variable with all the predicted values of y when x takes the further new values?
Thanks a lot in advance for your help!
Nicolò
0 Response to Linear predictions
Post a Comment