Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

[R] A basic question in model/formula specification

telm8

2010-09-04


Author LoginPost Reply

Hi,

I am currently trying to fit a multinomial logit model on my data. I have
tried to search for some example, and this is the one that I followed and
worked.

http://www.ats.ucla.edu/stat/r/dae/mlogit.htm

However, I am having difficulties finding out the meaning of the model
specified in the following line:

mlogit.model<- mlogit(brand~1|female+age, data = mldata, reflevel="1")

The main issue is the "|". I found out that it means multi-part formula but
I have no idea what it means mathematically in this particular case. Can
anyone enlighten me?

Many thanks



--
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
©2008 r-help.com - Jax Systems, LLC, U.S.A.