Proof:
Because we have a large sample size, \(n=500\), and we also have the state data that represents the population statistics, we can use a Z-Test to answer our question. For this, we’ll utilize the 6-Step Hypothesis process.
Identify the Population & Sample
Population is the number of flu cases in the State.
Sample is the number of flu cases in the parish school system.
State the Null and Alternative Hypothesis
\(H_0: \mu = 16\)
\(H_\alpha: \mu \neq 16\)
State the Assumptions and Check the Conditions
We have the following information to perform the test:
\(\mu = 16\)
\(\bar{x}=15\)
\(n=500\)
\(\sigma = 15.1\)
Calculate the Relevant Test-Statistic (Z-Test Value)
\[ z = \frac{\bar{x}-\mu_0}{\sigma_{\bar{x}}}= \frac{\bar{x}-\mu_0}{\frac{\sigma}{\sqrt{n}}} \]
PopMean1 <- 16
SampMean1 <- 15
SampSize1 <- 500
Std1 <- 15.1
z1 <- (SampMean1 - PopMean1)/(Std1/sqrt(SampSize1))
print(z1)
## [1] -1.48084
p1<- 2*pnorm(-abs(z1))
print(p1)
## [1] 0.1386493
critical1 <- qt(p=.05/2, df=499, lower.tail=FALSE)
critical1a <- -qt(p=.05/2, df=499, lower.tail=FALSE)
print(critical1)
## [1] 1.964729
print(critical1a)
## [1] -1.964729
QED
Proof:
Because we have the sample standard deviation, we will be performing a T-Test because we have the standard deviation of the sample, not the population. For this, we’ll utilize the 6-Step Hypothesis process.
Identify the Population & Sample
Population is the number of college students.
Sample is the 25 students that were surveyed.
State the Null and Alternative Hypothesis
\(H_0: \mu = 110\)
\(H_\alpha: \mu \neq 110\)
State the Assumptions and Check the Conditions
We have the following information to perform the test:
\(\mu = 110\)
\(\bar{x}=118\)
\(n=25\)
\(s=10.7\)
Calculate the Relevant Test-Statistic (T-Test Value)
\[ t = \frac{\bar{x}-\mu_0}{s_{\bar{x}}}= \frac{\bar{x}-\mu_0}{\frac{s}{\sqrt{n}}} \]
muknot <- 110
xbar <- 118
SampSize2 <- 25
Std2 <- 10.7
t2 <- (xbar - muknot)/(Std2/sqrt(SampSize2))
print(t2)
## [1] 3.738318
p2<- 2*pnorm(-abs(t2))
print(p2)
## [1] 0.0001852557
critical2 <- qt(p=.05/2, df=24, lower.tail=FALSE)
print(critical2)
## [1] 2.063899
critical2a <- -qt(p=.05/2, df=24, lower.tail=FALSE)
print(critical2a)
## [1] -2.063899
QED
Proof:
Because we have the sample standard deviation, we will be performing a T-Test because we have the standard deviation of the sample, not the population. For this, we’ll utilize the 6-Step Hypothesis process.
Identify the Population & Sample
Population is the mean life span of all cell phones
Sample is the mean life span of the 27 cell phones that were sampled.
State the Null and Alternative Hypothesis
\(H_0: \mu = 5\)
\(H_\alpha: \mu \neq 5\)
State the Assumptions and Check the Conditions
We have the following information to perform the test:
\(\mu_0 = 5\)
\(\bar{x}=4.6\)
\(n=27\)
\(s=1.9\)
Calculate the Relevant Test-Statistic (T-Test Value)
\[ t = \frac{\bar{x}-\mu_0}{s_{\bar{x}}}= \frac{\bar{x}-\mu_0}{\frac{s}{\sqrt{n}}} \]
muknot3 <- 5
xbar3 <- 4.6
SampSize3 <- 27
Std3 <- 1.9
t3 <- (xbar3 - muknot3)/(Std3/sqrt(SampSize3))
print(t3)
## [1] -1.093927
p3<- 2*pnorm(-abs(t3))
print(p3)
## [1] 0.2739871
critical3 <- qt(p=.05/2, df=26, lower.tail=FALSE)
print(critical3)
## [1] 2.055529
critical3a <- -qt(p=.05/2, df=26, lower.tail=FALSE)
print(critical3a)
## [1] -2.055529
QED
Proof:
Because we have the data that represents the population (specifically population variation, implying population standard deviation), we can use a Z-Test to answer our question. For this, we’ll utilize the 6-Step Hypothesis process.
Identify the Population & Sample
Population is the scores of Children Behavior Problems
Sample is the 15 Children chosen from the population
State the Null and Alternative Hypothesis
To correctly label, let’s say that Mean of the Sample of 15 Children is \(\mu_{sc}\) and the Mean of the Population of Children Behavior Problem scores is \(\mu_{pc}\)
\(H_0: \mu_{sc}=\mu_{pc}\)
\(H_\alpha: \mu_{sc}\neq \mu_{pc}\)
State the Assumptions and Check the Conditions
We have the following information to perform the test:
\(\mu = 50\)
\(\bar{x}=56\)
\(n=15\)
\(\sigma = 10\)
Calculate the Relevant Test-Statistic (Z-Test Value)
\[ z = \frac{\bar{x}-\mu_0}{\sigma_{\bar{x}}}= \frac{\bar{x}-\mu_0}{\frac{\sigma}{\sqrt{n}}} \]
PopMean4 <- 50
SampMean4 <- 56
SampSize4 <- 15
Std4 <- 10
z4 <- (SampMean4 - PopMean4)/(Std4/sqrt(SampSize4))
print(z4)
## [1] 2.32379
p4<- 2*pnorm(-abs(z4))
print(p4)
## [1] 0.02013675
critical4 <- qt(p=.05/2, df=14, lower.tail=FALSE)
print(critical4)
## [1] 2.144787
critical4a <- -qt(p=.05/2, df=14, lower.tail=FALSE)
print(critical4a)
## [1] -2.144787
QED
If the Test Statistic falls outside of the critical value interval, then we will Reject the Null Hypothesis
If the Test Statistic is between the two critical values, then we will Fail to Reject the Null Hypothesis
Z-Tests only occur when we have a Population Standard Deviation or Population Variance
T-Tests only occur when only have a Sample Standard Deviation or Sample Variance. No Population STD or Variance is given.