Problem with savechains(filename , replace)
Posted: Thu Jun 13, 2019 4:49 pm
I hope you can help me with the following problem.
Using the Stata version of runmlwin, I am fitting a 2-level model using
mcmc where I would like to save the chains of the parameter estimates. My
runmlwin code is
runmlwin pdiff_px constant, ///
level2(surgeonid: constant) ///
level1(level1id: constant) ///
nopause initsprevious ///
mcmc(on savechains(chain_pdiffpx_SE, replace))
The model is estimated but then it crashes just before it can return the results
to the screen. The error is "file chain_pdiffpx_SE.dta not found
r(601);". The same error occurs if I omit the suboption replace.
I am using Stata version 15.1, *! runmlwin.ado, George Leckie and Chris
Charlton, 09Feb2018.
Thank you for your time.
Using the Stata version of runmlwin, I am fitting a 2-level model using
mcmc where I would like to save the chains of the parameter estimates. My
runmlwin code is
runmlwin pdiff_px constant, ///
level2(surgeonid: constant) ///
level1(level1id: constant) ///
nopause initsprevious ///
mcmc(on savechains(chain_pdiffpx_SE, replace))
The model is estimated but then it crashes just before it can return the results
to the screen. The error is "file chain_pdiffpx_SE.dta not found
r(601);". The same error occurs if I omit the suboption replace.
I am using Stata version 15.1, *! runmlwin.ado, George Leckie and Chris
Charlton, 09Feb2018.
Thank you for your time.