Question

In: Statistics and Probability

Consider the levels of GHB for control patients and patients under treatment: control: 0.7, 0.5, 0.6,...

Consider the levels of GHB for control patients and patients under treatment:

control:
0.7, 0.5, 0.6, 0.8, 0.8, 1.1, 0.5, 0.4, 0.6, 0.7, 0.5, 1.0, 1.5, 1.4, 0.7, 0.9, 0.6, 0.8, 0.9, 1.0, 0.7, 0.7, 0.7, 0.8, 1.0, 0.6, 1.2, 0.7, 0.9, 0.9

treatment:
0.7, 0.8, 0.7, 0.6, 1.0, 0.9, 1.4, 1.4, 1.0, 0.8, 0.6, 1.3, 0.4, 0.5, 0.9, 1.0, 1.0, 0.5, 0.7, 1.0, 1.2, 1.3, 0.6, 1.0, 0.8, 1.4, 0.8, 1.0, 1.3, 1.4

a. Do a 95% hypothesis test to test if:

(H0) the mean CONTROL level is greater than 0.89 vs. (Ha) he mean CONTROL level is less than 0.89.

Report the p-value: ___
Reject Null hypothesis at the 95% level of confidence?

no

yes    


b. Do a 95% hypothesis test to test if:

(H0) the mean of the CONTROL is equal to the mean of the TREATMENT vs. (Ha) the mean of the CONTROL is not equal to the mean of the TREATMENT.

Report the p-value: ___
Reject Null hypothesis at the 95% level of confidence?

yes

no    


c. Do a 95% hypothesis test to test if:

(H0) the mean of the CONTROL is less than the mean of the TREATMENT vs. (Ha) the mean of the CONTROL is greater than the mean of the TREATMENT (Ha).

Report the p-value: ___
Reject Null hypothesis at the 95% level of confidence?

yes

no    

Solutions

Expert Solution

a. using R

> control=c(0.7, 0.5, 0.6, 0.8, 0.8, 1.1, 0.5, 0.4, 0.6, 0.7, 0.5, 1.0, 1.5, 1.4, 0.7, 0.9, 0.6, 0.8, 0.9, 1.0, 0.7, 0.7, 0.7, 0.8, 1.0, 0.6, 1.2, 0.7, 0.9, 0.9)
> t.test(control,alternative =c("less") ,mu=0.89 )

   One Sample t-test

data: control
t = -1.7745, df = 29, p-value = 0.04324
alternative hypothesis: true mean is less than 0.89
95 percent confidence interval:
-Inf 0.8864599
sample estimates:
mean of x
0.8066667


the p-value: 0.0432
Reject Null hypothesis at the 95% level of confidence?

yes    


b. using R

> control=c(0.7, 0.5, 0.6, 0.8, 0.8, 1.1, 0.5, 0.4, 0.6, 0.7, 0.5, 1.0, 1.5, 1.4, 0.7, 0.9, 0.6, 0.8, 0.9, 1.0, 0.7, 0.7, 0.7, 0.8, 1.0, 0.6, 1.2, 0.7, 0.9, 0.9)
> treatment=c(0.7, 0.8, 0.7, 0.6, 1.0, 0.9, 1.4, 1.4, 1.0, 0.8, 0.6, 1.3, 0.4, 0.5, 0.9, 1.0, 1.0, 0.5, 0.7, 1.0, 1.2, 1.3, 0.6, 1.0, 0.8, 1.4, 0.8, 1.0, 1.3, 1.4)
> t.test(control,treatment,alternative =c("two.sided") ,mu=0)

   Welch Two Sample t-test

data: control and treatment
t = -1.7563, df = 56.69, p-value = 0.08444
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.27110492 0.01777158
sample estimates:
mean of x mean of y
0.8066667 0.9333333


Report the p-value:0.0844
Reject Null hypothesis at the 95% level of confidence?

no    


c. using R

> t.test(control,treatment,alternative =c("greater"),mu=0)

   Welch Two Sample t-test

data: control and treatment
t = -1.7563, df = 56.69, p-value = 0.9578
alternative hypothesis: true difference in means is greater than 0
95 percent confidence interval:
-0.2472671 Inf
sample estimates:
mean of x mean of y
0.8066667 0.9333333


the p-value:0.9578
Reject Null hypothesis at the 95% level of confidence?

no    


Related Solutions

