Problem 7
Question
In a study about the effect of wall insulation, the weekly gas consumption (in 1000 cubic feet) and the average outside temperature (in degrees Celsius) was measured of a certain house in southeast England, for 26 weeks before and 30 weeks after cavity-wall insulation had been installed. The house thermostat was set at 20 degrees throughout. The data are listed in Table 27.7. We model the data before insulation by means of a simple linear regression model with normally distributed errors and gas consumption as response variable. A similar model was used for the data after insulation. Given are Before insulation: \(\hat{\alpha}=6.8538, \hat{\beta}=-0.3932\) and \(s_{a}=0.1184, s_{b}=0.0196\) After insulation: \(\quad \hat{\alpha}=4.7238, \hat{\beta}=-0.2779\) and \(s_{a}=0.1297, s_{b}=0.0252\). a. Use the data before insulation to investigate whether smaller outside temperatures lead to higher gas consumption. Formulate the proper null and alternative hypothesis, compute the value of the test statistic, and report your conclusion, using significance level \(0.05\). b. Do the same for the data after insulation.
Step-by-Step Solution
VerifiedKey Concepts
Hypothesis Testing
- The null hypothesis, denoted as \(H_0\), represents a statement of no effect or no difference. It posits that there is no relationship between the variables being studied.
- The alternative hypothesis, denoted as \(H_a\), is a statement that suggests a potential effect or difference. It indicates that the variables may indeed be related.
- \(H_0: \beta = 0\), asserting no relationship between temperature and consumption.
- \(H_a: \beta < 0\), suggesting that gas consumption increases as temperature decreases.
t-Distribution
- For each observation set, the degrees of freedom for the t-distribution are calculated as the number of observations minus two (since we estimate two parameters, \(\alpha\) and \(\beta\)).
- The t-distribution is symmetric and approaches the normal distribution as the sample size increases.
Significance Level
- Calculate the test statistic and determine the degrees of freedom for your data.
- Locate the critical value from the relevant t-distribution table using the significance level and degrees of freedom.
- Compare the test statistic against the critical t-value.