NeweyWestSE

버전 1.1 (1.76 KB) 작성자: Daniel Nathan
Newey-West standard errors in Matlab

다운로드 수: 1

업데이트 날짜: 2022/3/26

GitHub에서 호스트

GitHub에서 라이선스 보기

NeweyWestSE

Newey-West standard errors in Matlab The main file you want to use is fastnw.m. These are the following inputs: fastnw(Y,x_t,b_int,q,waldlag), where Y is the dependent Tx1 array variable, x_t are the independent variables (TxM), b_int is a scalar you can set to either 0 (no intercept) or 1 (intercept). q sets the number of lags you want to set for the errors. If you don't set it, it would be set automatically. Waldlag is the amount of coefficients you want to test for the Wald test (coefficients begin equal to zero) from the first coefficient to the nth (which is for you to set).

As outputs, you have [b,tstat,adjrsquare,n,resid,pred,wald,pwald,V_T] where b: coefficients, tstat, adjusted R-sqaured, number of obs., Tx1 array of residuals, Tx1 array of explained values, wald test statistic, p-statistic of the Wald test and the var-covar matrix.

인용 양식

Daniel Nathan (2022). NeweyWestSE (https://github.com/dannyboy990/NeweyWestSE/releases/tag/V1.1), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.