| Date: | Thu, 3 Oct 2002 11:18:44 -0600 |
| Reply-To: | William Kossack <kossackw@NJC.ORG> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | William Kossack <kossackw@NJC.ORG> |
| Organization: | Posted via Supernews, http://www.supernews.com |
| Subject: | using formats to recode data |
| Content-Type: | text/plain; charset=us-ascii |
I'm a little rusty but I have data that I'm currently recoding with
if Days = '<2 times/month' then Days_group = 1;
if Days = '2 or less times/week' or DaysWithSymptoms = '<2 times/week'
then Days_group = 2;
if Days = '3-6 weeks' or Days = '3-6/week'
then Days_group = 3;
etc
How do I use formats to correctly label the new values so I produce proc
freq tables and charts
that are correctly labeled?
|