全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
10070 5
2005-12-14

stata为何做回归时不能给出拟合值和dw

很多eviews做回归时的指标,stata的回归结果里都没有,这是怎么回事?

是需要别的命令么?

感觉作面板时,结果也和eviews不一样

stata8.0升级后反而出现很多毛病,回归及此后既然便量会丢失,9.0还没发现问题

二维码

扫码加我 拉你入群

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

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

全部回复
2005-12-15 06:03:00

Stata9.0

estat dwatson

Examples

. use http://www.stata-press.com/data/r9/klein . tsset yr . regress consump wagegovt . estat dwatson . estat durbinalt, small . regress consump wagegovt L.consump L2.consump . estat durbinalt, small lags(1/2) . estat bgodfrey, small lags(1/2)

. regress consump wagegovt . estat archlm, lags(1 2 3)

Stata 8.0中可以不加estat

二维码

扫码加我 拉你入群

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

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

2005-12-15 11:11:00

xiexie

谢谢

二维码

扫码加我 拉你入群

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

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

2006-9-19 22:37:00

Stata help for regress postestimationts

help regress postestimation ts dialog: estat also see: regress regress postestimation -------------------------------------------------------------------------------

Title

[R] regress postestimation time series -- Postestimation tools for regress with time series

Description

The following postestimation commands for time series are available after regress:

command description ------------------------------------------------------------------------- estat archlm test for ARCH effects in the residuals estat bgodfrey Breusch-Godfrey test for higher-order serial correlation estat durbinalt Durbin's alternative test for serial correlation estat dwatson Durbin-Watson d statistic to test for first-order serial correlation -------------------------------------------------------------------------

Special-interest postestimation commands

These commands provide regression diagnostic tools specific to time series. You must tsset your data before using these commands.

estat archlm tests for time-dependent volatility. estat dwatson, estat durbinalt, and estat bgodfrey test for serial correlation in the residuals of a linear regression. For non-time-series regression diagnostic tools, see regress postestimation.

estat archlm performs Engle's LM test for the presence of autoregressive conditional heteroskedasticity.

estat bgodfrey performs the Breusch-Godfrey test for higher-order serial correlation in the disturbance. This test does not require that all the regressors be strictly exogenous.

estat durbinalt performs Durbin's alternative test for serial correlation in the disturbance. This test does not require that all the regressors be strictly exogenous.

estat dwatson computes the Durbin-Watson d statistic to test for first-order serial correlation in the disturbance when all the regressors are strictly exogenous.

Syntax for estat archlm

estat archlm [, archlm_options]

archlm_options description ------------------------------------------------------------------------- lags(numlist) test numlist lag order force allow test after regress, robust -------------------------------------------------------------------------

Options for estat archlm

lags(numlist) specifies a list of numbers, indicating the lag orders to be tested. The test will be performed separately for each order. The default is order one.

force allows the test to be run after regress, robust. The command will not work if the cluster option is specified with regress.

Syntax for estat bgodfrey

estat bgodfrey [, bgodfrey_options]

bgodfrey_options description ------------------------------------------------------------------------- lags(numlist) test numlist lag orders nomiss0 do not use Davidson and MacKinnon's approach small obtain p-values using F for t distribution -------------------------------------------------------------------------

Options for estat bgodfrey

lags(numlist) specifies a list of numbers, indicating the lag orders to be tested. The test will be performed separately for each order. The default is order one.

nomiss0 specifies that Davidson and MacKinnon's approach, which replaces the missing values in the initial observations on the lagged residuals in the auxiliary regression with zeros, not be used.

small specifies that the p-values of the test statistics be obtained using the F or t distribution instead of the default chi-squared or normal distribution. This option may not be specified with robust, which always uses an F or t distribution.

Syntax for estat durbinalt

estat durbinalt [, durbinalt_options]

durbinalt_options description ------------------------------------------------------------------------- lags(numlist) test numlist lag orders nomiss0 do not use Davidson and MacKinnon's approach robust compute standard errors using the robust/sandwich estimator small obtain p-values using the F or t distribution force allow test after regress, robust or newey -------------------------------------------------------------------------

Options for estat durbinalt

lags(numlist) specifies a list of numbers, indicating the lag orders to be tested. The test will be performed separately for each order. The default is order one.

nomiss0 specifies that Davidson and MacKinnon's approach, which replaces the missing values in the initial observations on the lagged residuals in the auxiliary regression with zeros, not be used.

robust specifies that the Huber/White/sandwich robust estimator for the variance-covariance matrix be used in Durbin's alternative test.

small specifies that the p-values of the test statistics be obtained using the F or t distribution instead of the default chi-squared or normal distribution. This option may not be specified with robust, which always uses an F or t distribution.

force allows the test to be run after regress, robust and after newey. The command will not work if the cluster option is specified with regress.

Syntax for estat dwatson

estat dwatson

Examples

. use http://www.stata-press.com/data/r9/klein . tsset yr . regress consump wagegovt . estat dwatson . estat durbinalt, small . regress consump wagegovt L.consump L2.consump . estat durbinalt, small lags(1/2) . estat bgodfrey, small lags(1/2)

. regress consump wagegovt . estat archlm, lags(1 2 3)

Also see

Manual: [R] regress postestimation time series

Online: regress, regress postestimation; tsset

二维码

扫码加我 拉你入群

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

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

2012-7-24 18:24:04
estat dwatson
该命令是针对时间序列回归的还是面板数据的?为什么我在面板数据回归结束后,使用该命令显示是无效的?有人帮助下吗?谢谢
二维码

扫码加我 拉你入群

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

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

2014-3-23 21:01:56
求同  横截面
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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