76
The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize prediction.

The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

  • View
    216

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

The Regression Equation

How we can move beyond predicting that everyone should score right at the mean

by using the regression equation to individualize prediction.

Page 2: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Prediction using X scores and r

• We are trying to predict, as accurately as possible, the values of Y (or tY) using our knowledge of a person’s X score and of the correlation between X and Y scores.

• There are both dangers and advantages to individualizing predictions.

Page 3: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Potential advantages and disadvantages

• The potential advantage is the possibility of making more precise, (less wrong) predictions than we would by saying everyone will score right at the estimated population mean, that is, the sample mean.

• We are saying, in effect, we know something about this person and this kind of person should score a specific number of points above or below the mean of Y.

• The potential danger is that we will make things a good deal worse than they would have been had we stayed with predicting that everyone will score right at the mean.

Page 4: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Best fitting line: A review

Page 5: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

The definition of the best fitting line plotted on t axes

• The best fitting line is a least squares, unbiased estimate of values of Y in the sample.

• A “best fitting line” minimizes the average squared vertical distance of Y scores in the sample (expressed as tY scores) from the line.

• The generic formula for a line is Y=mx+b where m is the slope and b is the Y intercept.

• Thus, any specific line, such as the best fitting line, can be defined by its slope and its intercept.

Page 6: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

The intercept of the best fitting line plotted on t axes

The origin is the point where both tX and tY=0.000

• So the origin represents the mean of both the X and Y variable

• When plotted on t axes all best fitting lines go through the origin.

• Thus, the tY intercept of the best fitting line = 0.000.

Page 7: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

The slope of and formula for the best fitting line

• When plotted on t axes the slope of the best fitting line = r, the estimated correlation coefficient.

• To define a line we need its slope and Y intercept

• r = the slope and tY intercept=0.00 • The formula for the best fitting line is

therefore tY=rtX + 0.00 or tY= rtX

Page 8: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Here’s how a visual representation of the best fitting line (slope = r, tY intercept = 0.000) and the dots representing

tX and tY scores might be described. (Whether the correlation is positive of negative doesn’t matter.)

• Perfect - scores fall exactly on a straight line.

• Strong - most scores fall near the line.

• Moderate - some are near the line, some not.

• Weak - the scores are only mildly linear.

• Independent - the scores are not linear at all.

Page 9: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Strength of a relationship1.5

-1.5

1.0

0.5

0

-0.5

-1.0

1.5 -1.5 1.0 0.5 0 -0.5 -1.0

Perfect

Page 10: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Strength of a relationship1.5

-1.5

1.0

0.5

0

-0.5

-1.0

1.5 -1.5 1.0 0.5 0 -0.5 -1.0

Strongr about .800

Page 11: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Strength of a relationship1.5

-1.5

1.0

0.5

0

-0.5

-1.0

1.5 -1.5 1.0 0.5 0 -0.5 -1.0

Moderater about .500

Page 12: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Strength of a relationshipr about 0.000

1.5

-1.5

1.0

0.5

0

-0.5

-1.0

1.5 -1.5 1.0 0.5 0 -0.5 -1.0

Independent

Page 13: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

An Important Warning

• Notice that each best fitting line starts at the lowest value of X and ends at the highest value of X.

• Outside the range of the X scores you saw in your random sample, you can not assume the correlation stays linear.

• If it doesn’t, the best fitting line becomes a terrible fit.

Page 14: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

What would happen if you only had pairs with positive tX scores scores when you fit a line here.

Outside the range of X scores in your sample, you can’t assume linearity.

1.5

-1.5

1.0

0.5

0

-0.5

-1.0

1.5 -1.5 1.0 0.5 0 -0.5 -1.0

Page 15: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Notice what that formula for independent variables says

• tY = rtX = 0.000 (tX) = 0.000• When tY = 0.000, you are at the mean of Y• So, when variables are independent, the best fitting line

says that making the best estimate of Y scores in the sample requires you to go back to prediction that everyone will score at the mean of Y (regardless of his or her score on X).

• Thus, when variables are independent we go back to saying everyone will score right at the mean.

• The visual representation of this is the tY axis, a line in which every score predicts the mean of Y.

Page 16: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Moving from the best fitting line to the regression equation and the

regression line.

Page 17: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

The best fitting line (tY=rtX) was the line closest to the Y values in

the sample. But what should we do if we

want to go beyond our sample and use a version of our best

fitting line to make individualized predictions for the

rest of the population?

Page 18: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

tY' = rtXNotice this is not quite the same as the formula for the

best fitting line. The formula now reads tY' (read t-y-prime). Not tY.

• tY' is the predicted score on the Y variable for every X score in the population falling within the range of X scores observed in our random sample.

• Until this point, we have been describing the linear relationship of the X and Y variable in our sample. Now we are predicting tY' scores (estimated ZY scores) for everyone in the population whose X score is in the range of X scores in our random sample.

Page 19: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

This is one of the key points in the course; a point when things change radically.

Up to this point, we have just been describing scores, means and relationships. We have continued to predict that everyone in the population who was not in our sample will score at the mean of Y.

But now we want to be able to make individualized predictions for the rest of the population, the people not in our sample and for whom we can obtain X scores but who don’t have Y scores

Page 20: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

In the context of correlation and regression (Ch. 7 & 8), this means making using the correlation between X and Y and someone’s score on the X variable to make predictions of a Y score, from a pre-existing difference among individuals,

In Chapter 9 we will determine whether such predictions can be made from the different ways people are treated in an experiment.

Page 21: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Both are somewhat dangerous. Our first rule as scientists is:

“Do not increase error.” Individualizing prediction can

easily do that.Let me give you an example.

Page 22: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Assume, you are the personnel officer for a mid size company.

• You need to hire a typist.

• There are 2 applicants for the job.

• You give the applicants a typing test.

• Which would you hire: someone who types 6 words a minute with 12 mistakes or someone who types 100 words a minute with 1 mistake.

Page 23: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Whom would you hire?

• Of course, you would predict that the second person will be a better typist and hire that person.

• Notice that we never gave the person with 6 words/minute a chance to be a typist in our firm.

• We prejudged her on the basis of the typing test.• That is probably valid in this case – a typing test

probably predicts fairly well how good a typist someone will be.

Page 24: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

But say the situation is a little more complicated!

• You have several applicants for a leadership position in your firm.

• But it is not 2006, it is 1956, when we knew that only white males were capable of leadership in corporate America.

• That is, we all “knew” that leadership ability is correlated with both gender and skin color, white and male are associated with high leadership ability and darker skin color and female gender with lower leadership ability.

Page 25: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

In 1956, it would have been just as absurd to hire someone of color or a woman for a leadership

position as it would be to hire the bad (6-words-a- minute-with-12-mistakes) typist now.

Everyone knew that 1) they couldn’t do the job and/or that even if they had some talent 2) no

subordinate would be comfortable following him or her.

• We now know this is absurd, but lots of people were never given a chance to try their hand at leadership, because of a socially based pre-judgment that you can now see as obvious prejudice.

Page 26: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

We would have been much better off saying that everyone is equal, everyone should be

predicted to score at the mean.

• Pre-judgments on the basis of supposed relationships between variables that have no real scientific support may well be mere prejudice.

• In the case we just discussed, they cost potential leaders jobs in which they could have shown their ability. That is unfair.

Page 27: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

We would have been much better off saying that everyone is equal, everyone should be

predicted to score at the mean.

• Moreover, by excluding such individuals, you narrow the talent pool of potential leaders. The more restricted the group of potential leaders, the less talented the average leader will be.

• This is why aristocracies don’t work in the long run. The talent pool is too small.

Page 28: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

So, to avoid prejudice you must start with the notion that everyone will score at the mean of Y no matter how they scored on

the X variable, the predictor variable.

In math language you have to predict that

ZY' ~ tY' =0.00 for every value of X

How can you do that?

To figure it out, look carefully at the

regression equation: tY' = rtX

Page 29: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

If tY' = rtX, the only way that tY' will always equal 0.00 is when r = 0.000.

(Actually, in this case we are using a theory that X and Y scores can not be used to predict each other. When you are talking theory, the proper

form of the regression equation is Artie’s sister, Rosie (ZY' = rhoZX)

Thus, to predict that everyone in the population will score at the mean of Y (ZY' = 0.00), you

have to hypothesize that rho = 0.000.

Page 30: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

So, to avoid the possibility of disastrous

mistakes and prejudice, only if you can disprove the notion that

rho = 0.000 and no other time, should you make any other prediction than

“Everyone is equal, everyone should be predicted to score right at the mean”.

Page 31: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

In regression analysis,we call the hypothesis that rho=0.000 the

null hypothesis

The symbol for the null hypothesis is H0. We will see the null hypothesis many times

during the rest of this course. Though it appears in several forms, the null

hypothesis is the only hypothesis that you will learn to test statistically in

this course.

Page 32: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

To use the regression equation to predict Y scores for the part of the population

that was not in your random sample, you must falsify and reject the null.

• You must start with the assumption that rho=0.000 and that the best prediction is that everyone will score right at the mean unless you can prove otherwise.

• Proof does not mean beyond any doubt, it means beyond a reasonable doubt.

• There have to be five chances in 100 or less of our sample looking as it does, if the null were to be true, for us to declare the null false and reject it.

Page 33: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Can you say with absolute certainty that the null hypothesis is wrong?

• NO! NEVER! However, you can say that there are 5 or fewer chances in 100 that you will get a correlation as strong as the one you found in your random sample, when the null is true (p<.05)

• If your results are particularly strong, you may be able to brag by saying that there is one or fewer chances in 100 of finding your data when the null is true (p<.01).

• But there is always some chance that you have simply obtained an unusual random sample and that the null really is true.

Page 34: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Statistical Significance

• In either event (p<.05 or p<.01) your results are considered statistically significant and you must consider the null so wrong about the data you obtained from your random sample that you must discard it.

• You then use the regression equation to make predictions of Y scores using each person’s X score and the correlation of X and Y in your random sample.

Page 35: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Remember when your results are statistically significant, you have falsified and must reject the null

hypothesis.

Page 36: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

ONE FURTHER CRUCIAL WARNING

Page 37: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

You can’t use the regression equation to predict tY when you

have an X score outside the range of scores you observed in your

random sample.• The one thing you know about someone

with an X score outside the range of scores in your random sample is that YOU KNOW NOTHING ABOUT SUCH PEOPLE. You never saw one before.

Page 38: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

The regression line has end points, just like the best fitting line.

• Notice that each regression starts at the lowest value of X and ends at the highest value of X.

• Outside the range of the X scores you saw in your random sample, you can not assume the correlation stays linear.

• If it doesn’t, your predictions of Y can become absurdly wrong.

Page 39: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Like the example in your book:• Imagine you measured the height of girls between

2 and 14, with a mean age of 8.00 and a standard deviation of 3 years. Mean height was 48” with a standard deviation of 8”.

• You find a correlation of +0.600 between height and age. Older girls tend to be taller.

• So, the regression equation is tY' = 0.600 tX

• This allows you to predict that at 5 years the average girl will be 40 inches tall, while at age 14 girls will average 64” tall.

Page 40: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Now you want to predict the height of the average 83 year old.• Let’s say you forget the rule about not predicting

outside the range of X scores in your sample.• If we translate 83 to a tX score, you get

– tX=(83-8)/3 = 25.00

• Using the regression equation, you would predict that

tY' = .6(25.00) =15.00• Y' = Ybar+ tY‘(sY) = 48” + 15(8”) =168”• You just predicted the average 83 year old

will be 14 feet tall.

Page 41: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

What went wrong.

• You assumed linearity outside the range of scores you had seen on the X variable (age).

• You saw kids 2-14. They are growing and within that age group age and height have a positive, linear relationship

• But by 14 or 15 growth stops and the curve goes from rising to flat, eventually going down a little.

• It doesn’t stay linear. It becomes curvilinear as soon as you include kids 15 and over and adults along with kids.

Page 42: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

So, outside the range of X scores in your sample, you can’t assume linearity. Here

mean age = 12 s= 5.001.5

-1.5

1.0

0.5

0

-0.5

-1.0

1.5 -1.5 1.0 0.5 0 -0.5 -1.0

Page 43: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Predict they will score right at the mean of Y

• Remember, the one thing you know about someone with an X score outside the range of scores in your random sample is that YOU KNOW NOTHING ABOUT SUCH PEOPLE. You never saw one before.

• So you do what we always do when we don’t know anything about someone: We predict they will be average, that they will score right at the mean of Y.

Page 44: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Confidence intervals around rhoT

Page 45: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Confidence intervals around rhoT

• In Chapter 6 we learned to create confidence intervals around muT that allowed us to test a theory.

• To test our theory about mu we took a random sample, computed the sample mean and standard deviation, and determined whether the sample mean fell into that interval.

• If the sample mean fell into the confidence interval, there was some support for our theory, and we held onto it.

Page 46: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Confidence intervals around muT

• The interesting case was when muT fell outside the confidence interval.

• In that case, the data from our sample falsified our theory, so we had to discard the theory and the estimate of mu specified by the theory

Page 47: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

If we discard a theory based prediction, what do we use in its place?

• Generally, our best estimate of a population parameter is the sample statistic that estimates it.

• Our best estimate of mu has been and is the sample mean, X-bar.

• Since X-bar fell outside the confidence interval, we discarded our theory about the value of mu.

• If we reject the theory (hypothesis) about mu, we must go back to using X-bar, the sample mean that fell outside the confidence interval and falsified our theory, as our best (least squares, unbiased, consistent estimate) of mu.

Page 48: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

To test any theory about any population parameter, we go

through similar steps:

• We theorize about the value of the population parameter.

• We obtain some measure of the variability of sample-based estimates of the population parameter.

• We create a test of the theory about the population parameter by creating a confidence interval, almost always a CI.95.

• We then obtain and measure the parameter in a random sample.

Page 49: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Which hypothesis about rho (the population correlation coefficient)

do we always test in this way.• THE NULL HYPOTHESIS• The null says that there is no relationship between

any two variables we chose to study, in the population as a whole. Mathematically, we would say that rho=0.000.

A Corollary: If rho = 0.000, any nonzero correlation found in a random sample is simply a poor estimate or rho. Thus, whatever nonzero correlation you found in the sample is illusory. It is simply a mediocre estimate of zero.

Page 50: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Testing the null hypothesis (rho = 0.000)

in correlation and regression

Page 51: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Testing the theory

• To test the theory that rho=0.00, we create a CI.95 for rho=0.000.

• We then obtain r from a random sample. If r falls outside the CI.95 interval, we have shown that the theory that rho = zero does not explain our data.

• Therefore we hold the theory to be false.

Page 52: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Summary on significance

• If rho = 0.000, we should go back to saying everyone is equal, everyone will score at the mean of Y.

• To be fair and avoid doing damage, we must test the hypothesis that rho=0.000 before doing anything else.

• To test the theory that rho=0.00, we create a CI.95 for rho=0.000.

• If, and only if, we disprove the notion that rho=0.000 by having r fall outside the CI.95 can we use r in the regression equation, tY'=rtX.

Page 53: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Two examples: Example 1:John was not a member of our random sample, but he is a member of the population from which it was drawn. His X score falls inside the range seen in our random sample.

• r fell inside the confidence interval around 0.000 consistent with the null hypothesis. Should we use the regression equation to predict what score John will obtain on the Y variable?

Page 54: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

NO. Predict John will score right at the mean of Y.

Page 55: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Two examples: Example 2:John was not a member of our random sample, but he is a member of the population from which it was drawn. His X score falls inside the range seen in our random sample.

• r fell outside the confidence interval around 0.000 consistent with the null hypothesis. Should we use the regression equation to predict what score John will obtain on the Y variable?

Page 56: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

YES. Use the regression equation to predict John’s score on the Y

variable.

Page 57: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

I could teach you how to calculate the confidence interval for rho=0.000

• But other people have already calculated the intervals for many different df.

• Those calculations are summarized in the r table

Page 58: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

123456789

101112

.

.

.100200300500

10002000

10000

-.996 to .996-.949 to .949-.877 to .877-.810 to .810-.753 to .753-.706 to .706-.665 to .665-.631 to .631-.601 to .601-.575 to .575-.552 to .552-.531 to .531

.

.

.-.194 to .194-.137 to .137-.112 to .112-.087 to .087-.061 to .061-.043 to .043-.019 to .019

.997

.950

.878

.811

.754

.707

.666

.632

.602

.576

.553

.532...

.195

.138

.113

.088

.062

.044

.020

.9999.990.959.917.874.834.798.765.735.708.684.661

.

.

..254.181.148.115.081.058.026

df nonsignificant .05 .01

Page 59: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

How the r table is laid out: the important columns

– Column 1 of the r table shows degrees of freedom for correlation and regression (dfREG)

– dfREG=nP-2– Column 2 shows the CI.95 for varying degrees of freedom– Column 3 shows the absolute value of the r that falls just

outside the CI.95. Any r this far or further from 0.000 falsifies the hypothesis that rho=0.000 and can be used in the regression equation to make predictions of Y scores for people who were not in the original sample but who were part of the population from which the sample is drawn.

Page 60: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

123456789

101112

.

.

.100200300500

10002000

10000

-.996 to .996-.949 to .949-.877 to .877-.810 to .810-.753 to .753-.706 to .706-.665 to .665-.631 to .631-.601 to .601-.575 to .575-.552 to .552-.531 to .531

.

.

.-.194 to .194-.137 to .137-.112 to .112-.087 to .087-.061 to .061-.043 to .043-.019 to .019

.997

.950

.878

.811

.754

.707

.666

.632

.602

.576

.553

.532...

.195

.138

.113

.088

.062

.044

.020

.9999.990.959.917.874.834.798.765.735.708.684.661

.

.

..254.181.148.115.081.058.026

df nonsignificant .05 .01

Page 61: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

123456789

101112

.

.

.100200300500

10002000

10000

-.996 to .996-.949 to .949-.877 to .877-.810 to .810-.753 to .753-.706 to .706-.665 to .665-.631 to .631-.601 to .601-.575 to .575-.552 to .552-.531 to .531

.

.

.-.194 to .194-.137 to .137-.112 to .112-.087 to .087-.061 to .061-.043 to .043-.019 to .019

.997

.950

.878

.811

.754

.707

.666

.632

.602

.576

.553

.532...

.195

.138

.113

.088

.062

.044

.020

.9999.990.959.917.874.834.798.765.735.708.684.661

.

.

..254.181.148.115.081.058.026

df nonsignificant .05 .01If r falls in within the 95% CI

around 0.000, then the result is not significant.

Find your degrees of freedom (Np-2)

in this columnYou cannot reject

the null hypothesis.

You must assume that rho = 0.00.

Does the absolute valueof r equal or exceed thevalue in this column?

r is significant withalpha = .05.

If r is significant youcan consider it an unbiased,

least squares estimate of rho.alpha = .05.

You can use it in theregression equation to

estimate Y scores.

Page 62: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Testing H0: rho = 0.000

• To test the null, select a random sample, then see if the resultant r falls inside or outside the CI.95 around 0.000.

Page 63: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Let’s test the hypothesis that liking for strong sensations in one area is related to liking for strong sensations in other areas.

To test our hypothesis, we ask a random sample about their liking for two things that usually produce strong sensations: anchovy pizza and horror movies

Page 64: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Ratings of liking for anchovy pizza and horror films

H1: People who enjoy food with strong flavors also enjoy other strong sensations.

H0: There is no relationship between enjoying food with strong flavors and enjoying other strong sensations.

Anchovy pizza

7733084111

Horrorfilms

7986965216

Can we reject the null hypothesis?

(scale 0-9)

Page 65: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Is this more or less linear? Yes.

0

8

6

4

2

0 8642

Horror films

Pizza

Page 66: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Can we reject the null hypothesis?

r = .352

df = 8

We do the math and we find that:

Page 67: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

123456789

101112

.

.

.100200300500

10002000

10000

-.996 to .996-.949 to .949-.877 to .877-.810 to .810-.753 to .753-.706 to .706-.665 to .665-.631 to .631-.601 to .601-.575 to .575-.552 to .552-.531 to .531

.

.

.-.194 to .194-.137 to .137-.112 to .112-.087 to .087-.061 to .061-.043 to .043-.019 to .019

.997

.950

.878

.811

.754

.707

.666

.632

.602

.576

.553

.532...

.195

.138

.113

.088

.062

.044

.020

.9999.990.959.917.874.834.798.765.735.708.684.661

.

.

..254.181.148.115.081.058.026

df nonsignificant .05 .01

Page 68: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

This finding falls within the CI.95 around 0.000

• We call such findings “nonsignificant” • Nonsignificant is abbreviated n.s.• We would report these finding as follows• r (8)=0.352, n.s.• In English, we would say, the correlation with 8

degrees of freedom was .352. That finding is nonsignificant and we fail to falsify the null. Therefore, we can not use the regression equation as we have no evidence that the correlation in the population as a whole is not 0.000. We go back to predicting everyone will score right at the mean of Y.

Page 69: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

This system prevents plausible, but incorrect, theories from affecting peoples’ futures.

• I would guess that like most variables, desire for anchovy pizza and horror movies are not really correlated.

• This sample probably has an r of .352 solely because of the way samples of this size fluctuate around a rho of zero.

Page 70: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

How to report a significant r• For example, let’s say that you had a sample

(nP=30) and r = -.400• Looking under nP-2=28 dfREG, we find the interval

consistent with the null is between -.360 and +.360• So we are outside the CI.95 for rho=0.000• We would write that result as r(28)=-.400, p<.05 • This tells you that there were 28 df for r, that r

= -.400, and that you can expect an r that far from 0.00 5 or fewer times in 100 when rho = 0.000

Page 71: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Then there is Column 4

• Column 4 shows the values that lie outside a CI.99

• (The CI.99 itself isn’t shown like the CI.95 in Column 2 because it isn’t important enough.)

• However, Column 4 gives you bragging rights.• If your r is as far or further from 0.000 as the number in Column

4, you can say there is 1 or fewer chance in 100 of an r being this far from zero (p<.01).

• For example, let’s say that you had a sample (nP=30) and r = -.525.

• The critical value at .01 is .463. You are further from 0.00 than that.So you can brag.

• You write that result as r(28)=-.525, p<.01.

Page 72: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

To summarize: assuming that an X score falls inside the range of X scores seen in

your random sample.• If r falls inside the CI.95 around 0.000, it is

nonsignificant (n.s.) and you can’t use the regression equation (e.g., r(28)=.300, n.s.

• If r falls outside the CI.95, but not as far from 0.000 as the number in Column 4, you have a significant finding and can use the regression equation (e.g., r(28)=-.400,p<.05

• If r is as far or further from zero as the number in Column 4, you can use the regression equation and brag while doing it (e.g., r(28)=-.525, p<.01

Page 73: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

The rest of this course is largely about hypothesis (theory) testing.

The one and only one hypothesis that we will test statistically from this point on is

the NULL HYPOTHESIS.

As a result of our statistical tests, we will either reject the null or fail to reject the null based on the data from a random

sample.

Page 74: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Remember, why must the X score be within the range of X scores observed in

your random sample?

Page 75: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Why must the X score be within the range of X scores observed in your random sample?

• Because outside that range, you can not assume linearity. The very direction of the relationship may well suddenly change.

Page 76: The Regression Equation How we can move beyond predicting that everyone should score right at the mean by using the regression equation to individualize

Which does the null say about rho

• THE NULL HYPOTHESIS• The null says that there is no relationship between

any two variables we chose to study, in the population as a whole. Mathematically, we would say that rho=0.000.

A Corollary: If rho = 0.000, any nonzero correlation found in a random sample is simply a poor estimate or rho. Thus, whatever nonzero correlation you found in the sample is illusory. It is simply a mediocre estimate of zero.