The model did not run properly in MLwiN. Re-run the model without the nopause option to debug the model in MLwiN.
Posted: Sun May 14, 2023 3:58 pm
Hi,
I am trying to run a four-level model in Stata using "runmlwin' command. Here is the Stata syntax:
use "D:\refuseData.dta", replace
drop if refuse==. | caste==. | religion==. | v190==. | urban==. | age==. | schooling==. | working==. | media==. | parity==. | living_son==.
sort v024 v001 intrid womenid
global MLwiN_path "C:\Program Files (x86)\MLwiN trial\i386\mlwin.exe"
*Fit a Four-level variance components logit model by PQL2
quietly runmlwin refuse cons i.caste i.religion i.v190 urban age i.schooling working media parity living_son, level4(v024: cons) level3(v001: cons) level2(intrid: cons) level1(womenid:) discrete(distribution(binomial) link(logit) denom(cons) pql2) nopause mlwinsettings(optimat) noversioncheck
* Fit the previous model by MCMC using the PQL2 estimates from the previous model as starting values for MCMC estimation.
runmlwin refuse cons i.caste i.religion i.v190 urban age i.schooling working media parity living_son, level4(v024: cons) level3(v001: cons) level2(intrid: cons) level1(womenid:) discrete(distribution(binomial) link(logit) denom(cons)) mcmc(cc burnin(5000) chain(5000)) initsprevious mlwinsettings(optimat) nopause noversioncheck
I am getting the following response to the model:
The model did not run properly in MLwiN. Re-run the model without the nopause option to debug the model in MLwiN.
But if I remove the 'nopause' option then I don't get results in Stata. Can you please help me out in the matter?
Thank you in advance.
I am trying to run a four-level model in Stata using "runmlwin' command. Here is the Stata syntax:
use "D:\refuseData.dta", replace
drop if refuse==. | caste==. | religion==. | v190==. | urban==. | age==. | schooling==. | working==. | media==. | parity==. | living_son==.
sort v024 v001 intrid womenid
global MLwiN_path "C:\Program Files (x86)\MLwiN trial\i386\mlwin.exe"
*Fit a Four-level variance components logit model by PQL2
quietly runmlwin refuse cons i.caste i.religion i.v190 urban age i.schooling working media parity living_son, level4(v024: cons) level3(v001: cons) level2(intrid: cons) level1(womenid:) discrete(distribution(binomial) link(logit) denom(cons) pql2) nopause mlwinsettings(optimat) noversioncheck
* Fit the previous model by MCMC using the PQL2 estimates from the previous model as starting values for MCMC estimation.
runmlwin refuse cons i.caste i.religion i.v190 urban age i.schooling working media parity living_son, level4(v024: cons) level3(v001: cons) level2(intrid: cons) level1(womenid:) discrete(distribution(binomial) link(logit) denom(cons)) mcmc(cc burnin(5000) chain(5000)) initsprevious mlwinsettings(optimat) nopause noversioncheck
I am getting the following response to the model:
The model did not run properly in MLwiN. Re-run the model without the nopause option to debug the model in MLwiN.
But if I remove the 'nopause' option then I don't get results in Stata. Can you please help me out in the matter?
Thank you in advance.