Consider the levels of GHB for control patients and patients under treatment: control: 0.7, 0.5, 0.6,...
Consider the levels of GHB for control patients and patients under treatment: control: 0.7, 0.5, 0.6, 0.8, 0.8, 1.1, 0.5, 0.4, 0.6, 0.7, 0.5, 1.0, 1.5, 1.4, 0.7, 0.9, 0.6, 0.8, 0.9, 1.0, 0.7, 0.7, 0.7, 0.8, 1.0, 0.6, 1.2, 0.7, 0.9, 0.9 treatment: 0.7, 0.8, 0.7, 0.6, 1.0, 0.9, 1.4, 1.4, 1.0, 0.8, 0.6, 1.3, 0.4, 0.5, 0.9, 1.0, 1.0, 0.5, 0.7, 1.0, 1.2, 1.3, 0.6, 1.0, 0.8, 1.4, 0.8, 1.0, 1.3, 1.4 a. Do a 95% hypothesis test...
Sucrose (M) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Initial Weight (g) 6.25 6.33 6.38...
Sucrose (M) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Initial Weight (g) 6.25 6.33 6.38 6.50 6.54 6.40 6.56 6.25 Final Weight (g) 6.76 6.70 6.72 6.57 631 6.04 6.10 5.77 ∆ Weight (g) 0.51 0.37 0.34 0.07 -0.23 -0.36 -0.46 -0.48 %∆ Weight 0.08 0.06 0.05 0.01 -0.03 -0.05 -0.07 -0.08 a. Sucrose concentration at which zero percent change in weight is observed is: b. Determine the water potential (Ψw ) of the potato tissue. Show your calculations.
Ozone Population 126 0.6 135 3.9 124 0.2 128 0.5 130 2.3 128 0.7 126 1.1...
Ozone Population 126 0.6 135 3.9 124 0.2 128 0.5 130 2.3 128 0.7 126 1.1 We wish to study the effect that the size of various U.S. cities have over ozone concentrations. The size of the populations correspond to the last census (in millions of inhabitants), and the average quantity of ozone per hour was determined in (parts per thousand millions); a) Identify the variables X and Y and analyze if the variables are linearly related. b) Determine the...
(a) If A and B are independent events with P(A) = 0.6 and P(B) = 0.7,...
(a) If A and B are independent events with P(A) = 0.6 and P(B) = 0.7, find P (A or B). (b) A randomly selected student takes Biology or Math with probability 0.8, takes Biology and Math with probability 0.3, and takes Biology with probability 0.5. Find the probability of taking Math. A box contains 4 blue, 6 red and 8 green chips. In how many different ways can you select 2 blue, 3 red and 5 green chips? (Give...
Blood glucose levels are under the control of the hormones insulin and glucagon. Describe the control...
Blood glucose levels are under the control of the hormones insulin and glucagon. Describe the control of blood glucose levels in a (normal) individual following a carbohydrate meal.
Age at diagnosis for each of 20 patients under treatment for meningitis was given in a...
Age at diagnosis for each of 20 patients under treatment for meningitis was given in a research paper. Suppose the ages (in years) were as follows. 18 18 27 19 23 20 66 18 21 18 20 18 18 20 18 19 28 16 18 18 (a) Calculate the values of the sample mean and the standard deviation. (Round your standard deviation to three decimal places.) sample mean = rstandard deviation = (b) Compute the upper quartile, the lower quartile,...
The following data are the ages (in years) at diagnosis for 20 patients under treatment for...
The following data are the ages (in years) at diagnosis for 20 patients under treatment for meningitis: 18 18 25 19 23 20 69 18 21 18 20 18 18 20 18 19 28 17 18 18 (a) . Calculate and interpret the values of the sample mean, variance, and standard deviation. (b) . Compute the sample median. Why might you recommend it as a measure of centre rather than the sample mean? 2 (c) . Compute the upper fourth,...
Consider the production function q=5L^(0.3) K^(0.5) The marginal product of labor is MPL=1.5L^(-0.7)K^(0.5) . Assume that...
Consider the production function q=5L^(0.3) K^(0.5) The marginal product of labor is MPL=1.5L^(-0.7)K^(0.5) . Assume that capital is fixed at in the short run. Derive the formula for the short-run total product and graph it. (Hint: Substitute in the production function Derive the formula for the short-run average product of labor (Hint: Divide the short-run total product by)
Consider the data set: L T    0.5 1.915684 0.7 1.29032 0.9 1.90683 1.1 1.840219 1.3...
Consider the data set: L T    0.5 1.915684 0.7 1.29032 0.9 1.90683 1.1 1.840219 1.3 2.668192 1.5 2.432488 1.7 2.91615 1.9 2.731426 2.1 2.659927 2.3 2.662569 2.5 2.847514 2.7 3.754418 2.9 3.675227 3.1 3.363444 3.3 3.377861 3.5 4.080403 3.7 4.38519 3.9 4.073612 4.1 4.356581 4.3 4.27699 For this data we do not know how T depends on L. We hope that T is proportional to some power of L. Transform data by taking Logarithms and do linear regression. Upon...
Michael measures the volume of several raindrops at Rainyville as 0.6 ml, 0.65 ml, 0.7 ml,...
Michael measures the volume of several raindrops at Rainyville as 0.6 ml, 0.65 ml, 0.7 ml, 0.75 ml, 0.8 ml and 0.85 ml; and comes to believe that the raindrops at Rainyville are significantly larger than the national average of 0.65ml at the 5% level. If Michael performs the appropriate statistical test, what will be his conclusion? 1. fail to reject the null hypothesis or 2. reject the null hypotheses
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT