Multinomial Logit Choice Model in R with mnlogit() -
I have a question about the R mnlogit package that I ask on stacks overflow because It is related to a specific language and library, although I would not be offended if someone decides to move it to cross-validated (it was a difficult option for which the StackExchange site was most appropriate).
I'm just trying to make sure that I understand how it works, because the documentation is not very wide, I could see some confusing / contradictory blog entries in this package. , And since I work with the model I prefer. >
Example usage The way to mislead me is Instead, this is the logical variable, To try to understand me, I read one on this subject. This really confuses things by repeating the example with a data frame: < Mode Setting: Beach, Ferries, Boat and Charter Price - The price of a mode for personal grip - Fishing rate for one mode for personal income - Personal decision maker's monthly Income - Decision Maker ID < p> This describes If the Oh, okay. I think now that I see - mnlogit is basically as follows:
& gt; Required (mnlogit) & gt; Data (fish) & gt; Head (fish) mode income alt price cat irritation 1.bitch fails 7083.332 between 157.930 0 0.0678 1 1. boat failure 7083.332 boat 157.930 0.2601 1 1. Chatter TRUE 7083.332 charter 182.930 0.5391 1 1.Pear failure 7083.332 PIR 157.930 0.0503 1 2. Beach False 1250.000 Beach 15.114 0.1049 2 2. False False 1250.000 Boat 10.534 0.1574 2 & gt; FM & LT; - formula (mode ~ value | income | hold) & gt; Result>
mode and
alt . I would have thought that the dependent variable would be multiple choice, which appears to be
alt (beach, boat, charter, or ghat).
mode . What is
mode ?
mode as if it is
alt , then
alt . Can anyone explain this to me?
mode actually takes different options values described in R-Blogger's article, then the model
formula (mode ~ is a logical variable) , So I am completely confused.
mode indicates that according to the characteristics of each option set, four possible options were chosen. This is understandable.
Comments
Post a Comment