SCM

Forum: help

Monitor Forum | Start New Thread Start New Thread
Fixing a parameter in mlogit by MAXLIK [ Reply ]
By: Md Ridwan Bin Alam on 2023-06-01 07:11
[forum:49682]

Capture.JPG (3) downloads
Hello, If I run the code below-

library(mlogit)

data("Fishing", package = "mlogit")

Fish <- mlogit.data(Fishing, varying = c(2:9), shape = "wide", choice = "mode")

m<- mlogit(mode ~ 0| income, data = Fish)

summary(m)

i am getting the output attached as image.

My query is, In the above code, if I want to fix the coefficient of income:charter as zero (making it zero will affect the other coeffcients) as it is not statistically significant, how can I use the maxlik package to obtain the wanted output? I have read the maxlik package manual and did not understand the fixing constraint part.

Thank you.

Thanks to:
Vienna University of Economics and Business Powered By FusionForge