Robust standard errors on coefficients in a robust linear regression

조회 수: 20 (최근 30일)
I am new in MATLAB and have performed a robust linear regression with the 2 commands:
ds = dataset('XLSFile','C:\...\data.xlsx','ReadObsNames',true);
mdl = LinearModel.fit(ds,'linear','RobustOpts','on');
The standard errors (SE) shown in the property "Coefficients", are these the heteroskedasticity robust standard errors? If not, how can I modify my commands such that I get the robust standard errors?

채택된 답변

Shashank Prasanna
Shashank Prasanna 2013년 7월 30일
The output is robust to outliers and are not heteroskedasticity consistent estimates.
If that is what you are interested in, please check out the HAC command in the Econometrics Toolbox:
  댓글 수: 21
Shashank Prasanna
Shashank Prasanna 2013년 8월 1일
That's a statistics question (along with how to compute tstats and pvalue)
I don't know what your application is but you should get hold of some statistics material to convince yourself before applying anything I mentioned.
If you want to get better with MATLAB, check out the Getting Started guide:
T27667
T27667 2013년 8월 1일
I think those formulas are the correct ones in my case as I perform a backwards elimination of a robust linear regression.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

T27667
T27667 2013년 7월 30일
Yes, I am interested in estimates and standard errors which are both outlier robust AND heteroskedasticity consistent. From the robust regression, I get the outlier robust estimates and outlier robust standard errors, if I understand correctly, right?
In order to get estimates and standard errors which are also heteroskedasticity consistent, I have checked out http://www.mathworks.com/help/econ/hac.html but it says here that: "...returns robust covariance estimates for ordinary least squares (OLS) coefficient estimates". Then I guess that I cannot use this command as I do not have the ordinary least squares (OLS) coefficient estimates but the robust regression estimates (as I have used robust regression). Isn't that true?

카테고리

Help CenterFile Exchange에서 Robust Control Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by