Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 2 (31 marks: 4 + 3 + 9 + 15) Maintaining swimming pools can be quite costly due to all the chlorine that is

image text in transcribed
image text in transcribed
Exercise 2 (31 marks: 4 + 3 + 9 + 15) Maintaining swimming pools can be quite costly due to all the chlorine that is needed to keep the water clear and relatively free of germs. A chain of hotels (all with outdoor pools) seeking to reduce the costs decided to analyse the factors that determine how much chlorine is needed. They commissioned a chemist to conduct an analysis. It is believed that the speed at which chlorine in a pool is depleted, measured by the percentage of Chlorine depletion during an 8-hour day, depends on the temperature of the water ("C, higher temperature uses chlorine faster); on the p/ level, which is a measure of the acidity of the water (pH level ranges from 0 to 14, at low levels the water is acidic at high levels it is alkaline, and levels around 7.5 use the least chlorine); and on weather (sunshine uses up chlorine). The chemist recorded chlorine depletion, water temperature, ph level and weather (defined as 1 for mainly cloudy, 2 for partly sunny, and 3 for sunny) on 210 8-hour days under varying conditions of pH level, water temperature and weather conditions. These data are saved in the a3e2.x/sx file. (a) For each of the four variables, answer the following questions. Is it qualitative or quantitative? If it is qualitative, is it ranked or unranked? If it is quantitative, is it discrete or continuous? What is its level of measurement? Explain your answers. (b) Consider the following three pairs of variables: depletion and temperature, depletion and ph, and depletion and weather. In each case, do you expect the variables to be related to each other? If yes, do you expect the relationship to be positive or negative, assuming that the p/ level does not exceed 7.5? Explain your answers. (c) Using R, calculate the Pearson or Spearman correlation coefficient, whichever is more appropriate, for the three pairs of variables in part (b). In each case, briefly explain your choice between the Pearson and Spearman correlation coefficients and comment on the direction and relative strength of the relationship as implied by the point estimate. (d) Based on your answers in part (b), perform an appropriate test with R at the 5% significance level on each pair of variables to determine whether there is a linear, or at least monotonic, relationship between the variables in the expected direction. In each case, show the hypotheses and state the statistical decision and the conclusion

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials Of Advanced Macroeconomic Theory

Authors: Ola Olsson ]

1st Edition

9780415685085

More Books

Students also viewed these Economics questions

Question

2. Develop a good and lasting relationship

Answered: 1 week ago

Question

1. Avoid conflicts in the relationship

Answered: 1 week ago