Re: [R] Ordered probit using clm2

2012-11-06 Thread Rune Haubo
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, orde

[R] Ordered probit using clm2

2012-11-06 Thread Alice LAMBERTON
Hi, I am new in R. I would like to do a ordered probit regression using clm2 (in the ordinal package). My dependent variable y is the way of payment in M&A: y=0 if the deal is financed by stock only, y=1 if the deal is financed by a mix of cash and stock and y=2 if it is by cash only. My indepe