Kaz's SAS, HLM, and Rasch Model
RECODING TECHNIQUES
Home
Large National Data Sets
Kaz Library
SAS manuals
What is "error"?
Rasch Model
HLM
SAS PROC NLMIXED and GLIMMIX
Factor Analysis
Reading output via SAS
Excel functions for Statistical Analysis
Essays on learning statistics
Statistics in Japanese
My profile
My SAS questions and SAS's responses
My work tool box

SAS Recoding techniques

Recoding can take place in a  data step (as opposed to PROCs).  For example, the blue part is called RECODING.
 
data new;
set here.datasetA;
X=Y*100;
B=A+4;
C=A+B;
run;

ID
SIMPLE
EFFICIENT
If Statement
If X=0 or X=1 then Y=0;
IF X IN (0, 1) THEN Y = 0;
xx
xx
xx
xx
xx
xx

Add your content here

Add your content here

Add your content here

Enter supporting content here

Copyright 2005 KU
For information inquiry (AT) estat.us