Answer:
Explanation:
Hello!
Given the variables:
Y: Weekday ridership for six light-rail systems (measured in thousands of passengers)
X: Miles of track of six light-rail systems
You have to estimate the regression equation to predict the ridership given the miles of track
^Yi= a + bXi
Where a is the estimation of the intercept and b is the estimation of the slope.
To calculate it you have to use the following formulas:
a= Y[bar] - bX[bar]
b=
∑X= 203; ∑X²= 6725; ∑Y= 309; ∑Y²= 17261; ∑XY= 17261
X[bar]= ∑X/n= 203/7= 29
Y[bar]= ∑Y/n= 309/7= 44.14
The estimated regression equation is ^Yi= -6.76 + 44.14Xi
The formula for the 95% CI for the mean weekday ridership for all light-rail systems with 30 miles of track is:
95% CI for E(Y/X=30)
(a+bX₀) ±
*
Se²= 207.74
(-6.76 + 44.14*30) ± 2.571 *
1317.44 ± 2.571 * 5.47
[1303.38; 1331.50]
Using a 95% confidence level you'd expect that the interval [1303.38; 1331.50] includes the population average of weekday ridership for a 30 miles light-rail system.
95% Prediction interval: Y/
=30miles
(a+b
) ±
*
(-6.76 + 44.14*30) ± 2.571 *
1317.44±2.571*15.41
[1277.82; 1357.06]
With a 95% level, you can expect that the interval [1277.82; 1357.06] contains the possible value of weekday riders for a 30 miles light-rail system.
I hope this helps!