Daniel posted on Wednesday, March 23, 2005 - 12:19 pm
Hi, I'm trying to run the following model, but I'm getting an error message that I do not understand. For sake of parsimony, I only present code for 9th grade. Can you please provide some assistance?
My code, excluding the data statement and list of variables. missing is .; idvariable is id; usevariables=smoker9-smoker12 u9-u12 y9-y12; categorical are smoker9-smoker12; define: u9=1; if (smoker9 eq 0) then u9=0; if (smoker9 eq .) then u9=.; y9=smoker9; if (smoker9 eq 0) then y9=.; analysis: type=basic;