Correlation and Simple Linear Regression

Learn how to describe and model the relationship between two quantitative variables. Read scatterplots, calculate and interpret the correlation coefficient, and fit a least-squares regression line whose slope and intercept you can explain in context. Judge the fit with residuals, the standard deviation of the residuals and r2, spot outliers and influential points, and test and estimate the population slope. Finish by weighing claims about cause and effect and writing up a complete regression analysis.

BeginnerLesson 12 of 12 in Introduction to Statistics Course

What you will learn

  1. Use scatterplots and the correlation coefficient to describe how two quantitative variables measured on the same individuals vary together, and know what correlation can and cannot tell you.
    • Make and read a scatterplot
      Choose the explanatory and response variables, plot paired data, and describe the direction, form and strength of the pattern and any unusual points.
    • Calculate and interpret the correlation coefficient
      Compute Pearson's correlation coefficient r by hand and with technology, interpret its sign and size, and use its properties.
    • Recognize what correlation cannot show
      Explain why r describes only linear association and how curved patterns, outliers, a restricted range and averaged data can make it misleading.
  2. Find the line that best predicts the response from the explanatory variable, interpret its slope and intercept in context, and use it for predictions within the range of the data.
    • Find the least-squares regression line
      Explain residuals and the least-squares criterion, and compute the regression line from raw data, from summary statistics and with technology.
    • Interpret the slope and intercept and make predictions
      State what the slope and intercept mean in context with units, predict responses with the line, and recognize the risk of extrapolation.
  3. Use residuals, the standard deviation of the residuals, the coefficient of determination and checks for outliers and influential points to decide whether a straight-line model is useful.
    • Analyze residuals and residual plots
      Compute residuals, read a residual plot for curvature and changing spread, and use the standard deviation of the residuals as the typical prediction error.
    • Interpret the coefficient of determination
      Compute r squared from sums of squares or from r, interpret it as the share of variation explained, and avoid its common misreadings.
    • Identify outliers and influential points
      Distinguish regression outliers, high-leverage points and influential points, measure their effect by refitting, and decide how to handle them.
  4. Treat the sample regression line as an estimate of a population line, check the conditions for inference, test whether the population slope is zero, and estimate the slope with a confidence interval.
    • State the regression model and check its conditions
      Describe the population regression model, check its conditions with plots of the data and residuals, and state what the design allows you to conclude.
    • Test whether the population slope is zero
      Carry out and interpret the t test for the slope and the equivalent test for the correlation, read regression output, and separate statistical from practical significance.
    • Estimate the slope with a confidence interval
      Construct and interpret a confidence interval for the population slope and connect it with the test of zero slope.
  5. Explain why correlation alone does not establish causation, recognize the other explanations for an association, and carry out and report a complete correlation and regression analysis.
    • Distinguish correlation from causation
      Identify reverse causation, lurking and confounding variables and coincidence as alternatives to causation, and explain what evidence does support a causal claim.
    • Carry out and report a complete regression analysis
      Combine every step, from plot to conclusion, into one analysis, write it up clearly, and evaluate published claims about relationships.

Simple Linear Regression study guide

5 chapters

1

Describe the relationship between two quantitative variables

Paired measurements let you ask how two quantities vary together. A scatterplot shows the shape and unusual features; correlation summarizes the direction and strength of the linear part. Choosing the variables and naming the cases carefully keeps those descriptions meaningful. Changes in range, group averaging, and isolated points can alter the reported strength, so the plot and the number need to be read together.

1.1 Make and read a scatterplot

A scatterplot keeps each person's two measurements together. It shows the relationship before a single number or fitted line compresses it.

Choose the variables and build the plot

Suppose we want to predict exam score from weekly study time. Study time is the explanatory variable, also called the predictor or independent variable. It goes on the horizontal axis as x. Exam score is the response variable, also called the outcome or dependent variable. It goes on the vertical axis as y. These roles describe the prediction question; the word “explanatory” alone makes no causal claim.

For six students, the pairs are (2, 62), (4, 68), (5, 71), (7, 75), (8, 83), and (10, 85). The first pair means one student studied 2 hours and scored 62 points. Plot one dot at that location, then repeat for the other five students. Label the axes “Weekly study time (hours)” and “Exam score (points).” Choose scales that include every point. The axes need not start at zero.

Keep the pairs intact. Sorting the hours and scores separately would change who earned each score and could manufacture a relationship. Leave the dots unconnected: the order of the students is not a sequence of changes over time. If the question treats two variables equally, as with the heights of siblings, either variable can go on either axis.

Describe four features

Begin with direction. A positive association rises from left to right: larger study times tend to go with higher scores. A negative association falls: older used cars of one model tend to have lower prices. Association means knowing one measurement helps describe the likely value of the other.

Next name the form. Points may follow a straight line, a curve, or separate clusters. A curve can show a very strong relationship. For example, scores could rise from low to moderate anxiety and then fall at high anxiety. Calling that pattern simply “positive” would miss half of it. A shapeless cloud has no clear association; a curved cloud has a pattern even if it has no single upward or downward direction.

Describe strength by how closely points follow their form. The six study pairs lie close to a rising straight line, so a suitable description is: “Weekly study time and exam score have a strong, positive, roughly linear association among these students.” Strength concerns closeness to the form, not steepness. A shallow, tight band can show a stronger relationship than a steep, scattered cloud. Axis scales can change the visual impression, so a numerical measure helps check linear strength.

Finally, look for unusual features: isolated points, gaps, and clusters. A student with an ordinary study time and an ordinary score could still be unusual if that combination sits far from the trend. Separate clusters may represent different groups. If car data combine two models, different colors or symbols can show whether each model follows its own pattern.

Key Takeaways

  • Keep each case’s two measurements together as one plotted point.
  • Put the explanatory variable on the horizontal axis and label both axes with units.
  • Describe direction, form, strength, and unusual features in context.
  • A tight curve can be strong; a steep line can be weak.

1.2 Calculate and interpret the correlation coefficient

Pearson's correlation coefficient, r, puts a number on the direction and strength of a linear association between two quantitative variables. Its sign describes direction; its distance from zero describes linear strength.

Both variables need nonzero variability; if either is constant, correlation is undefined.

Calculate from deviations

Subtract each variable's mean from its observations. Let Sxx=∑(x−xˉ)2, Syy=∑(y−yˉ)2, and Sxy=∑(x−xˉ)(y−yˉ). Then

r=SxySxxSyy.

For the study data, the means are 6 hours and 74 points. The hour deviations are −4, −2, −1, 1, 2, 4. The score deviations are −12, −6, −3, 1, 9, 11. Multiply within each pair: 48, 12, 3, 1, 18, 44. Their sum is 126. The squared deviations sum to 42 for hours and 392 for scores. Thus

r=12642⋅392≈0.982.

Why do the products help? A point above both means, or below both means, contributes a positive product. A point above one mean and below the other contributes a negative product. Large deviations have more weight. It is the sum of these products, not simply a count of points in each region, that sets the sign.

Calculate with standardized values

A z-score expresses a deviation in standard-deviation units. With sample standard deviations,

zx=x−xˉsx,zy=y−yˉsy,r=∑zxzyn−1.

Here sx≈2.898 and sy≈8.854. The first student's standardized product is about 1.870. All six products sum to about 4.910; dividing by 5 gives about 0.982. Use several decimal places while working and round the final correlation. Early rounding can change the result.

Interpret the number

Correlation ranges from −1 to 1. Values near either endpoint describe points close to a straight line. Exactly 1 or −1 means every point lies on one straight line with nonzero slope. Near zero means little linear association. As a rough introductory guide, magnitudes above about 0.8 are strong, about 0.5–0.8 moderate, and below about 0.5 weak. These labels depend on the field; a value of 0.3 can matter in social science.

For these students, say: “There is a very strong positive linear association between study time and exam score, with r≈0.98.” Correlation is not a percentage and is not a change in points per hour.

Know what stays the same

Correlation has no units. Swapping the variables leaves it unchanged. Converting hours to minutes, or Celsius to Fahrenheit, also leaves it unchanged because these conversions multiply by a positive number and may add a constant. Multiplying one variable by a negative number reverses its sign.

Technology can do the arithmetic: a spreadsheet's CORREL function uses the paired numeric ranges. Some regression output labels the nonnegative magnitude “Multiple R”; recover direction from the slope. Job title is categorical, so assigning job titles numeric codes does not make Pearson correlation an appropriate measure of their relationship with salary.

Key Takeaways

  • Pearson’s r measures linear direction and strength on a scale from −1 to 1.
  • The sign of the sum of paired deviation products determines the sign of r.
  • Correlation is unitless and unchanged by swapping variables or positive unit conversions.
  • Negative correlations can be strong: compare magnitudes.
  • Keep precision during calculation; interpret the result using the variable names.

1.3 Recognize what correlation cannot show

A correlation compresses a whole scatterplot into one number. That makes it convenient, but it also hides form, unusual points, and information about who was measured.

A small correlation can hide a strong curve

Consider anxiety levels 1, 2, 3, 4, 5 and scores 70, 85, 90, 85, 70. Scores rise and then fall in a symmetric arch. The positive and negative deviation products cancel, giving r=0 exactly. The relationship is clear, but its linear association is zero.

The reverse problem also occurs: a gentle curve can give a correlation above 0.9. A high value alone cannot establish that a straight line describes the form well. Start with the scatterplot and examine the residual plot after fitting a line. A curved pattern in residuals exposes changes the line misses.

One point can change the result

