Hello, I have a categorical variable, labelled 0-9. I need to delete certain values so I can run a CHISQ. This is what I'm trying, but with no luck: DATA mn.lahrt; *my dataset* SET IHD_DX; *the variable name* IF IHD_DX = 0 THEN delete; IF IHD_DX = 8 and 9 Then delete; RUN; I need to keep categories 1-7 only (which are further split in only two categories). Any suggestions?
... View more