not recorded homework2

not recorded homework2

by Christine -
Number of replies: 3

Hi all,

How do you recode age=000 to a blank? i tried filler but it doesn't allow me to put age=000 at the top and then leave the bottom blank. I want to impute, but i can't figure out how to recode this.

Thanks,

Chris

In reply to Christine

Re: Recoding to missing

by Chuck Mcculloch -

Did you try a Filler node with the condition age=0 and then setting the value to "undef" (without the quotes)?  That should fill in an undefined value.

In reply to Chuck Mcculloch

Re: Recoding to missing

by Kevin -

Hi,

When I try having age = 0 as a Condition and then Replace with "undef" (without quotations), I get the error message "Missing operator before 'undef' in expression: 1undef". I'm not sure what the problem is. Maybe that age is a numeric field? Should I do something differently?

Thanks,

Kevin