Skip to content
Prev 139557 / 398506 Next

is this a bug? [was Re: again with polr]

Hello everybody

as I said, i'm not a ordered probit guru, but what happened seems
to me a little strange.

Here I put my dataset

http://bragliozzo.altervista.org/asd.dta

this is the code you can try

# -------------------
library(foreign)
library(MASS)
asd <- read.dta("asd.dta",
                convert.underscore = F)

base.op <- polr(
                as.ordered(lz2_1) ~
                ly +
                lnfiglimin +
                lnfiglimagg +
                lnadulti +
                eta +
                eta2 +
                uomo +
                laurea +
                saluteno +
                extra
                ,
                ##                 weights = w,
                data = asd,
                method = "probit",
                Hess = T
                )

summary(base.op)

# -------------------

The problem is: you can try _any_ combination of the explaining
variables, but when you insert eta2 (eta == age in years, eta2 ==
age^2) you can't do the summary. I don't see why: it's a variable
like others with no strange problems (at least it seems to me to
be so).

If I'm wrong please tell me, otherwise I'll submit a bug report

ok
On 15/03/08 - 10:29, Luca Braglia wrote: