Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: forecasts


From   Christopher F Baum <[email protected]>
To   [email protected]
Subject   st: Re: forecasts
Date   Thu, 19 Feb 2004 06:54:29 -0500

On Feb 19, 2004, at 2:33 AM, statalist-digest wrote:

I'm interested in using Stata to forecast data based on a linear
regression, and then calculate standard errors for the resulting
forecasts. If the regression is y = b0 + b1*x + err, then I can
type "regress y x" to estimate the equation, then type "predict
yfore, xb" to get forecast values. I can also type "predict
yforse, stdp", and this, says the online help, calculates the
'standard error of the linear prediction'.
The next line of the online help indicates that -predict yfcse, stdf- generates the standard error of the forecast. Formulas used for both stdp and stdf are in [r] regress.

Kit

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index