[R] Error “system is exactly singular: U[6,6] = 0” when doing nested logit using mlogit package in R

2015-07-27 Thread Dera
have a problem about doing nested logit using mlogit package in R. We did a survey about asking people to choose from different insurance policies. To be specific, respondents were asked “Would you buy Policy A, Policy B, or neither?" (Each choice is defined by the deductible and premium associat

[R] “Error in if (abs(x - oldx) < ftol)” when using “lognormal” distribution in mixed logit

2015-07-23 Thread Dera
Hi, I have a question about how to use the mlogit package in R to do analysis of discrete choice survey data. Our survey is about asking people to choose from different insurance policies(with two attributes of deductible and premium). The code I used to fit mixed logit is: [1] ml <- mlogit.data