Dear Statalist,
I am using "lclogit2" and "bayesmixedlogit" to analyze data from a choice experiment using the following model:
Code:
1. lclogit2: lclogit2 choice, rand(per tax sup audit fee type_obl type_vol contr_assoc contr_conglo contr_muni) id(pid) group(gid) ncl(4) 2. bayesmixedlogit: bayesmixedlogit choice, rand(per tax sup audit fee type_obl type_vol contr_assoc contr_conglo contr_muni) group(gid) id(pid) draws(2000) burn(1000) thin(5) arater(.4) saving(bml_draws) replace
And I had the following error messages :
1. lclogit2: . lclogit2 choice, rand(per tax sup audit fee type_obl type_vol contr_assoc contr_con > glo contr_muni) id(pid) group(gid) ncl(4) Iteration 0: log likelihood = -1436.1431 weights must be the same for all observations in a group r(407); 2. bayesmixedlogit: . bayesmixedlogit choice, rand(per tax sup audit fee type_obl type_vol contr_assoc co > ntr_conglo contr_muni) group(gid) id(pid) draws(2000) burn(1000) thin(5) arater(.4) > saving(bml_draws) replace initialize_rand(): 3499 amcmc_init() not found <istmt>: - function returned error r(3499); Thanks for your help!
I am using "lclogit2" and "bayesmixedlogit" to analyze data from a choice experiment using the following model:
Code:
1. lclogit2: lclogit2 choice, rand(per tax sup audit fee type_obl type_vol contr_assoc contr_conglo contr_muni) id(pid) group(gid) ncl(4) 2. bayesmixedlogit: bayesmixedlogit choice, rand(per tax sup audit fee type_obl type_vol contr_assoc contr_conglo contr_muni) group(gid) id(pid) draws(2000) burn(1000) thin(5) arater(.4) saving(bml_draws) replace
And I had the following error messages :
1. lclogit2: . lclogit2 choice, rand(per tax sup audit fee type_obl type_vol contr_assoc contr_con > glo contr_muni) id(pid) group(gid) ncl(4) Iteration 0: log likelihood = -1436.1431 weights must be the same for all observations in a group r(407); 2. bayesmixedlogit: . bayesmixedlogit choice, rand(per tax sup audit fee type_obl type_vol contr_assoc co > ntr_conglo contr_muni) group(gid) id(pid) draws(2000) burn(1000) thin(5) arater(.4) > saving(bml_draws) replace initialize_rand(): 3499 amcmc_init() not found <istmt>: - function returned error r(3499); Thanks for your help!
Comment