全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2067 3
2017-11-25
在stata里怎么用Cochrane-Orcutt迭代法估计一阶自相关系数和得到的估计值进行广义差分变换,然后把改变了的模型保存下来?
二维码

扫码加我 拉你入群

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

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

全部回复
2017-11-25 15:20:16
求助!
二维码

扫码加我 拉你入群

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

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

2017-11-25 16:49:13
求大神指点一波
二维码

扫码加我 拉你入群

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

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

2017-11-25 19:41:48
看看prais命令的帮助或manual里面详细介绍吧




Title

    [TS] prais -- Prais-Winsten and Cochrane-Orcutt regression


Syntax

        prais depvar [indepvars] [if] [in] [, options]


    options               Description
    ----------------------------------------------------------------------
    Model
      rhotype(regress)    base rho on single-lag OLS of residuals; the
                            default
      rhotype(freg)       base rho on single-lead OLS of residuals
      rhotype(tscorr)     base rho on autocorrelation of residuals
      rhotype(dw)         base rho on autocorrelation based on
                            Durbin-Watson
      rhotype(theil)      base rho on adjusted autocorrelation
      rhotype(nagar)      base rho on adjusted Durbin-Watson
      corc                use Cochrane-Orcutt transformation
      ssesearch           search for rho that minimizes SSE
      twostep             stop after the first iteration
      noconstant          suppress constant term
      hascons             has user-defined constant
      savespace           conserve memory during estimation

    SE/Robust
      vce(vcetype)        vcetype may be ols, robust, cluster clustvar,
                            hc2, or hc3

    Reporting
      level(#)            set confidence level; default is level(95)
      nodw                do not report the Durbin-Watson statistic
      display_options     control column formats, row spacing, line width,
                            display of omitted variables and base and
                            empty cells, and factor-variable labeling

    Optimization
      optimize_options    control the optimization process; seldom used

      coeflegend          display legend instead of statistics
    ----------------------------------------------------------------------
    You must tsset your data before using prais; see [TS] tsset.
    indepvars may contain factor variables; see fvvarlist.
    depvar and indepvars may contain time-series operators; see tsvarlist.
    by, fp, rolling, and statsby are allowed; see prefix.
    coeflegend does not appear in the dialog box.
    See [TS] prais postestimation for features available after estimation.


Menu

    Statistics > Time series > Prais-Winsten regression


Description

    prais uses the generalized least-squares method to estimate the
    parameters in a linear regression model in which the errors are
    serially correlated.  Specifically, the errors are assumed to follow a
    first-order autoregressive process.

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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