In: Statistics and Probability
A freshly brewed shot of espresso has three distinct components: the heart, body, and crema. The separation of these three components typically lasts only 10 to 20 seconds. To use the espresso shot in making a latte, a cappuccino, or another drink, the shot must be poured into the beverage during the separation of the heart, body, and crema. If the shot is used after the separation occurs, the drink becomes excessively bitter and acidic, ruining the final drink. Thus, a longer separation time allows the drink-maker more time to pour the shot and ensure that the beverage will meet expectations. An employee at a coffee shop hypothesized that the harder the espresso grounds were tamped down into the portafilter before brewing, the longer the separation time would be. An experiment using 24 observations was conducted to test this relationship. The independent variable Tamp measures the distance, in inches, between the espresso grounds and the top of the portafilter (i.e., the harder the tamp, the greater the distance). The dependent variable Time is the number of seconds after the heart, body, and crema are separated (i.e., the amount of time after the shot is poured before it must be used for the customer’s beverage). The data can be seen below:
Tamp Time
0.20 14
0.50 14
0.50 18
0.20 16
0.20 16
0.50 13
0.20 12
0.35 15
0.50 9
0.35 15
0.50 11
0.50 16
0.50 18
0.50 13
0.35 19
0.35 19
0.20 17
0.20 18
0.20 15
0.20 16
0.35 18
0.35 16
0.35 14
0.35 16
(a) Use the least-squares method to develop a simple regression equation with Time as the dependent variable and Tamp as the independent variable.
(b) Predict the separation time for a tamp distance of 0.50 inch.
(c) Plot the residuals versus the time order of experimentation. Are there any noticeable patterns?
(d) Compute the Durbin-Watson statistic. At the 0.05 level of significance, is there evidence of positive autocorrelation among the residuals?
(e) Based on the results of (c) and (d), is there reason to question the validity of the model?
By using SPSS we have
a) So From above Regression table the the least-squares method to develop a simple regression equation with Time as the dependent variable and Tamp as the independent variable
y(hat)=17.083 - 5.0*X
b) When X= 0.5
y(hat)=17.083 - 5.0*X
y(hat)=17.083 - 5.0*0.5
y(hat)=17.083 - 5.0*X
y(hat)=14.583
c)
As we can see from the plot there is linear pattern between Residuals and Time. It is showing Residual and Time are positively related.
d) By using SPSS the Durbin watsan statistic is 1.724. The value of d always lies between 0 and 4. If the Durbin–Watson statistic is less than 2, there is evidence of positive serial correlation. At 0.05 level of significance the critical value of Durbin watson is 1.194 Since Calculated value greater than critical value therefore there is positive auto correlation between residuals and the time.
e) Yes, there is a reason to question the validity of the model because the assumption of NO AUTO CORRELATION not satisfied for given data.