If you want to convert continuous data into categorical data in SAS, can you just use formats? Or does formats not change the actual variable?
|
closed as not a real question by Andy W, whuber♦ May 10 '12 at 17:55
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
|
How exactly do you want to convert the data? Are you trying to categorize it as @TARehman mentioned? As far as I know, you should only convert your continuous data to categorical data with caution if it's really necessary (e.g. chi-square test). If you are indeed trying to categorize (bin) your continuous variable into categorical variable, a careful preliminary analysis should be conducted because the range and spread may alter and be sensitive to test statistics. Back to your question, as @TARehman mentioned, SAS format function will only change the attribute of the variable. |
|||
|
|