Correlation is not resistant: unusual points can alter it substantially. In the six-student example, r≈0.982. Adding a student who studies 6 hours and scores 95 lowers it to about 0.701. That point adds vertical scatter near the center of the study times.

A different addition has the opposite effect. A student at (14, 98) lies far to the right but on the existing trend. Adding that student raises the correlation to about 0.992. An extreme point can make a relationship appear tighter as well as looser. Plot suspicious observations and compare results with and without them before deciding how much weight to place on the number.

Check the range and the cases

A restricted range often weakens correlation. Across all applicants, admission scores may vary widely and help predict first-year grades. Among admitted students only, scores occupy a narrower high band. The correlation in that selected group is typically weaker because much of the useful spread in scores has disappeared. Its value describes that range, not every possible applicant.

An ecological correlation uses group averages or rates as its cases. For example, each point might be a state's average income and average life expectancy. Averaging smooths out differences between individuals, so these correlations are often stronger than individual-level correlations. A relationship between states describes states. Applying its strength to individual residents can overstate how closely their own measurements go together.

Separate strength, size, and evidence

A correlation of −0.9 is just as strong as 0.9; its direction is different. Neither value tells you how many dollars, points, or minutes the response changes. That change also depends on the spreads and units of the variables, which enter the regression slope.

Sample size matters for inference. A large correlation among very few cases can occur by chance, and a small correlation in a large sample can be statistically significant. Also, correlation alone cannot distinguish a causal effect from reverse causation, a third variable, or coincidence. A useful account includes the plot, the cases and range, and the study design alongside r.

Key Takeaways

  • Zero correlation means zero linear association; a strong curve may remain.
  • Check plots even when the correlation is large.
  • Outliers, range restriction, and group averaging can change the reported strength.
  • A correlation between groups describes those groups, not their individual members.
  • Correlation gives neither a slope with units nor a causal conclusion.
  • Sample size affects how much evidence a sample correlation provides.
2

Fit and use the least-squares regression line

A fitted line turns an observed pattern into a rule for predicting an average response. Finding that line requires a definition of prediction error and a way to compare all the errors at once. Its slope and intercept then need the variables’ units to have meaning. The same equation can give a reasonable estimate inside a measured range and an impossible answer far beyond it.

2.1 Find the least-squares regression line

A regression line predicts a response from an explanatory value. Least squares chooses the line by comparing its vertical prediction errors across all the observations.

Measure a miss with a residual

Write the fitted line as y^=b0+b1x. The hat means “predicted”: y is the observed response and y^ is the value on the line at that observation's x. Some calculators and textbooks write the same equation as y^=a+bx.

The residual is e=y−y^. If a student scores 75 and the line predicts 77, the residual is −2 points. The line overpredicts. A positive residual puts the observation above the line and means the line underpredicts.

The least-squares line minimizes SSE=∑(y−y^)2, the sum of squared residuals. Squaring prevents positive and negative errors from canceling. It also gives large misses extra weight: an error of 4 contributes 16, while an error of 2 contributes 4. The distances are vertical because the task is to predict the response, not minimize sideways or perpendicular distances.

Find slope, then intercept

From raw data, compute the means, paired deviation products, and squared explanatory deviations. The formulas are

b1=∑(x−xˉ)(y−yˉ)∑(x−xˉ)2,b0=yˉ−b1xˉ.

For the study data, the numerator is 126 and the denominator is 42. Thus b1=126/42=3 points per hour. Since the means are 6 hours and 74 points, b0=74−3(6)=56 points. The fitted equation is y^=56+3x.

With summary statistics, use b1=r(sy/sx). For used cars, let age have mean 5 years and standard deviation 2.5 years; price has mean $14,200 and standard deviation $4,000, with r=−0.85. Then b1=−0.85(4000/2.5)=−1360 dollars per year. The intercept is 14200−(−1360)(5)=21000 dollars, giving y^=21000−1360x.

Check the fit's basic properties

The fitted line passes through (xˉ,yˉ). Substituting 6 hours into the study line gives 74 points, the mean score. Least-squares residuals add to zero for a line with an intercept. That cancellation is a property of the fit, not evidence that the errors are small.

Because the standard deviations are positive, the slope has the same sign as r. In standardized units, the prediction follows z^y=rzx. An explanatory value one standard deviation above its mean predicts a response ∣r∣ standard deviations from its mean, with direction set by the sign.

Keep the prediction direction straight

Correlation is symmetric, but regression is directional. Predicting study time from score requires a new fit. Its slope is about 0.321 hours per point, not the reciprocal of 3. Reversing a fitted equation gives the reverse regression only for a perfect linear association.

In a spreadsheet, SLOPE(y_range, x_range) and INTERCEPT(y_range, x_range) take the response first. In output, the “Intercept” or “Constant” row gives b0, and the explanatory-variable row gives b1.

Key Takeaways

  • A residual is observed minus predicted; its sign locates the point relative to the line.
  • Least squares minimizes the sum of squared vertical residuals.
  • Calculate the slope first, then use the means to find the intercept.
  • The fitted line passes through the point of means and its residuals sum to zero.
  • Fit a new regression when you reverse the prediction direction.

2.2 Interpret the slope and intercept and make predictions

A fitted equation becomes useful when its numbers are translated into the variables' units. A prediction describes an average pattern, with individual responses scattered around it.

Give the slope a direction and units

For y^=56+3x, study time is measured in hours and score in points. The slope is 3 points per hour. Say: “For each additional weekly study hour, the predicted exam score is 3 points higher.” The word “predicted” matters: a student who studies 8 hours may score 83 even though the line predicts 80.

The car line is y^=21000−1360x. Here the slope is −1,360 dollars per year of age. A suitable interpretation is: “For each additional year of age, the predicted price of a car of this model is $1,360 lower.” Observational data support an association. They do not isolate what would happen to the very same car if only its age changed while every other feature stayed fixed.

Slope uses response units per explanatory unit. Converting study time from hours to minutes changes the slope from 3 points per hour to 3/60=0.05 points per minute. Correlation stays about 0.982. This is why a slope's size alone cannot tell you the strength of a relationship.

Interpret the intercept where it makes sense

The intercept is the predicted response at x=0, in response units. In the study line it is 56 points. The students studied between 2 and 10 hours, so zero hours is outside the measured range. The intercept fixes the height of the line, but these data do not give a dependable prediction for a student who never studies.

For cars, $21,000 at age zero could describe the predicted price of a new car only if the data include cars near age zero and the linear pattern fits there. Always ask whether zero is meaningful and supported by nearby observations. You can use an intercept to calculate fitted values even when it has little practical meaning on its own.

Substitute and check the range

At 6 study hours, y^=56+3(6)=74 points. At 8 years of car age, y^=21000−1360(8)=10120, or $10,120. Write the variable values and units beside the answer so the calculation remains tied to the question.

Interpolation predicts for an explanatory value inside the observed range. Extrapolation predicts outside it. The line has no built-in knowledge of how the relationship changes beyond the data. At 20 study hours it predicts 116 points, impossible on a 100-point exam. Beyond about 15.4 years, the car line predicts a negative price. These results expose a failure of extending the line, not a reason to force real outcomes to follow it.

A value inside the range is a better starting point, but also check the residual plot and any influential observation. A line driven by one isolated point may describe the remaining cases badly. Use the standard deviation of the residuals to describe typical prediction error; a fitted average is not a guaranteed individual result.

Key Takeaways

  • Interpret slope as the change in the predicted response per one explanatory unit.
  • The intercept predicts the response at zero; check whether zero is meaningful and supported.
  • Convert slope units when measurement units change; correlation stays unchanged under positive conversions.
  • Predictions outside the measured explanatory range are extrapolations.
  • Individual responses vary around the fitted average.
  • Use observational language unless the design supports causation.
3

Judge how well a line fits the data

A line can summarize much of a relationship and still miss an important feature. Residuals reveal where the predictions go wrong, their standard deviation gives the errors a practical scale, and R-squared compares the fit with predicting the mean. Unusual observations need their own investigation because a point can change the line that is supposed to reveal it.

3.1 Analyze residuals and residual plots

Residuals show what the fitted line leaves unexplained. Their pattern helps judge the line's shape, while their overall size describes the scale of its prediction errors.

Work through the six predictions

Using y^=56+3x, the study times 2, 4, 5, 7, 8, and 10 hours give predictions 62, 68, 71, 77, 80, and 86 points. Subtract these from the observed scores 62, 68, 71, 75, 83, and 85. The residuals are 0, 0, 0, −2, 3, and −1 points.

For the 7-hour student, the residual is 75−77=−2: the line predicts 2 points too high. For the 8-hour student it is 83−80=3: the line predicts 3 points too low. The residuals sum to zero, even though three predictions miss. Their sum cannot measure how accurate the predictions are.

Read a residual plot

Plot each residual on the vertical axis and its explanatory value on the horizontal axis. Add a horizontal reference line at zero. Fitted values can also serve as the horizontal variable. Do not use observed response values there: that choice can create a misleading trend.

A roughly patternless cloud above and below zero, with similar vertical spread across the plot, supports a linear model. A curve means the model misses the form. For instance, positive residuals at both ends and negative residuals in the middle mean the line underpredicts at the ends and overpredicts in the middle.

A fan shape means the scatter changes with the explanatory value. If the fan widens toward larger values, predictions are less precise there. Even if the center follows a line, unequal spread violates the equal-variance condition for the usual slope-inference procedures. A single isolated residual may also signal a point worth investigating.

