I am using the code from Hole's paper enclosed (estimating mixed logit model using maximum simulated likelihood) to adopt the method from Haan and Uhlendorff (2006) about mlogit with unobserved hetereogeneity. However, unfortunately and sorry for my ignorance I am not able to understand how Hole derives the following formula for the matrix (page 11 and 12) following from the coefficients got after estimating a model with random but uncorrelated intercepts (page 11 and 12):
Matrix b=e(b)
Matrix b= b[1,1..5], 0, b[1,6]
How does she derive these values for the matrix? Sorry but this is very unclear to me, and I know this derives from my ignorance. Im using a different dataset, and I guess that if I understand how she derives these values in the example in her article, I will be able to understand how to adapt it in my article. In my article I get for instance this but I dont understand the meaning:
initial vector: matrix must be dimension 12
r(503);
Many many many thanks
Francesco
Matrix b=e(b)
Matrix b= b[1,1..5], 0, b[1,6]
How does she derive these values for the matrix? Sorry but this is very unclear to me, and I know this derives from my ignorance. Im using a different dataset, and I guess that if I understand how she derives these values in the example in her article, I will be able to understand how to adapt it in my article. In my article I get for instance this but I dont understand the meaning:
initial vector: matrix must be dimension 12
r(503);
Many many many thanks
Francesco
Comment