看看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.
|