100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
SAS Manual For Introduction to the Practice of Statistics $12.99   Add to cart

Exam (elaborations)

SAS Manual For Introduction to the Practice of Statistics

 6 views  0 purchase
  • Course
  • SAS Manual For Introduction to the Practice
  • Institution
  • SAS Manual For Introduction To The Practice

SAS Manual For Introduction to the Practice of Statistics Third Edition

Preview 4 out of 263  pages

  • August 14, 2024
  • 263
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • SAS Manual For Introduction to the Practice
  • SAS Manual For Introduction to the Practice
avatar-seller
solver
SAS Manual For
Introduction to
the Practice of Statistics
Third Edition

Michael Evans
University of Toronto

,ii

,Contents

Preface ix


I SAS Language 1
1 Overview and Conventions . . . . . . . . . . . . . . . . . . . . . 3
2 Accessing and Exiting SAS . . . . . . . . . . . . . . . . . . . . 4
3 Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4 SAS Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
5 Data Step . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.1 Form and Behavior of a Data Step . . . . . . . . . . . . 14
5.1 SAS Constants, Variables, and Expressions . . . . . . . . 15
5.3 Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.4 Output . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.5 Control Statements . . . . . . . . . . . . . . . . . . . . . 32
6 SAS Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.1 PROC PRINT . . . . . . . . . . . . . . . . . . . . . . . 37
6.2 PROC SORT . . . . . . . . . . . . . . . . . . . . . . . . 38
7 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41


II SAS Procedures for Data Analysis 43

1 Looking at Data: Distributions 45
1.1 Tabulating and Summarizing Data . . . . . . . . . . . . . . . 46
1.1.1 PROC FREQ . . . . . . . . . . . . . . . . . . . . . . . 46
1.1.2 Calculating the Empirical Distribution Function . . . . 49
1.1.3 PROC MEANS . . . . . . . . . . . . . . . . . . . . . . 50

iii

, iv CONTENTS

1.1.4 PROC UNIVARIATE . . . . . . . . . . . . . . . . . . 56
1.2 Graphing Data . . . . . . . . . . . . . . . . . . . . . . . . . . 60
1.2.1 PROC CHART . . . . . . . . . . . . . . . . . . . . . . 60
1.2.2 PROC TIMEPLOT . . . . . . . . . . . . . . . . . . . . 65
1.3 Graphing Using SAS/Graph . . . . . . . . . . . . . . . . . . . 66
1.3.1 PROC GCHART . . . . . . . . . . . . . . . . . . . . . 67
1.4 Normal Distribution . . . . . . . . . . . . . . . . . . . . . . . 67
1.4.1 Normal Quantile Plots . . . . . . . . . . . . . . . . . . 69
1.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

2 Looking at Data: Relationships 73
2.1 Relationships Between Two Quantitative Variables . . . . . . 73
2.1.1 PROC PLOT and PROC GPLOT . . . . . . . . . . . 73
2.1.2 PROC CORR . . . . . . . . . . . . . . . . . . . . . . . 78
2.1.3 PROC REG . . . . . . . . . . . . . . . . . . . . . . . . 83
2.2 Relationships Between Two Categorical Variables . . . . . . . 87
2.3 Relationship Between a Categorical
Variable and a Quantitative Variable . . . . . . . . . . . . . . 90
2.3.1 PROC TABULATE . . . . . . . . . . . . . . . . . . . . 91
2.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94

3 Producing Data 97
3.1 PROC PLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
3.2 Sampling from Distributions . . . . . . . . . . . . . . . . . . . 99
3.3 Simulating Sampling Distributions . . . . . . . . . . . . . . . 101
3.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102

4 Probability: The Study of Randomness 105
4.1 Basic Probability Calculations . . . . . . . . . . . . . . . . . . 105
4.2 Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4.2.1 Simulation for Approximating Probabilities . . . . . . . 107
4.2.2 Simulation for Approximating Means . . . . . . . . . . 108
4.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

5 From Probability to Inference 113
5.1 Binomial Distribution . . . . . . . . . . . . . . . . . . . . . . . 113
5.2 Control Charts . . . . . . . . . . . . . . . . . . . . . . . . . . 115
5.2.1 PROC SHEWHART . . . . . . . . . . . . . . . . . . . 115

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller solver. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75632 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.99
  • (0)
  Add to cart