Skip to content
Prev 259334 / 398502 Next

maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

Peter said

"Ahem! You might get us interested in your problem, but not to the
level that we are going to install Stata and Tsp and actually dig out
and study the scientific paper you are talking about. Please cite the
results and explain the differences."

Apologies Peter, will do,

The results which I can emulate in Stata but not (yet) in R are reported below.
They come from Econometrica Vol. 50, No. 6 (Nov., 1982), pp. 1569

TABLE II - model 18s

         coef     std err
p10     -0.19     0.078
p11     0.220    0.019
p12     -0.148   0.021
p13     -0.072
p20     0.893    0.072
p21     -0.148
p22     0.050    0.035
p23     0.098

The results which I produced in Stata are reported below.
I spent the last hour rewriting the code to reproduce this - since I
am now at home and not at work :(
My results are "identical" to those published.  The estimates are for
a 3 equation symmetrical singular system.
I have not bothered to report symmetrical results and have backed out
an extra estimate using adding up constraints.
I have also backed out all standard errors using the delta method.

. ereturn display
------------------------------------------------------------------------------
            |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
a            |
         a1 |  -.0188115   .0767759    -0.25   0.806    -.1692895    .1316664
         a2 |   .8926598   .0704068    12.68   0.000     .7546651    1.030655
         a3 |   .1261517   .0590193     2.14   0.033      .010476    .2418275
-------------+----------------------------------------------------------------
g            |
        g11 |   .2199442   .0184075    11.95   0.000      .183866    .2560223
        g12 |  -.1476856   .0211982    -6.97   0.000    -.1892334   -.1061378
        g13 |  -.0722586   .0145154    -4.98   0.000    -.1007082   -.0438089
        g22 |   .0496865   .0348052     1.43   0.153    -.0185305    .1179034
        g23 |   .0979991   .0174397     5.62   0.000     .0638179    .1321803
        g33 |  -.0257405   .0113869    -2.26   0.024    -.0480584   -.0034226
------------------------------------------------------------------------------

In R I cannot get results like this - I think it is probably to do
with my inability at using the optimisers well.
Any pointers would be appreciated.

Peter said "Are we maximizing over the same parameter space? You say
that the estimates from the paper gives a log-likelihood of 54.04, but
the exact solution clocked in at 76.74, which in my book is rather
larger."

I meant +54.04 > -76.74.  It is quite common to get positive
log-likelihoods in these system estimation.

Kind regards,

Alex
On 9 May 2011 19:04, peter dalgaard <pdalgd at gmail.com> 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