Question

In: Statistics and Probability

1.The Springfield Water Treatment plant is constantly measuring the quality of their drinking water. The level...

1.The Springfield Water Treatment plant is constantly measuring the quality of their drinking water. The level of pH is one item that is measured by them, and the water treatment plant has a target pH of 8.2. In a recent test of 14 samples of water from the treatment plant, they found the following pH levels in their water: 8.6, 8.5, 9.1, 8.4, 8.1, 9.3, 8.8, 8.9, 9.3, 8.0, 8.7, 8.6, 8.7, 9.1 . Also assume that the pH level in the water is approximately normally distributed

PLEASE ANSWER THE FOLLOWING USING R STUDIO

a. Compute the p-value of your test statistic using the “pt()” function in R studio. Interpret this value with a complete sentence.

b.Use “t.test(X, alternative = “two.sided”, mu= 8.2)” on R studio to quickly verify your result from part a.

Solutions

Expert Solution

USING R STUDIO:

The Springfield Water Treatment plant is constantly measuring the quality of their drinking water. The level of pH is one item that is measured by them, and the water treatment plant has a target pH of 8.2. In a recent test of 14 samples of water from the treatment plant, they found the following pH levels in their water:

Also assume that the pH level in the water is approximately normally distributed

a)  The p-value of our test statistic using the “pt()” function :

> x=c(8.6, 8.5, 9.1, 8.4, 8.1, 9.3, 8.8, 8.9, 9.3, 8.0, 8.7, 8.6, 8.7, 9.1)
> n=length(x)
> ts=((mean(x)-8.2))/sqrt(var(x)/n)
> ## Test Statistic:
> ts
[1] 4.873336
> p_value=pt(ts,df=n-1,lower.tail = FALSE)
> ## p-value:
> p_value
[1] 0.000152106


b) verification of our result from part a):

> t=t.test(x, alternative="two.sided", mu= 8.2)
> ## p-value:
> t$p.value
[1] 0.0003042119
> ## Test Statistic:
> t$statistic
t
4.873336

## p-value obtained by the function pt() using R studio is exactly half as compaired with the p-value obtained by t.test(x,alternative="two.sided", mu= 8.2).


Related Solutions

Potassium permanganate (KMnO4) is sometimes added to water as it enters a drinking water treatment plant...
Potassium permanganate (KMnO4) is sometimes added to water as it enters a drinking water treatment plant to assist in the removal of Fe2+ and Mn2+ ions. The KMnO4 oxidizes those cations by acquiring electrons according to the following reaction: KMnO4 + 4H+ + 3e ↔ K+ + MnO2(s) + 2H2O a) What is the (electron) equivalent weight of Mn, based on this reaction? b) Calculate the mass (g) of KMnO4 in 2 L of a 0.15 M KMnO4 solution. c)...
Potassium permanganate (KMnO4) is sometimes added to water as it enters a drinking water treatment plant...
Potassium permanganate (KMnO4) is sometimes added to water as it enters a drinking water treatment plant to assist in the removal of Fe2+ and Mn2+ ions. The KMnO4 oxidizes those cations by acquiring electrons according to the following reaction: KMnO4 + 4H+ + 3e ↔ K+ + MnO2(s) + 2H2O a) What is the (electron) equivalent weight of Mn, based on this reaction? b) Calculate the mass (g) of KMnO4 in 2 L of a 0.15 M KMnO4 solution. c)...
Potassium permanganate (KMnO4) is sometimes added to water as it enters a drinking water treatment plant...
Potassium permanganate (KMnO4) is sometimes added to water as it enters a drinking water treatment plant to assist in the removal of Fe2+ and Mn2+ ions. The KMnO4 oxidizes those cations by acquiring electrons according to the following reaction: KMnO4 + 4H+ + 3e ↔ K+ + MnO2(s) + 2H2O a) What is the (electron) equivalent weight of Mn, based on this reaction? b) Calculate the mass (g) of KMnO4 in 2 L of a 0.15 M KMnO4 solution. c)...
Most water-treatment facilities monitor the quality of their drinking water on an hourly basis. One variable...
Most water-treatment facilities monitor the quality of their drinking water on an hourly basis. One variable monitored is pH, which measures the degree of alkalinity or acidity in the water. A pH below 7.0 is acidic, one above 7.0 is alkaline, and a pH of 7.0 is neutral. One water-treatment plant has a target pH of 8.5(Most try to maintain a slightly alkaline level.) The mean and standard deviation of 1 hour’s test results, based on 17 water samples at...
Discuss in detail how coagulation and flocculation are performed at a drinking water treatment plant. Describe...
Discuss in detail how coagulation and flocculation are performed at a drinking water treatment plant. Describe how the optimum coagulant dose can be determined to treat fresh surface waters for drinking water supply. For removal of flocs from drinking water, when should settling basins be used and when should dissolved air flotation be applied? Why are GAC and PAC used in treating drinking water
The Iowa City Water Treatment Plant and the University of Iowa Water Treatment Plant remove calcium...
The Iowa City Water Treatment Plant and the University of Iowa Water Treatment Plant remove calcium hardness (Ca2+) by precipitating (making) CaCO3(s). If, after establishing equilibrium with CaCO3(s), the dissolved Ca2+ concentration is 10 mg/L and the pH is 10.5. a. What is the CO32- concentration in mol/L? b. What is the HCO3- concentration in mol/L? c. What is the alkalinity in mg/L as CaCO3?
The Water Treatment Plant and the University Water Treatment Plant remove calcium hardness (Ca2+) by precipitating...
The Water Treatment Plant and the University Water Treatment Plant remove calcium hardness (Ca2+) by precipitating (making) CaCO3(s). If, after establishing equilibrium with CaCO3(s), the dissolved Ca2+ concentration is 10 mg/L and the pH is 10.5. a. What is the CO32- concentration in mol/L? b. What is the HCO3- concentration in mol/L? c. What is the alkalinity in mg/L as CaCO3?
A rapid mixing basin is to be designed for a drinking water coagulation plant with a...
A rapid mixing basin is to be designed for a drinking water coagulation plant with a 5 MGD flow. The geometry of the basin is square with a depth equal to 1.5 times the width. The velocity gradient is 950 s·1 with a detention time of 25 s. Calculate a) The basin dimensions using minimum increments of 1" b) The input hp required c) The impeller speed with six flat blades employed and a baffled tank given that the impeller...
Ferric chloride is used as a coagulant for drinking water treatment. It reacts with bicarbonate to...
Ferric chloride is used as a coagulant for drinking water treatment. It reacts with bicarbonate to form iron hydroxide precipitate as follows: FeCl3•7H2O + HCO3- ↔ Fe(OH)3(s) + CO2 + Cl- + H2O (a) Balance the above reaction. Rewrite the complete balanced reaction. (b) If 20 mg/L of ferric chloride are added to treat stream water, calculate the amount (mg/L) of ferric hydroxide sludge that will be formed.
Q4. You are working in a waste water treatment plant, once your treatment plant receives sewage...
Q4. You are working in a waste water treatment plant, once your treatment plant receives sewage water with more colloidal or dissolved organic materials. As an Engineer what type of treatment will you prefer for this sewage water? Justify and explain the method selected by you.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT