Page 1 of 1

Error message for categorical variable imputation

Posted: Tue Oct 11, 2011 5:43 pm
by AyaH
Hi.
I have been having a problem to impute some categorical variables. These variables have 4, 10, and 12 categories. Ideally, I would like to use m. as they are not strictly ordered, but could do with o.
The problem is that both o. and m. do not work for all these three variables.
For example, a variable with 4 category having 23 % missingness, and there is no category with having extremely small number of samples. But the REALCOM displayed a message "??? Error while evaluating uicontrol Callback", and did not start iteration process.
Other variables were similar regardless of the number of categories (even did not work when I made one of them into 2 category variable).

If you have encountered similar problems, please help me.

Also, is there any way to use dummy variables to impute by REALCOM?
I tried, but it seemed all dummy variables are independently imputed...

Best wishes,
Ayako

Re: Error message for categorical variable imputation

Posted: Fri Oct 14, 2011 6:49 pm
by Harvey Goldstein
Regarding dummy variables, you must enter a multicategory response as a single variable with categories coded as integers starting at zero.
Harvey Goldstein

Re: Error message for categorical variable imputation

Posted: Sun Oct 16, 2011 12:59 pm
by AyaH
Thank you for the reply.

I am sorry for unclear explanation, previously.
I have been using multicategory variables as response variables. But, as they were never accepted except for 1 ordered categorical variable, I thought of trying to use dummy variables to impute these unaccepted categorical variables. But yes, it was not appropriate and did not work.

I have been still having a trouble to impute ordered and unordered response variables. REALCOM only accepts 1 particular ordered variable, but not others. They starts from 0, all values are integers, and their number of categories are 4, 10, and 12, respectively.

What are wrong with these variables?

Best wishes,
Ayako

Re: Error message for categorical variable imputation

Posted: Sun Oct 16, 2011 2:46 pm
by Harvey Goldstein
If you send me the data you are trying to use with realcom I will look into this

h.goldstein@bristol.ac.uk

Re: Error message for categorical variable imputation

Posted: Wed Feb 22, 2012 3:05 pm
by Jamoo
AyaH wrote: But the REALCOM displayed a message "??? Error while evaluating uicontrol Callback", and did not start iteration process.
Other variables were similar regardless of the number of categories (even did not work when I made one of them into 2 category variable).

If you have encountered similar problems, please help me.
Hi AyaH,

I've had similar errors to this when Realcom was installed on a drive which I didn't have permissions to write to.

Hope this helps,

Jamie

Re: Error message for categorical variable imputation

Posted: Thu Mar 08, 2012 9:45 am
by AyaH
Dear Jamoo

Thank you so much for your posting.

I have updated the REALCOM a few days ago, and it keep giving me this message.
Yes, the drive to which the REALCOM installed might have problem on permission (though I am not entirely sure).
In general, I was advised to used other drive for my daily work.

Thank you so much.
I will see it.

Re: Error message for categorical variable imputation

Posted: Thu Mar 08, 2012 10:42 pm
by AyaH
I have got permission of access to the drive, and I treid even with my laptop (which I would have access to any drives), but the REALCOM keep giving me the below error message.

It is like:

??? ?C? "?f?b?N?X?a?s?n?I????3?d"
?G?%?[ ==> sampleymiss at 77
....(several similar messages)
??? uncontrol Callback ?I?A?s' +?E?G%?[?a" -?

Previously, this error message seemed to have occurred when more than 1 categorical variable were involved, so I reduced the number of categorical variable being imputed to one, and then it worked.
Now, even if I change my model so simple like only 3 continuous variables, but still it does not work.

I do appreciate if somebody give me advice.

Re: Error message for categorical variable imputation

Posted: Fri Mar 09, 2012 2:10 pm
by Jamoo
Dear Ayah,

An updated version of realcom is now downloadable. It might be worth downloading this and checking whether you still get the error as I think a bug was fixed regarding the handling of categorical variables

Best wishes

Jamie

Re: Error message for categorical variable imputation

Posted: Sat Mar 10, 2012 9:05 pm
by AyaH
Dear Jamie

Thank you so much for your suggestion, but I have updated the REALCOM last week, and the error messages are from updated REALCOM.
It might be my silly mistakes, but as far as I see, the syntax I used (and got the error message) was working untill the moment before I update the REALCOM..

Thank you,
AyaH