Probit regressions: Newey-West adjustment and pseudo R-squared?

조회 수: 3 (최근 30일)
denden
denden 2014년 2월 24일
답변: andres 2020년 6월 17일
I am performing probit regressions using the glmfit code in conjunction with the probit link.
- Newey-West (1984) adjustment
In linear regressions it is common to adjust the standard errors following the procedure suggested by Newey and West. I have seen several papers on probit regressions that use the Newey-West adjustment and I would like to adjust my model as well.
Do you know how I could do this adjustment in Matlab for my probit model?
- Pseudo R-squared
One of the measures of goodness of fit is a pseudo R-squared as proposed by Estrella (1998).
Estrella R-squared = 1 - [ log L(u) / log L(c) ] ^ [ - (2 / n) * log L(c) ]
where L(u) is the maximized unconstrained log-likelihood value and L(c) the maximized constrained one (the null hypothesis says all coefficients except for the constant are equal to zero).
Theory suggests that the Estrella R-squared should not be negative in in-sample regressions (degrees of freedom etc.). However, I receive negative R-squareds which is why I assume that there might be something wrong with my distribution link and the parameters of this distribution.
I am using the following formula in Matlab (assumption: standard normal distribution):
LLU0 = sum(log(pdf('Normal',yhatU0,0,1))); %log likelihood (unrestricted)
LLR0 = sum(log(pdf('Normal',yhatR0,0,1))); %log likelihood (restricted)
Estrella0 = 1-(LLU0/LLR0)^(-(2/obsx)*LLR0);
Do you have any suggestions how I could fix this problem? How would the code look like in Matlab?
Thank you!

답변 (1개)

andres
andres 2020년 6월 17일
Hi. Did you figure this out finally? I'm dealing with the same situation now.
Thanks in advance!

카테고리

Help CenterFile Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by