全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
5460 2
2015-10-21
大家好!
我用STATA软件在做回归时,经常出现standard error of prediction 和standard error of forecast。这是在做回归假如要画出置信区间,必须要用到的两个指标。例如:
sysuse auto,clear
quietly reg mpg weight
predict yhat
predict stdf,stdf              /*standard error of forecast*/
predict stdp,stdp                /*standard error of prediction*/
我想问stdf,stdp到底有什么差别?主要用于干什么?谢谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2018-10-31 19:38:42
抛砖引玉一下
standard error of prediction standard error of forcast
如上图,左边的是prediction,右边的是forcast。
看资料云里雾里,不太清楚,好像是prediction是ols 最小化标准误后仍然存在的标准误,而forcast则是因为样本替换所产生的误差,即模型是基于已有数据得出,当将该模型应用于新的样本时,得到的预测值与真实值之间的误差。

说的不一定对,请大神继续指教
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2018-10-31 20:30:56
贴一个国外论坛的回答

There is only one difference between these two in time series. Forecasting pertains to out of sample observations, whereas prediction pertains to in sample observations. Predicted values (and by that I mean OLS predicted values) are calculated for observations in the sample used to estimate the regression. However, forecast is made for the some dates beyond the data used to estimate the regression, so the data on the actual value of the forecasted variable are not in the sample used to estimate the regression.

Residuals: Difference between the actual value of Y and its predicted value for observations in the sample.

Forecast error: Difference between future value of Y, which is not contained in the estimation sample, and the forecast of the future value.

Note : This was extracted from Introduction to Econometrics by Stock and Watson (p. 527)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群