Skip to content
Prev 259364 / 398502 Next

maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

Hmm, I tried replacing the x's in the model with their principal component scores, and suddenly everything converges as a greased lightning:
+ x1=Z$a, x2=Z$b, x3=Z$c, method="BFGS")
                                                                                                par
1 0.59107682, 0.01043568, -0.20639153, 0.25902746, 0.24675162, -0.01426477, 0.18045177, -0.23657327
    fvalues method fns grs itns conv KKT1 KKT2 xtimes
1 -76.73878   BFGS 157  37 NULL    0 TRUE TRUE  0.055
Warning messages:
1: In max(logpar) : no non-missing arguments to max; returning -Inf
2: In min(logpar) : no non-missing arguments to min; returning Inf

The likelihood appears to be spot on, but, obviously, the parameter estimates need to be back-transformed to the original x1,x2,x3 system. I'll leave that as the proverbial "exercise for the reader"...

However, the whole thing leads me to a suspicion that maybe our numerical gradients are misbehaving in cases with high local collinearity?

-pd
On May 9, 2011, at 13:40 , Alex Olssen wrote:

            

  
    

Thread (20 messages)

Alex Olssen maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 6 Peter Dalgaard maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 7 Ravi Varadhan maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 7 Peter Dalgaard maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 7 Alex Olssen maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 8 Peter Dalgaard maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 9 Martyn Byng Summarising by group May 9 Peter Dalgaard Summarising by group May 9 Alex Olssen maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 9 Mike Marchywka maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 9 Alex Olssen maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 9 Peter Dalgaard maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 9 Peter Dalgaard maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 9 Ista Zahn Summarising by group May 9 Alex Olssen maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 9 Berend Hasselman maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 10 Mike Marchywka maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 12 Ravi Varadhan maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 21 Mike Marchywka maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 21 Mike Marchywka maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata May 22