A large correlation cannot replace this check. A smooth bend can produce a large correlation and a clear residual curve at the same time. With six cases, the residual pattern supplies limited evidence; a small plot that looks random offers support without establishing every model condition.

Put prediction error into response units

Square the residuals and add them:

SSE=02+02+02+(−2)2+32+(−1)2=14.

The standard deviation of the residuals is

s=SSEn−2=144≈1.87 points.

We divide by n−2 because fitting the intercept and slope uses two estimated quantities. This differs from using the sample-size divisor or the divisor for an ordinary sample standard deviation.

Say: “Exam-score predictions from study time are typically off by about 1.9 points.” This is a measure of typical size, not a maximum miss or a statement that every error equals 1.9. Software may label it “S,” “residual standard error,” or “standard error of the estimate.” Compare its size with what matters in the setting. An error of 1.9 exam points may be useful; the same number of another response's units could have a very different practical meaning.

Key Takeaways

  • Plot residuals against the explanatory variable or fitted values, with zero as a reference.
  • A residual curve signals a missed shape; a fan signals changing variability.
  • Compute s as the square root of SSE divided by n − 2.
  • Interpret s as typical prediction error in response units.

3.2 Interpret the coefficient of determination

The coefficient of determination compares a fitted line with a simple baseline: predicting the mean response for every case. It measures the share of response variation accounted for by the linear relationship.

Compare two sums of squares

Without an explanatory variable, predict each response using yˉ. The squared misses add to the total sum of squares, SST=∑(y−yˉ)2. With the fitted line, the squared residuals add to SSE=∑(y−y^)2. The coefficient of determination is

r2=1−SSESST.

The fraction SSE/SST is the share left unexplained. Subtracting it from 1 gives the share explained by the line. In simple least-squares regression with an intercept, this quantity also equals the square of the sample correlation. Software often labels it R-squared or R2 and displays it as a percentage.

For the study scores, the deviations from the mean score of 74 are −12, −6, −3, 1, 9, 11. Their squares add to 144+36+9+1+81+121=392. The squared residuals add to 14. Therefore

r2=1−14392=378392≈0.964.

About 96.4% of the variation in scores among these six students is explained by their linear relationship with weekly study time. The remaining 3.6% is variation the line does not explain. “Explained” here describes a reduction in squared prediction errors; it does not identify a causal mechanism.

Interpret the percentage precisely

For the car example, r=−0.85 gives r2=0.7225. About 72% of the variation in price is explained by the linear relationship with age. This does not mean 72% of cars lie on the line, 72% of predictions are correct, or age causes 72% of a price change.

Squaring removes direction. To recover correlation from r2, take the square root and use the slope's sign. With r2=0.7225 and a negative slope, r=−0.7225=−0.85. A coefficient of determination of 0.5 requires a correlation magnitude of about 0.707, not 0.5. Conversely, a correlation of 0.5 explains 25% of the variation.

Combine it with the other checks

A value of 1 means every observation lies on the fitted line. A value of zero means the fitted line does no better than the mean-response baseline. A high value can still hide a curve or the effect of an influential observation. A low value can accompany a statistically significant slope in a large sample.

Use both r2 and s. The first is a unitless relative improvement over the baseline. The second measures typical misses in response units. A report such as “R2=96.4% and s=1.87 points” tells you both how much variation the line explains and how large its individual prediction errors typically are.

Key Takeaways

  • Compute the explained share as 1 − SSE/SST, or square r in simple regression.
  • Interpret r² as a share of response variation, not a share of points or correct predictions.
  • Use the slope’s sign when recovering r from r².
  • Report r² alongside s: relative fit and error size answer different questions.
  • A high r² still requires checks of shape and unusual observations.

3.3 Identify outliers and influential points

An unusual point can matter in several different ways. Its vertical distance, horizontal position, and effect on the fitted result answer different questions.

Distinguish three ideas

A regression outlier has a large residual: it lies unusually far above or below the fitted line. A rough screening rule flags a residual whose magnitude reaches about 2s. This is a reason to investigate a point, not a reason to delete it.

A high-leverage point has an explanatory value far from the mean of the explanatory values. Its horizontal position gives it the potential to pull the line toward itself. An influential point is one whose removal substantially changes the slope, intercept, or correlation. To assess actual influence, fit the model with and without the point and compare the results.

FeatureWhat to examineWhat it tells you
OutlierVertical residualThe response is far from its prediction.
High leveragePosition in the explanatory rangeThe point can pull the fitted line.
InfluenceResults after removing the pointThe point actually changes the analysis.
Follow a point near the middle

Add (6, 95) to the study data. Six hours is the old mean study time, so this point has no unusual horizontal position. The new line is y^=59+3x. Its slope stays 3, but the intercept rises from 56 to 59 and correlation falls from about 0.982 to 0.701.

At 6 hours, the new prediction is 77 points. The added student's residual is 95−77=18 points. Since the new residual standard deviation is about 8.85, twice that is about 17.7; the point is flagged. A point near the mean explanatory value can change the intercept and correlation substantially without changing the slope.

Follow points far from the middle

Adding (14, 98) extends the study range along the old trend. The slope stays 3 and correlation rises to about 0.992. High leverage can strengthen an apparent linear association.

Adding (20, 66) instead pulls the line toward a low score at a very large study time. The slope falls to about 0.14 and correlation to about 0.10. Yet this added point's residual in the new fit is only about −8.6: the line has moved toward it. A point can be influential without having the largest residual. Its effect is visible by comparing fits, not by ranking residuals alone.

Investigate before changing the data

First check records and measurements. Correct a confirmed entry error. If the point is valid, keep its information in view. Deleting a case merely because it weakens the correlation changes the population the analysis describes and can distort the result.

A documented difference may justify a separate analysis: a student who already passed the same exam may belong to a different group from first-time candidates. Explain any exclusion or separation. For an influential observation, report the fits with and without it and describe how the conclusion changes. Keep predictions within a well-supported range, especially when one isolated explanatory value stretches the apparent range.

Key Takeaways

  • An outlier has a large residual; leverage concerns horizontal position.
  • Influence is an actual change in the fit when a point is removed.
  • A high-leverage point on the trend can increase the magnitude of correlation.
  • An influential point can have a modest residual because it pulls the line toward itself.
  • Correct errors and explain exclusions; never remove a valid case just to improve the fit.
  • Compare and report fits with and without influential observations.
4

Make inferences about the slope of a regression line

A fitted slope varies from sample to sample. Regression inference uses that variability to test a population claim and estimate a plausible range for the true mean change. The calculations rely on conditions about shape, independence, and scatter around the line. Reading the correct output row and interpreting uncertainty in context are as important as computing the statistic.

4.1 State the regression model and check its conditions

A sample line estimates a population relationship. Inference describes uncertainty from taking a sample, so it needs a model of how responses vary and a study design that supports the intended conclusion.

Separate the fitted line from the population line

The fitted line is y^=b0+b1x. Its coefficients are sample statistics: a different random sample generally produces a different slope. The population mean line is μy=β0+β1x. The Greek coefficients are unknown population parameters.

The regression model writes an individual response as

y=β0+β1x+ε.

The error ε is the individual's random deviation from the population mean line. It has mean zero and standard deviation σ, the same at every explanatory value. The sample residual standard deviation s estimates this population scatter. A residual is measured from the fitted line; a model error is measured from the unknown population line.

Check LINE

The usual t procedures for a slope rely on four conditions, remembered as LINE:

  • Linear: the mean response follows a straight line. Check the scatterplot and look for a curve in the residual plot.
  • Independent: observations do not depend on one another. Use knowledge of sampling or assignment, not just a plot.
  • Normal: at each explanatory value, responses vary normally around their mean line. Inspect a histogram or normal probability plot of the residuals for strong skewness or unusual values.
  • Equal variance: the scatter around the line is similar across the explanatory range. A fan in the residual plot is evidence against it.

The normal condition concerns variation around the line. Neither the predictor nor all the responses pooled together need have a normal distribution. Evenly spaced predictor settings in an experiment can meet the regression model.

Use the design as evidence

For sampling without replacement, a common independence rule of thumb keeps the sample below about 10% of the population. Measurements collected over time need special care: neighboring months may resemble one another, so treating them as separate independent observations can understate uncertainty. Random sampling supports independence; it does not repair repeated measurements on the same case.

A random sample supports generalization to the sampled population. Random assignment of explanatory values in an experiment supports causal conclusions. These are different roles for randomness. A sample of cars listed for sale describes that population, not every car ever manufactured.

Suppose 25 cars of one model are randomly sampled from nationwide sale listings. Their plot is roughly linear, residuals have even spread with no curve, and the residual histogram is roughly symmetric with no outliers. These checks reasonably support inference for the age slope in that listing population.

Moderate departures from normality are often tolerable, especially with larger samples. Strong skewness in a small sample and influential observations remain serious concerns. A large sample does not fix a curved mean pattern or dependence between cases. Check the conditions before interpreting a p-value or confidence interval.

Key Takeaways

  • Sample coefficients estimate unknown population coefficients.
  • The error term describes variation around the population mean line; residuals use the fitted line.
  • Check linearity, independence, normal errors, and equal variance for slope inference.
  • Assess independence from study design and normality from residuals.
  • Random sampling supports generalization; random assignment supports causal inference.

4.2 Test whether the population slope is zero

A nonzero sample slope may reflect a population relationship or sampling variation. The slope t test compares the fitted change with its standard error to assess evidence against a zero population slope.

State the population hypotheses

