全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2571 5
2014-11-20
大神们,我在计算CAR的时候,需要从1500个回归结果中提取各个的残差标准差,弱弱的问一下:
1. 为什么仅仅只有两个变量 a, b,分别有25个obs。

如果用 regress a b, 之后,用predict stdr, stdr

为什么stdr会产生25个数据呢。 但我仅仅只有一组residua from 回归 regress a b
二维码

扫码加我 拉你入群

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

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

全部回复
2014-11-20 16:42:42
求大神解救
二维码

扫码加我 拉你入群

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

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

2014-11-20 23:39:48
lfyxqywb 发表于 2014-11-20 16:42
求大神解救
不是很清楚你的意思,25个obs 是样本个数,模型估计结果根据被解释变量与解释变量的差构造出每个obs的residual,这个是没有问题的呀~
二维码

扫码加我 拉你入群

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

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

2014-11-21 10:49:52
crystal8832 发表于 2014-11-20 23:39
不是很清楚你的意思,25个obs 是样本个数,模型估计结果根据被解释变量与解释变量的差构造出每个obs的res ...
但是stdr不是标准差吗? 我的理解是 : 一组数产生一个标准差, 但我一组25个的residual却产生了 25 STDR , 搞不懂为什么 。
二维码

扫码加我 拉你入群

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

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

2014-11-21 10:54:57
lfyxqywb 发表于 2014-11-21 10:49
但是stdr不是标准差吗? 我的理解是 : 一组数产生一个标准差, 但我一组25个的residual却产生了 25 STDR ...
stdp calculates the standard error of the linear prediction.  Here the prediction means the
        same thing as the "index", namely, xb.  The statistic produced by stdp can be thought of
        as the standard error of the predicted expected value, or mean index, for the
        observation's covariate pattern.  The standard error of the prediction is also commonly
        referred to as the standard error of the fitted value. The calculation can be made in or
        out of sample.
二维码

扫码加我 拉你入群

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

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

2014-11-21 14:43:18
您好 ,恕我愚钝。 我还是没有懂,为什么会产生这么个standard eror值,只有一组reisudal的情况下. STATA是怎么计算的呢?
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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