Where to download the data used in SAS documentation?

Accepted Solution Solved
Reply
Regular Contributor
Posts: 161
Accepted Solution

Where to download the data used in SAS documentation?

Dear All:

I hope to go through some of the examples in the SAS documentation.  Unfortunately, some of the data, the code says "...more lines...", making it impossible to replicate the results in the documentation.  The same is true for a lot of SAS User Group Papers.  Is there a central place to download all such data so that users can go through the procedure illustrated in the documentation if they want?  For example, I cannot find the data for Example 79.1 Modeling Salaries of Major League Baseball Players on page 6753 of the procedures.  Thank you -


Accepted Solutions
Solution
‎08-15-2013 06:15 PM
Super User
Posts: 17,868

Re: Where to download the data used in SAS documentation?

Check your install.

In mine its at

C:\Program Files\SAS\SASFoundation\9.2\stat\sample

There all the programs from the examples are included.

The one you're looking for is called regex1.sas.

I've attached it as well.

View solution in original post

Attachment

All Replies
Super Contributor
Posts: 307

Re: Where to download the data used in SAS documentation?

I found a few places to look:

Check the SASHELP library.

Data sets for statistical analysis:

http://support.sas.com/learn/statlibrary/statlib_eg4.2/top_data.htm

More datasets will be contained in the links at:

http://support.sas.com/documentation/onlinedoc/code.samples.html

Regular Contributor
Posts: 161

Re: Where to download the data used in SAS documentation?

Thank you for your help, but the download function is deactivated for the first link, and the second link does not contain dataset for those used in the SAS Documentations... 

Super User
Posts: 10,516

Re: Where to download the data used in SAS documentation?

I just tried the first link and successfully downloaded a dataset. You may have run into a temporary problem or have a security policy on your end blocking things.

Super Contributor
Posts: 307

Re: Where to download the data used in SAS documentation?

I was able to download files from the first link.

Regarding the second link, you have to open each link and then look for the dataset. Many (if not, most) of the datasets will be data step statements described in the text at the link location.

Super Contributor
Posts: 307

Re: Where to download the data used in SAS documentation?

p.s. Re: "link deactivated" -- you may need to shift-click to initiate the download, or right-click on the link and select the save option.

Regular Contributor
Posts: 161

Re: Where to download the data used in SAS documentation?

Thank you so much guys!  Smiley Happy

Solution
‎08-15-2013 06:15 PM
Super User
Posts: 17,868

Re: Where to download the data used in SAS documentation?

Check your install.

In mine its at

C:\Program Files\SAS\SASFoundation\9.2\stat\sample

There all the programs from the examples are included.

The one you're looking for is called regex1.sas.

I've attached it as well.

Attachment
Super Contributor
Posts: 307

Re: Where to download the data used in SAS documentation?

Found a couple of other download locations:

http://www.principlesofeconometrics.com/sas.htm

This link has the complete baseball dataset used in example 79.1:

http://www.psych.yorku.ca/lab/psy6140/bb/basedata.htm

SAS Super FREQ
Posts: 3,482

Re: Where to download the data used in SAS documentation?

Regular Contributor
Posts: 161

Re: Where to download the data used in SAS documentation?

Thank you, Rick!  Smiley Happy

This is very helpful!

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 10 replies
  • 503 views
  • 1 like
  • 5 in conversation