Page 1 of 1

Specifying impute output file, newbie

Posted: Tue Jun 05, 2012 2:29 am
by gindotampu
Dear all,

I've just started using RealcomImpute with Stata (and without MLwiN). I cannot go beyond [Start MCMC run] because perhaps somehow I cannot figure out how to fill in the file name correctly in the [Impute] Window. In that window I filled in c:\data\impute\test.txt or c:\data\impute\test.dat and then click [Done]. When I then clik [Start MCMC run], the stuck command line shows:
fprintf Invalid file identifier.
Use fopen to generate valid file identifier.
Error in ==> write_master_imp_file at 5.
Error in ==> hginterface at 61.
And so on until:
Error in ==> @(hObject,eventdata)gui_2levmixresp('pushbutton16_RunMCMC_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback

Just in case, I run RealcomImpute or mixed_responses.exe as an administrator to allow it to create the necessary output file in whatever necessary directory. No luck though.

I would I appreciate if your help very much.

Gindo
FYI, Windows Vista, Stata 12, Matlab runtime April 2012.

Re: Specifying impute output file, newbie

Posted: Tue Jun 19, 2012 3:23 pm
by ChrisCharlton
To fill this in correctly you need to press the ... button to the right of the file name text box. You will then be asked to choose a directory where the imputed files will be stored. You will need to make sure that you have the correct user permissions to write to the directory that you select. The file names within this directory will be automatically generated by Realcom-Impute.

Re: Specifying impute output file, newbie

Posted: Wed Jun 20, 2012 1:37 pm
by gindotampu
Thanks Chris,

I should have stick to the manual which says: select the same folder which Stata is currently set to.
Again, many thanks.