For a two-sided test use H0:β1=0 and Ha:β1≠0. The null says the population mean line is horizontal: the predictor adds no linear change in mean response. A directional alternative, β1>0 or β1<0, must be chosen before seeing the data.

Check the regression conditions first. The test statistic and its degrees of freedom are

t=b1SEb1,df=n−2.

The standard error estimates how much fitted slopes vary across samples. Calculate it as

SEb1=s∑(x−xˉ)2=ssxn−1.

Smaller residual scatter or more spread in predictor values makes the slope more precise. A larger sample also generally improves precision. The residual standard deviation measures individual scatter in response units; the slope standard error measures uncertainty in response units per predictor unit.

Calculate and conclude

For 25 used cars, the slope is −1,360 dollars per year and its standard error is 175.7 dollars per year. Thus t=−1360/175.7≈−7.74 with 23 degrees of freedom. The two-sided p-value is about 7.5×10−8, reported as p<0.001. At a 0.05 significance level, reject zero slope. There is very strong evidence of a negative linear relationship between age and mean price in the population sampled.

Under the null model, the p-value is the chance of a t statistic at least as extreme as the observed one in the directions covered by the alternative. It is not the probability that the null hypothesis is true.

The same test can use correlation:

t=rn−21−r2.

Testing zero population correlation gives the same t statistic and decision as testing zero slope in simple linear regression under the corresponding model conditions. With r=0.70 and only six cases, the statistic is about 1.96 with four degrees of freedom and a two-sided p-value near 0.12. A fairly large sample correlation need not give convincing evidence in a tiny sample.

Read output without overstating it

Use the row named after the explanatory variable. It lists the slope, standard error, t statistic, and usually a two-sided p-value. The intercept row tests whether the population intercept is zero; that is a different question. Output rounded to “0.000” represents a very small p-value, not an impossible event with probability zero. Report p<0.001.

For a prespecified one-sided test, halve a two-sided p-value when the fitted slope points in the alternative's direction. If it points the other way, halving would incorrectly reward evidence against the chosen direction.

Statistical significance does not establish a large, useful, or causal effect. With 400 cases and r=0.15, the p-value is about 0.003, but r2=0.0225: just 2.25% of response variation is explained. Judge practical value from the slope, its units, residual error, and context. Failure to reject zero slope leaves uncertainty; it does not establish that no relationship exists, especially if a curve or small sample is involved.

Key Takeaways

  • Test the population slope, not the sample estimate or intercept.
  • Divide the fitted slope by its standard error and use n − 2 degrees of freedom.
  • The correlation and slope tests of zero give the same t statistic in simple regression.
  • Use the explanatory-variable row and check whether software reports a two-sided p-value.
  • Choose a directional alternative before examining the result.
  • A small p-value can accompany a small explained share and limited practical value.
  • Failure to reject zero slope leaves uncertainty about the population relationship.

4.3 Estimate the slope with a confidence interval

A test asks whether the population slope differs from zero. A confidence interval adds a range of plausible slope values, showing the estimated size, direction, and precision of the relationship.

Build the interval

Use the fitted slope and its standard error:

b1±t∗SEb1.

Choose the confidence level, then find the critical value t∗ from a t distribution with n−2 degrees of freedom. The margin of error is the critical value times the slope's standard error. Use the same regression conditions as for the slope test.

For the car example, b1=−1360 dollars per year, SEb1=175.7 dollars per year, and n=25. At 95% confidence with 23 degrees of freedom, t∗≈2.069. The margin is 2.069(175.7)≈363.5 dollars per year. Thus

−1360±363.5gives(−1723.5,−996.5).

Both endpoints are negative. In plain language: “We are 95% confident that mean price for cars of this model decreases by about $997 to $1,724 per additional year of age.” Keep the population and units in the statement. The negative slope values describe a decrease; reversing their order carelessly can make the verbal range confusing.

Say what confidence refers to

The population slope is fixed but unknown. The sample, and therefore its interval, would change under repeated sampling. A 95% confidence method captures the true population slope in about 95% of intervals across many repetitions of the sampling process.

The interval concerns a change in the mean response per explanatory unit. It does not mean 95% of individual cars lose between those dollar amounts each year, nor does it give a price interval for a particular car. The same car may also differ in mileage and condition; the slope summarizes the sampled relationship with age.

Connect the interval and test

A 95% interval excluding zero agrees with rejecting zero slope in a two-sided test at the 0.05 level. An interval containing zero agrees with not rejecting at that level. This connection requires the same model, standard error, and two-sided procedure. The car interval is entirely below zero, agreeing with the small p-value and clarifying the likely size of the negative slope.

A broad interval may contain both practically small and large changes. A narrow interval estimates size more precisely, but precision alone does not make the effect important. Compare the range with the setting's meaningful changes.

Understand what controls width

A higher confidence level requires a larger critical value and produces a wider interval. More scatter around the line increases the residual standard deviation, then the slope standard error and interval width. Less spread in explanatory values also increases slope uncertainty. With comparable scatter and predictor spread, a larger sample narrows the interval.

When a study can choose explanatory values, spreading them over an appropriate range helps estimate slope. It does not justify extrapolating the fitted relationship beyond that range. Report the age range along with a car-slope interval so readers know where the estimated mean change applies.

Key Takeaways

  • Build a slope interval with b₁ ± t*SE using n − 2 degrees of freedom.
  • Interpret its endpoints as plausible population mean changes with units.
  • Confidence describes the long-run capture rate of the interval method.
  • At matching levels, excluding zero agrees with a two-sided rejection of zero slope.
  • Higher confidence and greater residual scatter widen an interval; more information narrows it.
5

Judge claims about cause and effect and report an analysis

A strong statistical relationship still leaves a question about how it arose. Study design helps separate a useful prediction from a supported cause-and-effect claim, while possible third variables and reverse causation offer competing explanations. A complete report combines that reasoning with the fitted equation, fit checks, uncertainty, population, and measured range.

5.1 Distinguish correlation from causation

An association is a pattern in measurements. A causal claim goes further: changing one variable produces a change in the other. The size of a correlation or the smallness of a p-value alone cannot make that step.

Consider competing explanations

Suppose students who study more tend to earn higher scores. Studying might improve performance. More motivated students might also study more and prepare in other ways. A high score on an earlier exam might encourage later study. Observational pairs cannot separate all these possibilities on their own.

Reverse causation means the response may help drive the proposed explanatory variable. A city with more recorded crime might hire more police. A correlation between police numbers and crime could therefore reflect the city's response to crime, instead of an effect of police on crime.

A lurking variable is omitted from the analysis but affects the relationship. Hot weather can increase both ice cream sales and swimming, creating an association between ice cream sales and drowning deaths. Confounding means effects on the response cannot be separated. If coffee drinkers also smoke more, their coffee and smoking habits are confounded in an observational comparison of lung cancer outcomes. A coffee association cannot be assigned entirely to coffee from that comparison.

Coincidence is another possibility. Searching enough unrelated variable pairs can uncover impressive sample correlations by chance. Shared trends can also make variables track one another: smartphone use and house prices might both rise over many years without one causing the other. The passage of time and wider economic changes offer alternative explanations.

Ask what the study design contributes

A randomized controlled experiment assigns explanatory conditions at random. Random assignment balances lurking factors between groups on average. A clear difference or significant slope under that design supports a causal interpretation of the assigned condition's effect.

Random sampling serves another purpose: it supports generalization to the sampled population. Randomly choosing people for an observational survey does not randomly assign their habits. A survey can therefore support a population association while leaving causal explanations unresolved.

Experiments are not always possible or ethical. Observational causal evidence becomes more convincing when findings recur across studies, the proposed cause precedes the effect, greater exposure goes with greater response, a plausible mechanism exists, and competing explanations are ruled out. The causal case for smoking and lung cancer draws on converging evidence of this kind.

Match the wording to the evidence

For observational study data, write: “Students who studied more tended to score higher,” or “Study time predicts exam score.” Avoid turning an observed slope into “Every extra hour raises a student's score by 3 points.” The second wording claims an intervention effect and an exact individual outcome that the fitted association does not supply.

Association can be a useful first clue for causal research. It is not worthless just because it leaves alternatives open. Likewise, zero linear correlation cannot rule out every causal effect: the response might curve with the predictor, or a third variable might mask the effect in the combined data.

Key Takeaways

  • A causal claim concerns what happens when a variable is changed.
  • Consider reverse causation, lurking variables, confounding, and coincidence.
  • Random assignment supports causal interpretation; random sampling supports generalization.
  • Converging observational evidence can build a causal case when experiments are unavailable.
  • Use association and prediction language for observational regression.
  • Zero linear correlation can hide curved or masked effects.

5.2 Carry out and report a complete regression analysis

A complete regression report explains the question, the evidence, and the limits in one connected account. The numbers should let a reader judge both the relationship and the usefulness of the predictions.

Follow the analysis from question to conclusion

Start by identifying the cases, where they came from, and how many there are. Name the explanatory and response variables with units. Plot the paired data, then describe direction, form, strength, and unusual features. If the form is roughly linear, calculate correlation and fit the least-squares line.

Check the residual plot for a curve or changing spread. Report the residual standard deviation and coefficient of determination: one gives typical prediction error in response units, the other gives explained variation relative to predicting the mean. Investigate unusual points and compare fits when a case may be influential.

For sample data, check the inference conditions before testing zero slope or giving a slope interval. Finish with a contextual conclusion about the sampled population and the measured explanatory range. Use causal language only when the study design or additional evidence supports it.

