全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2184 0
2013-12-26

有时候,我们想检验异方差,有很多方法,但比较常用BP检验,可是BP有时会失效,为什么失效,看看Wooldridge的第三版的283页或者第四版的276页。这时候,需要用的mss检验,就是Machado-Santos Silva 的缩写。

更为重要的是,我们想检验quantile回归的异方差问题,就必须用mss啦。quantile先按住不表,以后续上。


【命令格式】

Title
       mss --  Heteroskedasticity test for quantile or OLS regressions
Syntax        mss [,varlist]    mss allows fweights; see weight.Description    mss computes the Machado-Santos Silva (2000) test for    heteroskedasticity. This test is valid after quantile regression    estimation and by default the test variables are the fitted values of    the dependent variable and its squares as in the "Special case of the    White test"; see Wooldridge (2009, p. 276). Alternative sets of test    variables can be specified with varlist. The test is also valid after    OLS regressions (see Im, 2000, and Machado and Santos Silva, 2000).

【例子】

  Setup        . sysuse auto
    MSS test after median regression        . qreg price weight length foreign        . mss
    MSS test after 0.25 quantile regression using the regressors as test    variables        . qreg price weight length foreign, quantile(.25)        . mss weight length foreign
    MSS test after OLS regression        . reg price weight length foreign        . mss


二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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