Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello! I ' m very beginner in SAS and need help to load and create data set in program. I ' m working in SAS
Hello! Im very beginner in SAS and need help to load and create data set in program. Im working in SAS OnDemand for Academics. So I have big file in xls and in cvs formats, loaded in my SAS files folder. So my codes
Reading data in;
Proc import datafile homeXXXXXXXXXXcsv
outmydata dbmscsv replace;
getnamesno;
run;
print the data to the screen to see if they are okay;
proc print data mydata;
run;
and what I got :
SAS Studio
SAS Programmer
Sign Out
Server Files and Folders
Tasks and Utilities
Snippets
Libraries
My Libraries
File Shortcuts
CODE LOG RESULTS OUTPUT DATA
Table: WORK.MYDATA grad View: Column names grad S Filter: none
tableColumnsTotal rows: Total columns: Rows table
now I need to create new data set by sorting only specific states and variables.
Could you help me with codes and how to save my new data set?
Thank you!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started