Chapter 8  Correlation and Regression

Introduction

Producing Pearson Correlations

Generating a Correlation Matrix

Creating HTML Output with Data Tips

Generating Spearman Nonparametric Correlations

Running a Simple Linear Regression Model

Using ODS Statistical Graphics to Investigate Influential Observations

Using the Regression Equation to Do Prediction

A More Efficient Way to Compute Predicted Values

Conclusions

Introduction

In this chapter, you will learn how to compute correlation coefficients (both parametric and nonparametric) and how to run simple linear regression models. With the introduction of ODS Statistical Graphics (referred to as ODS Graphics), you can generate correlation matrix scatter plots. With this same facility, you can ...

Get SAS Statistics by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.