Hi,
I am using the gmnl Stata command to estimate a generalised multinational model with random parameters in willingness to pay space:
Fitting the Generalized Multinomial Logit Model in Stata - Yuanyuan Gu, Arne Risa Hole, Stephanie Knox, 2013 (sagepub.com)
I would like to run a Poe test of the distribution of the price coefficient as in:
Computational Methods for Measuring the Difference of Empirical Distributions - Poe - 2005 - American Journal of Agricultural Economics - Wiley Online Library
I do not have any problem to do this for all the other random coefficients of the model. However, I am not sure about the distribution of the price coefficient. Below, the model I estimated and the distributions generated (start matrix of initial values omitted):
constraint 1 [Mean]mprice = 1
gmnl choice mprice, rand(x1 x2t) group(cs) id(id) het(const) constraint(1) gamma(0) from(start, copy) nrep(500)
matrix b = e(b)
matrix V = e(V)
drawnorm mprice mean_x1 mean_x2 het sd_x1 sd_x2 tau, mean(b) cov(V) n(1000) seed(183831)
The variable 'mprice' in the line above is just an expedient to match the structure of e(b) and e(V) since just a column of 1 is generated. Given that there is a constant of normalisation set to -0.5*tau^2 as explained in slides 5 and 6 here:
DCMD.pdf (sheffield.ac.uk)
I am wondering if the corresponding distribution of the price coefficient is just -exp (-0.5*tau^2 +theta*Z) or just -exp(theta*Z).
Any help would be greatly appreciated.
Simone
I am using the gmnl Stata command to estimate a generalised multinational model with random parameters in willingness to pay space:
Fitting the Generalized Multinomial Logit Model in Stata - Yuanyuan Gu, Arne Risa Hole, Stephanie Knox, 2013 (sagepub.com)
I would like to run a Poe test of the distribution of the price coefficient as in:
Computational Methods for Measuring the Difference of Empirical Distributions - Poe - 2005 - American Journal of Agricultural Economics - Wiley Online Library
I do not have any problem to do this for all the other random coefficients of the model. However, I am not sure about the distribution of the price coefficient. Below, the model I estimated and the distributions generated (start matrix of initial values omitted):
constraint 1 [Mean]mprice = 1
gmnl choice mprice, rand(x1 x2t) group(cs) id(id) het(const) constraint(1) gamma(0) from(start, copy) nrep(500)
matrix b = e(b)
matrix V = e(V)
drawnorm mprice mean_x1 mean_x2 het sd_x1 sd_x2 tau, mean(b) cov(V) n(1000) seed(183831)
The variable 'mprice' in the line above is just an expedient to match the structure of e(b) and e(V) since just a column of 1 is generated. Given that there is a constant of normalisation set to -0.5*tau^2 as explained in slides 5 and 6 here:
DCMD.pdf (sheffield.ac.uk)
I am wondering if the corresponding distribution of the price coefficient is just -exp (-0.5*tau^2 +theta*Z) or just -exp(theta*Z).
Any help would be greatly appreciated.
Simone
Comment