search for: mformula

Displaying 4 results from an estimated 4 matches for "mformula".

Did you mean: formula
2011 Nov 29
0
Single Variable mlogit formatting
...sically, I have a list 3x as long as my initial data list, that holds values for all possible outcomes and whether or not they occurred. I'm hesitant to ask additional questions until I've played around with mlogit once my data is in the proper format, but if anyone has suggestions for the mFormula that I should be using, that would be much appreciated. -- View this message in context: http://r.789695.n4.nabble.com/Single-Variable-mlogit-formatting-tp4121139p4121139.html Sent from the R help mailing list archive at Nabble.com.
2012 May 29
0
mlogit package inquiry
...then convert it by mlogit.data method by specifying chld.var="observe" mdata <- mlogit.data(data,choice="outcome",shape="long",chid.var="observe") ? Am I right? and then I could use mlogit to fit my model. ? Furthermore, I am also quite puzzled with the mFormula and the probit boolean flag, am I correct to use fit <- mlogit(outcome ~ V1 + V2 + V3 + V4,data=mydata) ? and then compute my probability estimate from the?coefficients??What are the difference if I put variable between the?separator?| ?? ? Thank you very much. Best regards, WONG Hang.
2011 Nov 02
0
Calling str() on mlogit object gives warnings
.... ..$ id : Factor w/ 235 levels "1","2","3","4",..: 1 1 1 1 1 1 1 1 1 1 ... $ freq : 'table' int [1:2(1d)] 1474 1455 ..- attr(*, "dimnames")=List of 1 .. ..$ : chr [1:2] "1" "2" $ formula :Classes 'mFormula', 'Formula', 'formula' length 3 choice ~ price + time + change + comfort | -1 .. ..- attr(*, ".Environment")=<environment: R_GlobalEnv> .. ..- attr(*, "lhs")=List of 1 .. .. ..$ : symbol choice .. ..- attr(*, "rhs")=List of 2 .. .. ....
2011 Apr 10
2
Multinomial Logit Model with lots of Dummy Variables
Hi All, I am attempting to build a Multinomial Logit model with dummy variables of the following form: Dependent Variable : 0-8 Discrete Choices Dummy Variable 1: 965 dummy varsghpow at student.monash.edu.augh@gp1.com Dummy Variable 2: 805 dummy vars The data set I am using has the dummy columns pre-created, so it's a table of 72,381 rows and 1770 columns. The first 965 columns represent