[R] Modeling problem with Multinomial Logit

Werner Wernersen pensterfuzzer at yahoo.de
Sun Dec 10 18:56:29 CET 2006


Hi,

I have a problem modeling a multinomial regression.
This is the tentative function:
multinom(resp ~ age + sex + ... +
I(log(wage)),data=work)

resp is a factor with 4 levels.
My problem is that the variable wage should only go
into the equation for 
certain levels of resp and should be zero for the
others.

I would be very grateful if somebody could tell me how
I can model this in R.

Thanks a million,
   Werner




More information about the R-help mailing list