Skip to content
Prev 310048 / 398503 Next

Ordered probit using clm2

Hi Alice,

A factor is a fairly basic R concept that you can read about in
http://cran.r-project.org/doc/manuals/R-intro.pdf on page 16. Now to
fit the CLM, you need to turn your response variable into a factor
with something like

datareg$Newpercentagecash <- factor(datareg$Newpercentagecash, ordered=TRUE)

after loading your data, but before fitting the model. I recommend
that you take a look at the variable to see that it has the levels
that you expect and that they are ordered appropriately.

And by the way, I recommend that you use clm() rather than clm2() if possible.

Hope this helps,
Rune
On 6 November 2012 23:00, Alice LAMBERTON <alice.lamberton at edhec.com> wrote:

  
    
Message-ID: <CAG_uk90Yun=RBEq+gdN2=4kX22ZAD=F+U9XgVu8f7mNsAuu_Kw@mail.gmail.com>
In-Reply-To: <5C193DF3FE1D064AB6BC5D7A5E334EA5248B32A6@AMSPRD0104MB126.eurprd01.prod.exchangelabs.com>