runmlwin error with mlogit model
Posted: Tue Jan 12, 2016 12:12 am
Hi
I am trying to run a fairly simple model that I am struggling to get to converge in STATA using the gsem programme. When I try and run it using runmlwin I get the error message "error while obeying batch file C:\....temp at line number 19: NAME c6 'resp' c7 'resp_indicator' Duplicate column name.
The model code is: runmlwin resp cons, ///
level2(cassr: cons, residuals(u)) ///
level1(id:) ///
discrete(dist(multinomial) link(mlogit) denom(cons) basecategory(1)) ///
nopause
I've tried looking at the solutions to similar posts but I can't find anything that helps. Can you help?
thanks
I am trying to run a fairly simple model that I am struggling to get to converge in STATA using the gsem programme. When I try and run it using runmlwin I get the error message "error while obeying batch file C:\....temp at line number 19: NAME c6 'resp' c7 'resp_indicator' Duplicate column name.
The model code is: runmlwin resp cons, ///
level2(cassr: cons, residuals(u)) ///
level1(id:) ///
discrete(dist(multinomial) link(mlogit) denom(cons) basecategory(1)) ///
nopause
I've tried looking at the solutions to similar posts but I can't find anything that helps. Can you help?
thanks