BookmarkSubscribeRSS Feed
NoyVoy
Calcite | Level 5
I desperately need your help!! I have a huge dataset of 10+ million patient data entries and I have no idea how to start working with all that data.

The first problem is this: the data is in a SAS7BDAT format. I originally downloaded it off the CD's in a ASCII format, basically. I have no idea how to write a program in the editor that uses the variables/data from this SAS7BDat format. I want to start doing something simple - like, say, calculating the average birth weight of all the patients in the records, before moving on to something bigger.

I'm a total beginner to SAS and would appreciate some help!
2 REPLIES 2
ArtC
Rhodochrosite | Level 12
1) get a copy of "The Little SAS Book" by Slaughter & Delwiche
2) the extension SAS7BDAT is a sas data set. You need to know a bit about it. Let us assume that it has a name like xxxx.sas7bdat
[pre]
libname mydat "pathtoyourdata";
proc contents data=mydat.xxxx;
run;[/pre]
here xxxx is the name of your data set.

PROC CONTENTS will tell you about the data set. Read about variable names and how to use them in the little book.

3) PROC MEANS and PROC SUMMARY will give you a good start on calculations.

4) read about the obs=1000 option to limit data size during testing.
Art
Reeza
Super User
Check this website for help with learning SAS:
http://www.ats.ucla.edu/stat/sas/

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 628 views
  • 0 likes
  • 3 in conversation