Sign In
New User? Register
Statisticians_group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can search the group for older messages.

Messages

  Messages Help
Advanced
regading SAS   Message List  
Reply | Forward Message #1228 of 4070 |

hi,

I have some nominal data in text document. so in that data 'sex'
variable have the values '0' and '1'. '0' indicates male and '1'
inidacates female. so i read the data using 'INFILE' statement and i
converted the ouput to male and female by using PROC FORMAT.And i want
the observations containg 'male' using PROC SQL. How can i do that......


Please help me..........








Wed Apr 5, 2006 6:31 am

battula_rama...
Offline Offline
Send Email Send Email

Forward
Message #1228 of 4070 |
Expand Messages Author Sort by Date

hi, I have some nominal data in text document. so in that data 'sex' variable have the values '0' and '1'. '0' indicates male and '1' inidacates female. so i...
battula_ramakrishna
battula_rama...
Offline Send Email
Apr 5, 2006
6:48 am

hii, try this proc sql; select Sno from libraryname.datasetname where (sex='male'); quit; if this wont work...create one var group using Data...
VINAY KULKARNI
vinaypkulkarni
Offline Send Email
Apr 5, 2006
9:38 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help