A curved plot calls for describing the curve, not using one line as the complete summary. Distinct clusters call for examining groups separately. A result driven by one point needs an explicit comparison of the fit with and without that point.

Read a connected example

“In a random sample of 25 used cars of one model, price had a strong, negative, linear association with age, with r=−0.85. Predicted price in dollars was 21000−1360×age in years. The linear relationship explained about 72% of price variation, and predictions were typically off by about $2,150. The slope test gave t=−7.74 with 23 degrees of freedom and p<0.001. A 95% interval estimated a mean price decrease of about $997 to $1,724 per additional year of age. The data were observational; age also tends to accompany higher mileage, so this is an association, not an isolated effect of age.”

A finished report also states the actual sampled age range and what the residual checks showed. Those details cannot be supplied by the fitted coefficients. The example's numerical results alone are not a substitute for them.

Evaluate a published claim

Ask how the data were obtained. Was the explanatory condition randomly assigned, or were existing differences observed? Was the sample representative of the population named in the conclusion? Are the cases individuals or group averages?

Then ask what the result amounts to. A small p-value can coexist with a tiny explained share. Look for the slope's units, its confidence interval, and typical prediction error. Check whether the claim extends beyond the observed range, whether an unusual point drives it, and whether many relationships were searched before this one was selected.

For example, a claim that countries with higher chocolate consumption win more Nobel prizes per person concerns countries, not individual chocolate eaters. Wealth could be related to both consumption and research resources. The observational association cannot justify a claim that eating chocolate makes an individual a prize winner.

Key Takeaways

  • State cases, source, sample size, variables, units, and measured explanatory range.
  • Use plots and influence checks before trusting fitted coefficients or inference.
  • Report slope, correlation, explained variation, and residual error together.
  • When using inference, include t, degrees of freedom, p-value, and a slope interval.
  • Match the population and causal wording to the design.
  • Check published claims for group averages, extrapolation, and selective searching.

Simple Linear Regression examples

5 Walkthroughs

1

Read the relationship before using a number

14 steps
Build a scatterplot description, calculate correlation, and check what that number leaves out.
  1. 1
    IntroductionStart with paired measurements

    A researcher records weekly study hours and exam scores for six students. Each student contributes a pair, so the data can show how the quantities vary together (an association). We will first read their pattern on a scatterplot, then measure its linear strength with correlation, and finally examine ways that a single number can hide important features.

  2. 2
    ExampleGive each variable a job

    We want to predict score from study time. Put study hours on the horizontal axis as the explanatory variable and exam score on the vertical axis as the response.

    The pairs are (2, 62), (4, 68), (5, 71), (7, 75), (8, 83), and (10, 85). Plot one point per student, keeping each pair intact. Label hours and points on the axes; leave the dots unconnected.

  3. 3
    ExplanationDescribe more than direction

    The study points rise from left to right and stay near a straight line. Describe a strong, positive, roughly linear association between study time and score.

    Also inspect gaps, clusters, and isolated observations. Strength means closeness to the pattern. Changing an axis scale can make a band look steeper, but steepness itself does not measure strength.

  4. 4
    ChallengeRead a different pattern

    Older laptops tend to have shorter battery life, with points tightly following a downward curve. How would you describe direction, form, and strength?

    ---reveal---

    The association is negative, curved, and strong. Battery life tends to fall as age increases, and the tight curve makes the relationship strong. Calling it weak because it is not straight would confuse form with strength.

  5. 5
    ExplanationMeasure the linear part

    Pearson’s r measures linear direction and strength, from −1 to 1. A sign tells you upward or downward; magnitude tells you how close the association is to a straight line.

    A value near −1 can be as strong as a value near 1. Correlation has no units and gives no points-per-hour change. It summarizes the paired pattern after accounting for both variables’ scales.

  6. 6
    ExampleFind the paired deviation products

    The study means are 6 hours and 74 points. Hour deviations are −4, −2, −1, 1, 2, 4; score deviations are −12, −6, −3, 1, 9, 11.

    Multiply within pairs to get 48, 12, 3, 1, 18, 44. Their sum is 126. Same-sign deviations give positive products; opposite-sign deviations give negative products. Product sizes matter, so counting signs alone would not determine correlation.

  7. 7
    ExampleStandardize the total

    The squared hour deviations sum to 42 and squared score deviations sum to 392. Divide the paired-product sum by the geometric scale:

    r=12642⋅392≈0.982.

    This indicates a very strong positive linear association for the six students. It is not “98.2% correlated.” Using paired sample z-scores gives the same result by adding their products and dividing by 5.

  8. 8
    ChallengeCalculate and keep the sign

    A data set has paired deviation products summing to −36, squared x deviations summing to 16, and squared y deviations summing to 100. What is its correlation?

    ---reveal---

    r=−3616⋅100=−3640=−0.90.

    The negative sign describes a downward direction. Its magnitude indicates strong linear association; it does not mean the relationship is weak.

  9. 9
    Key InsightSeparate scales from the relationship

    Converting hours to minutes leaves correlation unchanged. Swapping predictor and response also leaves it unchanged. Positive changes of units alter scales, but their effects cancel when values are standardized.

    A negative multiplier on just one variable reverses correlation’s sign. Changing units may change a regression slope later, so keep correlation and slope distinct.

  10. 10
    ExampleSee a pattern that correlation misses

    Consider anxiety levels 1, 2, 3, 4, 5 paired with scores 70, 85, 90, 85, 70. The points form a clear arch, but symmetry makes the linear correlation exactly zero.

    The score first rises, then falls. Those opposing parts cancel in the deviation-product calculation. Zero linear association therefore leaves room for a strong curved relationship.

  11. 11
    ExplanationAsk which cases the number describes

    A correlation can change when one unusual observation is added or when predictor values are restricted to a narrow band. Averages can also hide variation: a correlation of district averages describes districts.

    The same number cannot simply be assigned to their residents. Identify the cases and measured range before comparing correlations from different samples.

  12. 12
    ChallengeJudge a large correlation with a curve

    A scatterplot has r=0.95 but shows a visible bend. An analyst reports “a straight line fits because correlation is high.” What should change?

    ---reveal---

    The analyst should examine the bend and check the residual plot before using one line. A gently curved pattern can have a large correlation. The number summarizes linear association but cannot establish that a line captures the relationship’s form.

  13. 13
    ChallengeRead the cases before the conclusion

    Average income and average spending have a strong correlation across neighborhoods. Why is this insufficient to describe an individual resident’s spending from income?

    ---reveal---

    Each case is a neighborhood average, and averaging hides differences among residents. The strong association describes differences between neighborhoods. Individual spending predictions require individual-level evidence, alongside a check of the relationship’s form.

  14. 14
    RecapKeep the plot and number together

    A useful description names the cases and variables, then gives direction, form, strength, and unusual features. Correlation adds a unitless measure of linear strength.

    Before applying it, check for a curve, unusual observations, a restricted range, and group averaging. The graph retains information that the number compresses.

2

Build a line and use it in context

12 steps
Follow residuals into the least-squares calculation, then interpret coefficients and predictions.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionTurn a pattern into a prediction
  2. 2
    ExplanationDefine a prediction error
  3. 3
    ExplanationWhy square the misses?
  4. 4
    ExampleCalculate the slope
  5. 5
    ExampleUse the means to set the height
  6. 6
    ChallengeFit a new set from summaries
  7. 7
    Key InsightReversing the question changes the fit
  8. 8
    ExplanationTranslate the slope into words
  9. 9
    ExampleSubstitute, then check support
  10. 10
    ChallengeInterpret a change and a prediction
  11. 11
    ChallengeChange units without changing predictions
  12. 12
    RecapMake the equation answer the question
3

Check what the fitted line misses

13 steps
Calculate residual error and explained variation, then investigate points that can change the result.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionCheck shape and error size separately
  2. 2
    ExampleCompute each residual
  3. 3
    ExplanationLook for patterns around zero
  4. 4
    ExampleCalculate typical prediction error
  5. 5
    ChallengeCalculate and interpret s
  6. 6
    ExplanationCompare the line with the mean
  7. 7
    ExampleExplain the share in context
  8. 8
    ChallengeRecover direction after squaring
  9. 9
    ExplanationSeparate distance from influence
  10. 10
    ExampleWatch a point move the line
  11. 11
    ChallengeRespond to a suspicious point
  12. 12
    ChallengeJudge two kinds of evidence together
  13. 13
    RecapUse the checks for their own jobs
4

Use sample slopes as population evidence

16 steps
Check the regression model, read a slope test, and construct an interval for the mean change.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionDistinguish evidence from certainty
  2. 2
    ExplanationSeparate the two lines
  3. 3
    ExplanationCheck shape and scatter
  4. 4
    ExplanationCheck independence and normal errors
  5. 5
    ChallengeCheck the right distribution
  6. 6
    ExplanationAsk a population question
  7. 7
    ExplanationMeasure uncertainty in the slope
  8. 8
    ExampleCalculate the test statistic
  9. 9
    TipRead the predictor row
  10. 10
    ChallengeCompute a test from another sample
  11. 11
    ConnectionThe correlation gives the same test
  12. 12
    ExampleBuild a slope interval
  13. 13
    ExplanationInterpret confidence as a method
  14. 14
    ChallengeConnect an interval to a decision
  15. 15
    ChallengeDecide whether significance is enough
  16. 16
    RecapReport the mean change and its uncertainty
5

Judge a claim and write the report

11 steps
Compare causal explanations and connect a regression result to its design, population, and range.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionAsk what a relationship supports
  2. 2
    ExplanationConsider more than one causal direction
  3. 3
    ExampleFind a shared explanation
  4. 4
    ChallengeUse a plausible competing explanation
  5. 5
    ExplanationTell two kinds of randomness apart
  6. 6
    ChallengeMatch wording to the design
  7. 7
    ExplanationBuild the report from evidence
  8. 8
    ExampleRead a report’s numerical core
  9. 9
    TipAsk what the headline leaves out
  10. 10
    ChallengeRepair an overreaching report
  11. 11
    RecapMake the conclusion traceable

Simple Linear Regression practice questions

50 Practice Questions in 5 sets

Set 1: Read patterns and measure association10 Practice Questions

Question 1 of 10

A scatterplot follows a tight U-shaped curve, but r is near zero. What does the small r tell you?
  1. There is weak association of every form.
  2. The response varies independently of x.
  3. The plotted curve is mainly sampling noise.
  4. There is little straight-line association.
Show answerHide answer
Answer: D
Correlation summarizes a straight-line pattern, so a value near zero means little linear association. Opposing parts of a U-shaped curve can cancel in the correlation calculation. The tight curve still shows a strong relationship, so calling all association weak would discard the plot’s main feature.

Question 2 of 10

Height in inches and arm span in inches have r = 0.79. What is r after both measurements are converted to centimeters?
  1. 0.79
  2. 0.31
  3. 1.00
  4. −0.79
Show answerHide answer
Answer: A
A positive unit conversion leaves correlation unchanged, so it remains 0.79. Both the deviations and their standard deviations scale together, leaving the standardized relationship intact. Multiplying the correlation itself by a conversion factor would incorrectly give units to a unitless measure.

Question 3 of 10

A researcher predicts package delivery time from travel distance. What belongs on the horizontal axis?
  1. Delivery time in minutes
  2. Travel distance in miles
  3. The number of packages
  4. The predicted time in minutes
Show answerHide answer
Answer: B
Travel distance is the explanatory variable because it is used to predict delivery time. It belongs on the horizontal axis, labeled with miles. Delivery time is the response and belongs on the vertical axis; the response does not become explanatory simply because it is the quantity of interest.

Question 4 of 10

As battery age increases, remaining capacity tends to decrease in a tight straight band. How should the association be described?
  1. Strong, positive, and linear
  2. Weak, negative, and curved
  3. Weak, positive, and linear
  4. Strong, negative, and linear
Show answerHide answer
Answer: D
The downward trend makes the association negative, and the tight straight band makes it strong and linear. A negative direction is not a sign of weakness. Strength describes closeness to the pattern, while the sign describes whether capacity tends to rise or fall with age.

Question 5 of 10

Two linear relationships have correlations −0.88 and 0.46. Which has greater linear strength?
  1. The relationship with −0.88
  2. The relationship with 0.46
  3. Both have the same strength
  4. Their signs prevent comparison
Show answerHide answer
Answer: A
Compare the magnitudes: 0.88 is greater than 0.46, so the negative relationship is stronger. The minus sign says that the variables tend to move in opposite directions. Treating every positive correlation as stronger confuses direction with closeness to a straight line.

Question 6 of 10

For paired data, the sum of squared x deviations is 25, the sum of squared y deviations is 144, and the sum of paired deviation products is −48. What is r?
  1. −0.32
  2. −0.96
  3. −0.80
  4. 0.80
Show answerHide answer
Answer: C
Use r=−48/25⋅144=−48/60=−0.80. The product sum supplies the negative sign; the denominator standardizes the result using both variables. Dividing only by 25 would calculate the regression slope, which has units and is not a correlation.

Question 7 of 10

A survey of all runners finds r = 0.67 between weekly distance and race speed. A survey restricted to runners training 28–30 miles weekly finds a much smaller r. What feature can explain the difference?
  1. Changing miles to kilometers
  2. Restricting the predictor range
  3. Swapping the two graph axes
  4. Changing the order of the rows
Show answerHide answer
Answer: B
Restricting training distance removes much of its useful spread, which often weakens correlation within that narrow group. The smaller value describes those runners, not the entire training range. A positive unit conversion would leave correlation unchanged and cannot explain the difference.

Question 8 of 10

District average income and average library use have r = 0.91. A writer concludes that individual residents’ income and library use must have r = 0.91. What is the error?
  1. It treats an average income as each person’s income.
  2. It treats a strong correlation as a causal effect.
  3. It assigns district-level strength to individuals.
  4. It extends the district line beyond its income range.
Show answerHide answer
Answer: C
Each plotted case is a district average, so 0.91 describes differences between districts. Averaging can hide considerable variation among residents. Assigning that same strength to individuals is an ecological error; the large district-level correlation does not supply an individual-level correlation.

Question 9 of 10

A scatterplot of rent and floor area shows two separate tight rising bands, one for each neighborhood. What should an analyst examine next?
  1. The patterns within each neighborhood
  2. Only the steeper of the two bands
  3. A line connecting all points by rent
  4. The correlation after sorting rents alone
Show answerHide answer
Answer: A
Examine the neighborhoods separately to see whether their patterns differ in level or slope. A combined plot can mix distinct groups and hide those differences. Sorting rents separately from areas would break the original pairs, so any resulting relationship would no longer describe the apartments measured.

Question 10 of 10

Three pairs have x values 1, 2, 3 and y values 2, 4, 3. Their means are 2 and 3, and sample standard deviations are both 1. What is r?
  1. 1.00
  2. 0.25
  3. 0.75
  4. 0.50
Show answerHide answer
Answer: D
The paired standardized products are 1, 0, and 0, so their sum is 1. Divide by n−1=2 to get r=0.50. Using the product sum alone would give 1.00 and omit the sample-standardization divisor; these points do not lie on a perfect straight line.
Set 2: Fit a line and interpret its predictions10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A slope is 12 dollars per hour. What is the slope when the same predictor is measured in minutes?
  1. 720 dollars per minute
  2. 0.20 dollars per minute
  3. 12 dollars per minute
  4. 5.00 dollars per minute
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A line predicts y from x with slope 2, and r = 0.8. What is the slope of the least-squares line predicting x from y?
  1. 0.50
  2. 1.25
  3. 0.40
  4. 0.32
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Fish lengths of 8–20 inches give fitted weight ŷ = −12 + 3x ounces. The fit and residual checks support a line over that range. What is the most defensible interpretation at x = 5?
  1. The fish should weigh exactly 3 ounces.
  2. The fish should weigh about 15 ounces.
  3. The 3-ounce result is unsupported extrapolation.
  4. The intercept makes every prediction unusable.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A fitted least-squares line has an intercept, x̄ = 12, and ȳ = 48. What value must it predict at x = 12?
  1. 48
  2. 36
  3. 12
  4. 60
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A fitted value is 42 units and the observed value is 37 units. What is the residual?
  1. 5 units
  2. 37 units
  3. −5 units
  4. 42 units
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A data set has r=−0.6, sx=4, sy=10, xˉ=8, and yˉ=30. What is its least-squares line?
  1. ŷ = 42 − 1.5x
  2. ŷ = 42 − 0.6x
  3. ŷ = 18 − 1.5x
  4. ŷ = 18 + 1.5x
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Predicted cooling time in minutes is 18 + 2.4 × mass in kilograms. What does 2.4 mean?
  1. Every object takes exactly 2.4 minutes to cool.
  2. Each extra minute predicts 2.4 more kilograms.
  3. A zero-kilogram object cools in 2.4 minutes.
  4. Each extra kilogram predicts 2.4 more minutes.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

For homes with floor areas 900–2,200 square feet, predicted monthly energy use is 150 + 0.4 × area, in kWh. What does the intercept 150 represent?
  1. Typical prediction error for the sampled homes
  2. Predicted use at zero area, outside the data range
  3. Predicted use for the smallest sampled home
  4. Average use for homes of 150 square feet
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A fitted line predicts monthly cost in dollars as 24 + 6x, where x is machine-hours. What cost does it predict for 7 machine-hours?
  1. 66 dollars
  2. 30 dollars
  3. 168 dollars
  4. 42 dollars
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Two candidate lines give residuals (−3, 3) and (−1, 4). Which has the smaller sum of squared residuals?
  1. The first, because its residual sum is zero
  2. The first, because its SSE is 6
  3. The second, because its SSE is 17
  4. The second, because its residual sum is 3
Show answerHide answer

Save this lesson to see this answer.

Set 3: Check residuals and unusual observations10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A residual plot is positive at both ends of the predictor range and negative in the middle. What problem does this pattern suggest?
  1. A curved mean relationship
  2. An unusually small slope error
  3. A reversed response axis
  4. Independent observations
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

