Determine whether H0 should be rejected SolutionRunning the

Determine whether H0 should be rejected


Solution

Running the simple one-line R code, we get the following output:

> prop.test(x,rep(300,4))

4-sample test for equality of proportions without continuity
correction

data: x out of rep(300, 4)
X-squared = 20.4444, df = 3, p-value = 0.0001373
alternative hypothesis: two.sided
sample estimates:
prop 1 prop 2 prop 3 prop 4
0.2833333 0.3166667 0.1666667 0.2333333

Since, the p-value is very small, we reject the null hypothesis.

Determine whether H0 should be rejected SolutionRunning the simple one-line R code, we get the following output: > prop.test(x,rep(300,4)) 4-sample test for

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site