Coefficient of determination in inference context

    Understanding the Coefficient of Determination (r²) in Inference for Slopes

    In the context of inference for quantitative data: slopes, the coefficient of determination, denoted as r² (pronounced 'R-squared'), plays a crucial role in understanding the goodness of fit of a linear regression model. While r² is introduced when learning about correlation and regression, its interpretation gains deeper significance when performing inferential procedures such as constructing confidence intervals for slopes or conducting hypothesis tests.

    Definition and Calculation

    • Definition: r² represents the proportion of the variation in the dependent variable (y) that can be explained by the linear relationship with the independent variable (x). It's a measure of how well the regression line predicts the observed y-values.
    • Calculation: r² is the square of the correlation coefficient (r). It can also be calculated as:
      • r² = 1 - (SSE / SST)
      • Where SSE (Sum of Squared Errors or Residuals) is the sum of the squared differences between the observed y-values and the predicted y-values (Σ(yᵢ - ŷᵢ)²).
      • And SST (Total Sum of Squares) is the sum of the squared differences between the observed y-values and the mean of y (Σ(yᵢ - ȳ)²).
    • Range: r² always falls between 0 and 1, inclusive.

    Interpretation in Inference

    A higher r² value indicates that a larger proportion of the variation in the dependent variable is accounted for by the model, suggesting that the independent variable is a good predictor. Conversely, a low r² means that much of the variation in y is not explained by the model, implying other factors are at play or the linear model is not appropriate.

    • For instance, if r² = 0.75 when examining the relationship between study time (x) and exam score (y), we would interpret this as: "75% of the variation in exam scores can be explained by the linear relationship with study time." The remaining 25% of the variation is due to other factors not included in the model or random variability.

    Relationship to Hypothesis Testing for Slopes

    While r² doesn't directly provide a p-value for the slope, it offers valuable context. A statistically significant slope (e.g., rejecting H₀: β = 0) indicates that there's a linear relationship between x and y in the population. However, a significant slope might still be associated with a relatively low r². This means the relationship, while real, might not be strong enough to make very precise predictions or explain a large portion of the variability.

    • If a hypothesis test for the slope (β) yields a small p-value (e.g., p < 0.05), we conclude there's a statistically significant linear relationship. However, if r² is, say, 0.15, it implies that even though the relationship is significant, only 15% of the variation in the dependent variable is explained by the independent variable. This suggests the model has limited predictive power despite the presence of a relationship.
    • Conversely, a high r² (e.g., 0.90) combined with a significant p-value for the slope indicates a strong and statistically reliable linear relationship, meaning the independent variable is a powerful predictor of the dependent variable.

    Distinction from Correlation Coefficient (r)

    • The correlation coefficient (r) measures the strength and direction of the linear relationship between two quantitative variables. Its range is from -1 to 1.
    • The coefficient of determination (r²) measures the proportion of variance explained. It only indicates strength, not direction.
    • For example, r = -0.8 and r = 0.8 both result in r² = 0.64, meaning 64% of the variance in y is explained by x, regardless of whether the relationship is positive or negative.

    Practice questions

    1

    What does a coefficient of determination (r²) of 0.65 mean in the context of a linear regression model predicting crop yield from fertilizer amount?

    2

    If a hypothesis test for the slope of a regression line yields a significant p-value, but the r² is only 0.10, what can be concluded?

    3

    What is the primary difference in interpretation between the correlation coefficient (r) and the coefficient of determination (r²) in a regression analysis?

    4

    Can a linear regression model have a high r² value if the relationship between the variables is not linear?

    Practice more free →

    Free AP4U account — unlimited practice, AI grader, and progress tracking.

    Canonical: https://apforu.com/ap/statistics/unit-9-inference-for-quantitative-data-slopes/coefficient-of-determination-in-inference-context