For a fitted line with an intercept and slope, n = 11 and SSE = 81. What is the residual standard deviation?
  1. 9 units
  2. 2.71 units
  3. 8.10 units
  4. 3 units
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A simple regression has r = −0.7. What share of response variation is explained by its line?
  1. 70%
  2. 49%
  3. −49%
  4. 30%
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A least-squares line with an intercept has SST = 500 and SSE = 125. What does its coefficient of determination mean?
  1. 25% of the points lie on the line.
  2. 75% of the predictions are exact.
  3. 75% of response variation is explained.
  4. 25% of response variation is explained.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An observation has an ordinary predictor value and a residual of −19 when s = 6. How should it be flagged by the rough residual rule?
  1. High leverage because its response is low
  2. No flag because its predictor is ordinary
  3. A regression outlier needing investigation
  4. No flag because its residual is negative
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Removing one point changes the slope from 0.9 to −0.2. What feature has this comparison established?
  1. The point is influential.
  2. It is a recording error.
  3. It has the largest residual.
  4. It is from a new population.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A fit has r = 0.94 and a residual plot whose spread grows sharply with x but has no curve. What is the main implication for the usual slope t inference?
  1. The large r makes the spread change negligible.
  2. The main concern is a curved mean response.
  3. The residual fan is evidence of nonnormal predictors.
  4. The equal-variance condition is doubtful.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A regression output gives R² = 0.64 and a negative fitted slope. What is the sample correlation?
  1. 0.64
  2. −0.80
  3. −0.64
  4. 0.80
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

An isolated high-x point lies near the extended trend. With it, r = 0.96; without it, r = 0.73 and the slope is similar. What has the point mainly changed in these results?
  1. It has created a large vertical error.
  2. It has reversed the predicted direction.
  3. It has made the slope equal to correlation.
  4. It has strengthened the reported linear association.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Two delivery models each have R² = 0.81. Their residual standard deviations are 2 minutes and 18 minutes. What can be concluded from these summaries?
  1. Equal relative fit can have very different error sizes.
  2. The first model must have a larger slope.
  3. The second model explains a smaller share of variation.
  4. Both models make equally precise time predictions.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Test and estimate a population slope10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A decrease was specified before data collection. The fitted slope is negative and its two-sided p-value is 0.036. At α = 0.02, what is the directional test decision?
  1. Reject; use p = 0.018.
  2. Do not reject; use p = 0.072.
  3. Reject; use p = 0.036.
  4. Do not reject; use p = 0.036.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

For n = 12 and r = 0.60, what t statistic and degrees of freedom test zero population correlation?
  1. t ≈ 1.90; df = 10
  2. t ≈ 2.37; df = 11
  3. t ≈ 2.37; df = 10
  4. t ≈ 1.90; df = 11
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

In a regression model, what does β₁ represent?
  1. The slope computed from the sample
  2. The slope of the population mean line
  3. The standard error of the sample slope
  4. The spread of individual model errors
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A regression uses 18 independent cases, with b₁ = 1.8 and SE = 0.6. What are the t statistic and degrees of freedom for testing zero slope?
  1. t = 1.2; df = 16
  2. t = 3; df = 17
  3. t = 3; df = 16
  4. t = 1.2; df = 18
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A study takes five measurements from each of 12 people and analyzes all 60 as independent cases. What concern should be checked first?
  1. Measurements within a person may be dependent.
  2. The sample must exceed 10% of the population.
  3. Every person needs the same response value.
  4. Predictor values may not be normal.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A slope output row shows estimate −8, SE 2, t = −4, and two-sided p = 0.001. The intercept row has p = 0.62. At α = 0.05, what does the relationship test conclude?
  1. No evidence, because the intercept p-value is large.
  2. A causal decrease of exactly 8 per person.
  3. A 0.1% probability that the slope is zero.
  4. Evidence of a nonzero population slope.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A fitted slope is 4.2 points per session, its SE is 0.8, and the chosen critical value is 2.10. What is the confidence interval?
  1. 3.40 to 5.00 points per session
  2. 2.10 to 6.30 points per session
  3. 1.68 to 4.20 points per session
  4. 2.52 to 5.88 points per session
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Under the same model, a 95% slope interval is (−0.7, 2.3). What follows for a two-sided test of zero slope at α = 0.05 and the possible direction?
  1. Reject; the midpoint shows a positive slope.
  2. Do not reject; both slope directions remain plausible.
  3. Do not reject; the population slope is exactly zero.
  4. Reject; the interval endpoints are unequal.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Two planned studies use the same sample size and expected residual scatter. Study B doubles the spread of predictor values, so Σ(x − x̄)² is four times larger. With the same confidence level, how does B’s slope interval width compare?
  1. It is four times as wide.
  2. It is unchanged.
  3. It is half as wide.
  4. It is twice as wide.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Residuals from a random sample show no curve, roughly even spread, and a symmetric distribution without unusual values. The predictor distribution is strongly skewed. How does the predictor’s skewness affect the normality check?
  1. It establishes that the errors are nonnormal.
  2. It does not violate the normal-error condition.
  3. It requires discarding half the predictor range.
  4. It makes the population slope equal to zero.
Show answerHide answer

Save this lesson to see this answer.

Set 5: Judge conclusions and combine the evidence10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

What feature of a study directly supports a causal interpretation of an assigned treatment’s effect?
  1. A very large observational correlation
  2. A random sample from the population
  3. A high percentage of explained variation
  4. Random assignment to treatment conditions
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Shops with more security staff report more theft. Managers often hire extra staff after repeated theft. What alternative to “staff cause theft” does this suggest?
  1. A common outside cause of theft and staffing
  2. Reverse causation from theft to staffing
  3. A chance association unrelated to hiring decisions
  4. A demonstrated staffing effect on theft levels
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

In a survey, buyers of premium exercise equipment have higher incomes and buy more coaching. What study design would most directly help isolate equipment’s effect on fitness?
  1. Randomly assign equipment access to comparable groups.
  2. Randomly sample more buyers from the same population.
  3. Compare average fitness across income regions only.
  4. Select buyers whose spending best predicts fitness.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A random sample of 600 orders gives p = 0.002 for a delivery-distance slope, R² = 0.015, and s = 22 minutes. A client needs errors typically below 5 minutes. How should the result be judged?
  1. Significance establishes the client’s required accuracy.
  2. Small R² establishes an exactly zero population slope.
  3. There is slope evidence, but typical errors exceed the need.
  4. The p-value shows only 0.2% of predictions will fail.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A valid machine record at an extreme setting changes a fitted slope from 5 to 1 when included. The record has been checked and belongs to the target population. What should the report do?
  1. Report the full fit alone because the record is valid.
  2. Report both fits and explain the record’s influence.
  3. Report the reduced fit alone because its range is typical.
  4. Average the two slopes and report the combined value.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A 95% interval for a slope is −6 to −2 grams per day. What does the interval estimate?
  1. The population mean change per additional day
  2. The daily loss of 95% of individual objects
  3. The response mass of each object after one day
  4. The chance that this fixed slope is negative
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A random sample of 36 rental units has x = floor area from 500–1,400 square feet and y = monthly rent. The fit is ŷ = 400 + 1.2x, r = 0.8, and s = 160 dollars; residuals support a line. What is a sound prediction report for 1,000 square feet?
  1. Predicted rent is 1,600 dollars; 80% of rents equal that prediction.
  2. Predicted rent is 1,200 dollars; typical errors are about 160 dollars.
  3. Predicted rent is 1,600 dollars; typical errors are about 160 dollars.
  4. Predicted rent is 1,200 dollars; 64% of rents equal that prediction.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

An analyst searches 2,000 unrelated variable pairs and reports only the strongest sample correlation. What issue should a reader raise about that selected result?
  1. The strongest result is the least biased correlation estimate.
  2. More searched pairs make a chance result less likely.
  3. A large selected correlation removes the need to replicate.
  4. Extensive searching can select a chance association.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A study of towns finds that average commute length predicts average stress. A headline recommends that an individual move to any town with a shorter average commute to reduce stress. What evidence is missing for that conclusion?
  1. Individual causal evidence about changing commute conditions
  2. A larger correlation between the same town averages
  3. A town-level slope interval that excludes zero
  4. A random sample of towns drawn from a wider region
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A report gives a strong linear correlation and a tiny slope p-value, but its residual plot has a clear curve. What should be changed before presenting one line as the model?
  1. Keep the line because its correlation is strong.
  2. Reconsider the linear model and describe the curve.
  3. Keep the line because its slope differs from zero.
  4. Use a larger sample to make the curve unimportant.
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

57 Key Terms, each with its definition

A

Association
An association exists when knowing one variable’s value gives information about another variable’s likely value among the cases studied.
A falling band of price against car age shows a negative association between those two measurements.

B

Bivariate quantitative data
Bivariate quantitative data are pairs of numeric measurements recorded on the same cases, with each pair describing one individual or object.
Each apartment contributes its floor area and monthly rent as one pair of bivariate quantitative data.

C

Causation
Causation means that changing one variable produces a change in another, a claim requiring evidence beyond an observed association alone.
Randomly assigning study conditions can help test whether changing a condition affects exam outcomes.
Coefficient of determination
The coefficient of determination is the share of response variation explained by the fitted linear relationship, commonly labeled R-squared.
R-squared of 0.64 means the line explains 64% of response variation compared with using the response mean.
Confidence level
A confidence level is the long-run fraction of intervals made by a sampling method that would capture the fixed population parameter.
A 95% method captures the true slope in about 95% of intervals across many repeated random samples.
Confounding
Confounding occurs when the effects of associated factors on a response cannot be separated by the comparison available in the study.
Coffee and smoking habits can be confounded when both differ between groups compared for cancer outcomes.
Critical t value
A critical t value is the multiplier selected from a t distribution for a confidence level and the applicable degrees of freedom.
For 23 degrees of freedom, the 95% two-sided slope interval uses a critical t value near 2.069.

D

Degrees of freedom
Degrees of freedom count the independent information available after estimation; a simple regression’s error calculations use sample size minus two.
Fitting a slope and intercept to 20 cases leaves 18 degrees of freedom for the residual variance.
Deviation product
A deviation product multiplies two paired differences from their respective means; its sign and size contribute to correlation.
A case below both means gives a positive deviation product because two negative differences multiply.

