# AP Statistics : How to find the least-squares regression line

## Example Questions

### Example Question #1 : Bivariate Data

In a regression analysis, the y-variable should be the ___________ variable, and the x-variable should be the ___________ variable.

Independent, Dependent

Greater, Lesser

First, Second

Qualified, Unqualified

Dependent, Independent

Dependent, Independent

Explanation:

Regression tests seek to determine one variable's ability to predict another variable.  In this analysis, one variable is dependent (the one predicted), and the other is independent (the variable that predicts).  Therefore, the dependent variable is the y-variable and the independent variable is the x-variable.

### Example Question #1 : Bivariate Data

If a data set has a perfect negative linear correlation, has a slope of  and an explanatory variable standard deviation of , what is the standard deviation of the response variable?

Explanation:

The key here is to utilize

.

"Perfect negative linear correlation" means , while the rest of the problem indicates  and . This enables us to solve for .

### Example Question #3 : How To Find The Least Squares Regression Line

A least-squares regression line has equation  and a correlation of . It is also known that . What is