File impvals.txt not found

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
mattyjsmith
Posts: 2
Joined: Sat Aug 05, 2017 4:22 pm

File impvals.txt not found

Post by mattyjsmith »

Dear Realcom user community,

I am having trouble with the Realcom-Impute command in Stata. I am running the following syntax:

realcomImpute o.bistage m.numroute agediag fuyear sex morphology ///
dep dead using crcimpute.dat, replace numresponses(2) ///
level2id(ccggroup) cons(cons)

I receive the following from Stata:

2 responses: o.bistage m.numroute
6 auxiliary variables: agediag fuyear sex morphology dep dead
(note: file crcimpute.dat not found)
Data saved to crcimpute.dat
(note: file crcimpute_wts.dat not found)

I then try the realcomImputeLoad command:

realcomImputeLoad

and I receive the following error message:

file impvals.txt not found
r(601);

I am wondering why I would be getting this error message?
Any help is much appreciated.

Thank you
Matthew
ChrisCharlton
Posts: 1348
Joined: Mon Oct 19, 2009 10:34 am

Re: File impvals.txt not found

Post by ChrisCharlton »

You need to take the files output from the first command (crcimpute.dat and crcimpute_wts.dat) and load them into the Realcom-Impute package (see http://www.bristol.ac.uk/cmm/software/r ... ation.html). Once run this will then create the necessary imputed datasets for the second command. Could you confirm that you are running this middle step?
mattyjsmith
Posts: 2
Joined: Sat Aug 05, 2017 4:22 pm

Re: File impvals.txt not found

Post by mattyjsmith »

Thank you for your repsonse, Chris.

I have not been running this middle step. Are there guided steps to show how to load these files into the Realcom-Impute package?

Kind regards,

Matthew
ChrisCharlton
Posts: 1348
Joined: Mon Oct 19, 2009 10:34 am

Re: File impvals.txt not found

Post by ChrisCharlton »

Yes, the document Goldstein H. (2009) REALCOM-Impute: Multiple Imputation using MLwiN, User Guide, linked to from http://www.bristol.ac.uk/cmm/software/r ... ation.html steps through an example. You just need to ignore the references to MLwiN and use the files as generated from Stata instead.
Post Reply