Linear regression and correlation · Exercises
0 of 14 solved
1Products of deviations
For the pairs , , and , calculate the centered sum of products .
Solution available to those who have unlocked the subject. Unlock now
2Slope from centered sums
In a regression with an intercept, and . Calculate the slope .
Solution available to those who have unlocked the subject. Unlock now
3Residual for one point
The fitted line is and one observed point is . Calculate its residual.
Solution available to those who have unlocked the subject. Unlock now
4Residual variability from R-squared
For a regression with an intercept, and . Calculate .
Solution available to those who have unlocked the subject. Unlock now
5Correlation from centered sums
Paired data have , , and . Calculate Pearson’s correlation coefficient.
Solution available to those who have unlocked the subject. Unlock now
A problem of the same type, worked step by step: Sheet 5 · Pearson and Spearman correlations
6Rank assigned to tied observations
In a calculation of Spearman’s rank correlation, the predictor values are . Determine the rank assigned to the second value, using average ranks for ties.
Solution available to those who have unlocked the subject. Unlock now
A problem of the same type, worked step by step: Sheet 5 · Pearson and Spearman correlations
7Slope after a change of scale
The regression line of on has slope . Set and . Calculate the slope of the regression line of on .
Solution available to those who have unlocked the subject. Unlock now
8Standard error of the slope
In a regression with an intercept, , , and . Calculate .
Solution available to those who have unlocked the subject. Unlock now
9Two-sided test for the slope
A normal regression model with an intercept gives , , and . Test against a two-sided alternative at level , using .
Solution available to those who have unlocked the subject. Unlock now
10Confidence interval for the slope
For the slope, the observed quantities are and . Use the t quantile corresponding to the specified confidence level to calculate the two-sided interval.
Solution available to those who have unlocked the subject. Unlock now
11Standard error of the mean response at the center
A normal regression model with an intercept has and . Calculate the estimated standard error of the mean response at .
Solution available to those who have unlocked the subject. Unlock now
12Variance for a new response
In a regression with an intercept, , , , and . Calculate the estimated variance of the prediction error for a new independent response at .
Solution available to those who have unlocked the subject. Unlock now
13Leverage of an individual observation
In a regression with an intercept, , , and . Calculate the leverage of an observation with .
Solution available to those who have unlocked the subject. Unlock now
A problem of the same type, worked step by step: Sheet 9 · Leverage and sensitivity of the regression line
14Curvature in a residual plot
The residuals at predictor values are . What problem does their pattern suggest?
Solution available to those who have unlocked the subject. Unlock now