Specifying impute output file, newbie

Welcome to the forum for REALCOM users. Feel free to post your question about REALCOM here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Go REALCOM (Developing multilevel models for REAListically COMplex social science data) >> http://www.bristol.ac.uk/cmm/software/realcom/
Post Reply
gindotampu
Posts: 7
Joined: Tue Jun 05, 2012 1:55 am

Specifying impute output file, newbie

Post 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.
ChrisCharlton
Posts: 1353
Joined: Mon Oct 19, 2009 10:34 am

Re: Specifying impute output file, newbie

Post 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.
gindotampu
Posts: 7
Joined: Tue Jun 05, 2012 1:55 am

Re: Specifying impute output file, newbie

Post 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.
Post Reply