全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
4656 2
2013-07-06

其可以报告预测值,即predict只有xb选项。

是否可以利用预测值,再比较其与真实值的差,进而得到残差值?

是否会有问题?如果通过简单的操作可以实现,xtreg& fe为何不加载(residual)这个选项?

二维码

扫码加我 拉你入群

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

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

全部回复
2013-7-6 09:31:57
你为什么自己都不看help或者手册呢?这些问题,最应该问stata公司的编程的人。
为什么要用residual呢

  
Menu

    Statistics > Postestimation > Predictions, residuals, etc.


Options for predict

        +------+
    ----+ Main +------------------------------------------------------------------------------------

    xb calculates the linear prediction, that is, a + bx_it.  This is the default for all except the
        population-averaged model.

    stdp calculates the standard error of the linear prediction.  For the fixed-effects model, this
        excludes the variance due to uncertainty about the estimate of u_i.

    mu and rate both calculate the predicted probability of depvar.  mu takes into account the
        offset(), and rate ignores those adjustments.  mu and rate are equivalent if you did not
        specify offset().  mu is the default for the population-averaged model.

    ue calculates the prediction of u_it + e_it.

    xbu calculates the prediction of a + bx_it + u_i, the prediction including the fixed or random
        component.

    u calculates the prediction of u_i, the estimated fixed or random effect.

    e calculates the prediction of e_it.

    score calculates the equation-level score.

    nooffset is relevant only if you specified offset(varname) for xtreg.  It modifies the
        calculations made by predict so that they ignore the offset variable; the linear prediction
        is treated as xb rather than xb + offset.


二维码

扫码加我 拉你入群

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

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

2013-7-6 10:39:50
thanks.
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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