Chapter 12: Q164SE (page 813)
Question: Comparing mosquito repellents. Which insect repellents protect best against mosquitoes? Consumer Reports (June 2000) tested 14 products that all claim to be an effective mosquito repellent. Each product was classified as either lotion/cream or aerosol/spray. The cost of the product (in dollars) was divided by the amount of the repellent needed to cover exposed areas of the skin (about 1>3 ounce) to obtain a cost-per-use value. Effectiveness was measured as the maximum number of hours of protection (in half-hour increments) provided when human testers exposed their arms to 200 mosquitoes. The data from the report are listed in the table.
- Suppose you want to use repellent type to model the cost per use (y). Create the appropriate number of dummy variables for repellent type and write the model.
- Fit the model, part a, to the data.
- Give the null hypothesis for testing whether repellent type is a useful predictor of cost per use (y).
- Conduct the test, part c, and give the appropriate conclusion. Use α = .10.
- Repeat parts a–d if the dependent variable is the maximum number of hours of protection (y).
Short Answer
Answer
- For qualitative regression model, variables are introduced in the model where, . Since in this question there are only 2 levels, 1 qualitative variable is introduced in the model. Where when repellent is lotion based, 0 otherwise.
- From the excel output, the regression equation becomes
- The null and alternate hypothesis for whether repellent type is a useful predictor of cost per use (y) can be written as against.
- At 95%significance level, meaning that is statistically significant for the model
- The regression equation for maximum hours of protection as a function of repellent type is. At 95% significance level, meaning that is statistically significant for the model.