E

Ecological correlation
An ecological correlation describes an association between group averages or rates, so the cases are groups instead of individuals.
A correlation between district average income and district library use is an ecological correlation.
Ecological fallacy
An ecological fallacy assigns a group-level relationship to individuals even though the grouped data do not establish that individual pattern.
Inferring residents’ personal habits from the correlation of town averages commits an ecological fallacy.
Equal variance condition
The equal variance condition requires similar response scatter around the population line throughout the explanatory range of the model.
A residual cloud with roughly the same vertical spread at small and large distances supports equal variance.
Explained variation
Explained variation is the response variation accounted for by a fitted relationship, measured as a reduction in squared error from the mean baseline.
A drop in squared error from 500 to 125 accounts for 375 of the original 500 squared response units.
Explanatory variable
An explanatory variable supplies information used to explain or predict a response; it is also called a predictor or independent variable.
When distance predicts travel time, distance is the explanatory variable on the horizontal axis.
Extrapolation
Extrapolation uses a fitted relationship outside the observed explanatory range, where the data do not establish that its form continues.
Using a line based on 2–10 study hours to predict a score at 20 hours is extrapolation.

F

Fan-shaped residual pattern
A fan-shaped residual pattern has a vertical spread that grows or shrinks along the horizontal axis, indicating unequal error variance.
A residual fan widening toward larger orders indicates less precise predictions for those order sizes.
Fitted value
A fitted value is the response predicted by an estimated regression line at a particular explanatory value, commonly written as y-hat.
If a line fitted to study hours predicts 74 exam points at 6 hours, 74 is the fitted value there, whether or not a score was observed.

H

High-leverage point
A high-leverage point has an explanatory value far from the explanatory mean, giving it potential to pull the fitted line toward itself.
A 20-hour study time has high leverage in data otherwise concentrated between 2 and 10 hours.

I

Independence condition
The independence condition requires observations to supply separate information; study design is needed to assess dependence between cases.
Repeated measurements on one participant may violate independence if treated as unrelated people.
Influential point
An influential point substantially changes a fitted slope, intercept, or correlation when removed, as revealed by comparing the two fits.
If removing one valid record changes the slope’s sign, that record is influential in the analysis.
Intercept
A fitted intercept is the predicted response when the explanatory variable equals zero, measured in the response variable’s units.
An intercept of 56 points places a line predicting exam score from weekly study time at 56 when study time is set to zero hours.
Interpolation
Interpolation uses a fitted relationship to predict for an explanatory value inside the range of explanatory values actually observed.
Predicting for a 12-inch fish is interpolation when the measured fish lengths range from 8 to 20 inches.

L

Least-squares regression line
A least-squares regression line is the fitted straight line that minimizes the sum of squared vertical residuals for the observed data.
Software chooses the least-squares line by comparing squared prediction errors over all recorded pairs.
Linearity condition
The linearity condition requires the mean response to follow a straight line across the explanatory range used in the regression model.
A clear curved pattern in residuals challenges the linearity condition even when correlation is large.
Lurking variable
A lurking variable is omitted from an analysis but affects the relationship between the variables being studied, offering another explanation.
Hot weather is a lurking variable when ice cream sales and swimming incidents rise together.

M

Margin of error
A margin of error is the amount added to and subtracted from an estimate to form an interval; for a slope it is t critical value times standard error.
A slope standard error of 0.5 and a critical multiplier of 2.1 give a margin of error of 1.05.
Model error
A model error is an individual response’s random deviation from the population mean line, with mean zero under the regression model.
Two cars of the same age may differ in price because their model errors differ around the mean price.

P

P-value
A p-value is the probability, under the null model, of a test statistic at least as extreme as observed in the directions being tested.
A two-sided slope p-value of 0.01 counts extreme t results in both the positive and negative tails.
Pearson correlation coefficient
Pearson’s correlation coefficient is a unitless number from −1 to 1 that measures the direction and strength of a linear association.
A correlation of −0.86 describes a strong downward linear pattern between age and resale price.
Perfect linear association
A perfect linear association places every point on one line with nonzero slope, giving a correlation of exactly 1 or exactly −1.
Converting every temperature from Celsius to Fahrenheit produces a perfect positive linear association.
Point of means
The point of means pairs the mean explanatory value with the mean response; a least-squares line with an intercept passes through it.
If the means are 6 hours and 74 points, the fitted line must pass through the point of means (6, 74).
Population regression line
A population regression line gives the mean response at each explanatory value using unknown population intercept and slope parameters.
A population line for car prices describes the mean listing price at each car age in the population sampled.
Population slope
A population slope is the unknown mean response change per explanatory unit; the sample slope estimates this fixed population parameter.
In a regression of car price on age, the sample slope estimates how much mean price changes with each additional year of age in the population.
Practical importance
Practical importance concerns whether a relationship’s size and prediction errors matter for the purpose at hand, beyond statistical significance.
An error of 20 minutes may make a delivery model unsuitable when scheduling needs errors near 5 minutes.

R

Random assignment
Random assignment uses chance to allocate explanatory conditions, balancing lurking factors between groups on average and supporting causal inference.
Assigning participants by chance to training schedules helps separate schedule effects from existing motivation.
Random sample
A random sample selects cases through chance from a defined population, supporting generalization to that population under the sampling design.
Randomly sampling nationwide sale listings supports conclusions about that listing population of cars.
Refitting
Refitting recalculates a model after a specified data change, allowing its sensitivity to a suspicious observation or subgroup to be examined.
Refitting without an isolated record shows how much that record contributes to the estimated slope.
Regression outlier
A regression outlier is an observation with a large residual relative to the usual scatter, sitting far above or below the fitted line.
A midrange study time paired with a much higher score than predicted can form a regression outlier.
Residual
A residual is the observed response minus its fitted value, measuring a signed vertical prediction error in the response’s units.
A recorded response of 52 and a prediction of 57 give a residual of −5, placing the point below the line.
Residual plot
A residual plot graphs signed prediction errors against explanatory or fitted values, revealing patterns that a fitted line misses.
A residual plot with positive errors at both ends and negative errors in the center reveals a curve.
Residual standard deviation
The residual standard deviation measures typical prediction error around the fitted line in response units, using two fitted coefficients.
A residual standard deviation of 18 minutes means delivery-time predictions are typically off by about 18 minutes.
Resistance
Resistance is a statistic’s ability to remain fairly stable when unusual observations are present; correlation is not resistant.
A single far-out pair can change correlation sharply, illustrating its lack of resistance.
Response variable
A response variable is the quantitative outcome being predicted or explained; it is also called an outcome or dependent variable.
Monthly energy use is the response variable when the question predicts it from a building’s floor area.
Restricted range
A restricted range limits the variation of a variable to a narrower band, often weakening the correlation measured within that band.
Studying only very high-scoring applicants restricts the score range used to predict first-year grades.
Reverse causation
Reverse causation occurs when the proposed response influences the proposed explanatory variable, reversing the direction of a causal claim.
High crime can prompt more police hiring, offering reverse causation for a police–crime association.

S

Scatterplot
A scatterplot places paired quantitative measurements on two axes so that direction, form, strength, and unusual features can be examined.
A scatterplot of battery age and capacity shows whether older batteries tend to hold less charge.
Scope of inference
The scope of inference is the population and type of conclusion supported by the study design, including whether a causal interpretation is justified.
An observational sample of sale listings supports price associations for that population, not a randomized age effect.
Selective searching
Selective searching examines many possible relationships and highlights striking results while hiding how many opportunities for chance findings existed.
Reporting only the largest correlation from thousands of pairs hides the selection behind the result.
Slope
A fitted slope is the change in predicted response for each one-unit increase in the explanatory variable, with units of response per predictor.
A slope of 3 points per hour predicts a 3-point increase in exam score for one additional study hour.
Slope confidence interval
A slope confidence interval estimates plausible population slope values using a fitted slope, its standard error, and a t critical value.
An interval entirely below zero supports a negative mean response change over the measured predictor range.
Slope standard error
A slope standard error estimates how much fitted slopes vary between samples and has units of response per explanatory unit.
A smaller slope standard error produces a larger absolute t statistic for the same fitted slope.
Slope t statistic
A slope t statistic compares the fitted slope’s distance from its hypothesized value with its standard error, using sample size minus two degrees of freedom.
A fitted slope of 2.4 with standard error 0.6 gives a zero-slope t statistic of 4.
Standardized value
A standardized value, or z-score, expresses how far an observation lies above or below its mean in standard-deviation units.
A study time one standard deviation above the sample mean has a standardized value of positive one.
Statistical significance
Statistical significance occurs when the p-value is below the chosen significance level, supplying evidence against the null under the model.
A slope can be statistically significant in a large sample even while its line explains little variation.
Sum of squared errors
The sum of squared errors, SSE, adds the squares of the residuals and measures the total squared error remaining after fitting the line.
Residuals of −2 and 3 contribute 4 and 9 to SSE, so their combined contribution is 13 squared response units.

T

Total sum of squares
The total sum of squares, SST, adds squared response deviations from their mean and gives the prediction-error baseline for R-squared.
If every price is predicted by the mean price, the resulting squared errors add to the total sum of squares.

U

Unexplained variation
Unexplained variation is the response variation left in residuals after fitting the model; its share of total variation is SSE divided by SST.
When R-squared is 0.64, the residuals retain 36% of the response variation measured by total squares.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started