Section 4.1 Lecture: Statistical Significance of a Correlation Coefficient
Overview
Brad Hall introduces correlation as a way to measure the direction and strength of a linear relationship between two numerical variables, then explains how to test whether the population correlation coefficient, ρ, differs from zero. Examples using employee training data, college football statistics, and LSU Dairy Store data demonstrate the t-test workflow in Excel, including how to calculate r, choose the test tail, interpret the p-value, and check scatter plots for nonlinearity.
Key takeaways
- The sample correlation rₓᵧ ranges from −1 to 1: its sign indicates the direction of linear association, while its absolute value indicates strength.
- For testing a population correlation, use t = r√(n − 2) / √(1 − r²) with n − 2 degrees of freedom, and select the test tail from the alternative hypothesis.
- A p-value at or below α leads to rejection of the null hypothesis; a larger p-value means the sample does not provide sufficient evidence to reject it.
- In the football example, 136 teams produced r = 0.6715 and p ≈ 3.65 × 10⁻¹⁹, strong evidence of a positive linear association between passing yards and points.
- A nonsignificant linear correlation does not rule out every kind of relationship: the LSU Dairy Store data had r ≈ −0.0541 and p ≈ 0.633, but its scatter plot showed a curved, negative quadratic pattern.
- Statistical correlation does not establish causation; an apparent association between attending LSU games and team wins, for example, could be explained by home-field advantage.
Chapters
- Brad Hall frames regression analysis around questions about relationships between numerical variables, such as advertising expenditure and sales revenue.
- A scatter plot of college football teams compares season passing yards with points scored, with each point representing one team.
- Scatter plots help assess whether a relationship appears positive, negative, or absent, whether it is roughly linear, and whether unusual observations appear.
- The sample correlation coefficient is written rₓᵧ and describes the direction and strength of the linear relationship between variables X and Y.
- The coefficient can be calculated using the sample covariance and the sample standard deviations of X and Y.
- Hall notes that the covariance and standard deviation values will be supplied in the course problems rather than calculated from raw observations.
- A correlation coefficient ranges from −1 to 1: positive values indicate a positive linear direction, and negative values indicate a negative direction.
- The absolute value, |rₓᵧ|, indicates strength: values nearer 1 or −1 are stronger, while values nearer zero are weaker.
- A coefficient of 1 or −1 represents a perfect linear relationship; a coefficient of zero indicates no linear relationship.
- The population correlation coefficient ρ is the parameter describing the direction and strength of a linear relationship in a population.
- A sample correlation r is used to make an inference about ρ because population parameters are generally not feasible to measure directly.
- The alternative hypothesis specifies the claim: ρ ≠ 0 tests for either direction, ρ > 0 tests for a positive relationship, and ρ < 0 tests for a negative one.
- The test statistic is t = r√(n − 2) / √(1 − r²), using sample correlation r and sample size n.
- The test uses n − 2 degrees of freedom, which Hall identifies as a fixed feature of the correlation test.
- Use a right-tailed, left-tailed, or two-tailed t test to match the alternative hypothesis; the two-tailed test uses the absolute value of t.
- Compare the p-value with significance level α: reject the null when p ≤ α, otherwise fail to reject it.
- With n = 30 and r = 0.42, the test statistic is t = 2.449, with 28 degrees of freedom.
- The alternative hypothesis is ρ > 0, so the example uses a right-tailed t test in Excel.
- The p-value is about 0.01, below α = 0.05, so the null hypothesis is rejected.
- The positive sample correlation and significant test support a positive linear relationship in the population.
- For employee training hours and job performance scores, the given values are n = 20, covariance = 30, and standard deviations 8 and 12.
- Calculating r = 30 ÷ (8 × 12) gives a sample correlation of 0.3125.
- Because the claim is that the population correlation is positive, the hypotheses use a right-tailed test with alternative ρ > 0.
- The test statistic is t = 1.396 with 18 degrees of freedom, and the p-value is approximately 0.0899.
- The college football example compares each team's passing yards, X, with points scored, Y.
- Hall uses Excel's CORREL function with the passing-yards range D2:D137 and points range H2:H137.
- The resulting sample correlation is r = 0.6715, indicating a positive sample association.
- The claim that the population correlation differs from zero calls for a two-tailed test.
- With 136 teams and r = 0.6715, the correlation test statistic is approximately t = 10.490, with 134 degrees of freedom.
- The two-tailed Excel t-test calculation uses the absolute value of the test statistic.
- The p-value is approximately 3.65 × 10⁻¹⁹, effectively zero and far below a conventional significance level.
- The data provide strong evidence of a nonzero linear relationship; because r is positive, the supported direction is positive.
- A generated LSU Dairy Store data set examines daily outside temperature and store revenue across 80 observations.
- Excel's CORREL function applied to the temperature and revenue columns gives r ≈ −0.0541.
- The claim that the population correlation differs from zero sets up a two-tailed test.
- The negative sample coefficient suggests a slight negative linear association, but its size alone does not establish statistical significance.
- For n = 80 and r ≈ −0.0541, the test statistic is approximately t = −0.479 with 78 degrees of freedom.
- The two-tailed p-value is approximately 0.633, which exceeds the stated α = 0.10.
- The test fails to reject the null, so it does not provide sufficient evidence of a population linear correlation between temperature and revenue.
- A large p-value is not proof that the variables have no relationship; the test specifically assesses linear correlation.
- Hall creates an Excel scatter plot by selecting the temperature and revenue columns and inserting a standard scatter chart.
- The plotted observations curve downward in a pattern described as a negative quadratic, rather than following a straight-line trend.
- Because correlation testing targets linear relationships, applying it as the full analysis of this curved data is flawed.
- The scatter plot reveals structure that the small correlation coefficient and nonsignificant test do not describe.
- A statistically significant correlation does not show that one variable causes the other; additional factors may explain their association.
- Hall's LSU football example distinguishes attending games from causing wins: home-field advantage is a possible underlying factor.
- The lecture closes by connecting correlation analysis to the next topic, simple linear regression models.
Transcript excerpt
0:01 Hey everyone. This is the start of the unit three material. This is going to cover primarily regression analysis. And we'll start off with module five, which is going to focus on really the fundamentals of correlation and regression. So, for section 4.1, we'll talk in particular about statistical significance of a correlation coefficient. And start to lay down the groundwork for one of the most important aspects of inferential statistics, which is regression analysis. So, to sort of motivate what brings us into this framework of thinking, we're often interested in determining whether
0:48 really two numerical variables are related. So, we've talked before about trying to see associations between um two categorical variables. But now we're looking at two numerical variables, which is the most prominent data set that we could expect. So, I have here in the notes, a marketing analyst may investigate whether advertising expenditures are associated with sales revenue. Um another situation, you might want to find a connection between house size and property tax. So, there is one way that you might be and should be familiar with coming from ISTS 2000,
1:36 a visual way of seeing a relationship between two numerical variables. And that's by using a scatter plot. So, you may remember that from ISTS 2000. Here we're not really going to focus on the construction of these, but this give us a this gives gives a nice visual representation of how two variables can interact. So, what I have here in the notes for figure 4.1, I took from the college football data set that I introduced all the way back in the very first section, and we've looked at it a couple of times since. We're in We're going to end up bringing it back up throughout um this section and really throughout
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Brad Hall.