Where to find SAS dataset used in User Guide / Documentation

Accepted Solution Solved
Reply
Regular Contributor
Posts: 161
Accepted Solution

Where to find SAS dataset used in User Guide / Documentation

On Page 6753 of Examples: REG Procedure, we have the following incomplete data.  Just wondering where can I find the SAS dataset corresponding to the examples used in the SAS Documentation?  Thank you!


data baseball;

length name $ 18;

length team $ 12;

input name $ 1-18 no_atbat no_hits no_home no_runs no_rbi no_bb yr_major

cr_atbat cr_hits cr_home cr_runs cr_rbi cr_bb league $

division $ team $ position $ no_outs no_assts no_error salary;

logSalary = log10(salary);

label name="Player's Name"

no_hits="Hits in 1986"

no_runs="Runs in 1986"

no_rbi="RBIs in 1986"

no_bb="Walks in 1986"

yr_major="Years in MLB"

cr_hits="Career Hits"

salary="1987 Salary in $ Thousands"

logSalary = "log10(Salary)";

datalines;

Allanson, Andy 293 66 1 30 29 14

1 293 66 1 30 29 14

American East Cleveland C 446 33 20 .

Ashby, Alan 315 81 7 24 38 39

14 3449 835 69 321 414 375

National West Houston C 632 43 10 475

Davis, Alan 479 130 18 66 72 76

3 1624 457 63 224 266 263

American West Seattle 1B 880 82 14 480

Dawson, Andre 496 141 20 65 78 37

11 5628 1575 225 828 838 354

National East Montreal RF 200 11 3 500

Galarraga, Andres 321 87 10 39 42 30

2 396 101 12 48 46 33

National East Montreal 1B 805 40 4 91.5

Griffin, Alfredo 594 169 4 74 51 35

11 4408 1133 19 501 336 194

American West Oakland SS 282 421 25 750

... more lines ...

Wilson, Willie 631 170 9 77 44 31

11 4908 1457 30 775 357 249

American West KansasCity CF 408 4 3 1000

;


Accepted Solutions
Solution
‎08-10-2014 01:10 PM
Grand Advisor
Posts: 17,378

Re: Where to find SAS dataset used in User Guide / Documentation

Blast from the past Smiley Happy

View solution in original post


All Replies
Solution
‎08-10-2014 01:10 PM
Grand Advisor
Posts: 17,378

Re: Where to find SAS dataset used in User Guide / Documentation

Blast from the past Smiley Happy

Regular Contributor
Posts: 161

Re: Where to find SAS dataset used in User Guide / Documentation

Thank you so much.  I was not able to find it myself.  You are good ~~~ Smiley Happy

☑ This topic is SOLVED.

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

Discussion stats
  • 2 replies
  • 175 views
  • 0 likes
  • 2 in conversation