Dear Statalist,
I want to replicate the results of the Monte Carlo experiments reported in Chang and Lusk (2011) (Chang and Lusk. (2011) Mixed logit models: Accuracy and software choice j. Appl. Econ. 26: 167–172) and I want to generate data with characteristics described in section 4.1 of the paper. In addition to the instruction given in section 4.1, I want to add the following conditions.
(a) I want to assume that the parameters estimates (Item1-Item5 from the attached dataset) are correlated. For this, I believe, I need to specify variance covariance matrix that tells Stata how this variables are correlated.
(b) I want to assume the Price and Item1-Item5 (again referring to the attached dataset) variables are drawn from log normal, Johnson’s Sb, gamma, and triangular distributions.
(c) Price and Item1-Item 5 variables are drawn from more flexible distributions with logit function which shapes is represented by polynomials, splines, steps functions as described by Train’s 2016 paper (Train, K. (2016) Mixed logit with a flexible mixing distribution. The Journal of Choice Modelling 19 (40–53).
I have attached the dataset used by Chang and Lusk (2011). However, I don’t have access to the do file that generate the dataset and I’m not sure how to implement my conditions (a)-(c).
Thank you for any help you can.
Kind Regards
Related Posts with How to generate dataset to test different mixed logit specifications using Monte Carlo experiment
Passing arguments to mata functionsArray why is there two arguments needed in the functions?What does touse stand for?I don't understan…
Estimation of 5-year Cumulative incidence proportions stratified by age, sex and comorbiditiesHi Stata forum, I try to post once more regarding my problem - now hopefully its easier to read my c…
Dark modeHi everyone I have a basic question about lay-out. I really like the dark mode option, but when cho…
Graph with restricted range in y-axis?Dear All, I follow this thread (https://www.statalist.org/forums/for...control-method) and got the f…
Macro indicatorHello, I have a question concerning a macro indicator included in my Random-Effects Modell. I am stu…
Subscribe to:
Post Comments (Atom)
0 Response to How to generate dataset to test different mixed logit specifications using Monte Carlo experiment
Post a Comment