(180 - 171.1) / 9.4
## [1] 0.9468085
NO. Falls within 2 Standard deviations of the mean.
155 cm
(155 - 171.1) / 9.4
## [1] -1.712766
NO. Falls within 2 Standard deviations of the mean.
No. Point estimates that are based on samples only approximate the population parameter, and they vary from one sample to another.
9.4 / sqrt(507)
## [1] 0.4174687
FALSE: Inference is made on the population parameter and not on the point estimate.
FALSE: The sample is random and >=30 so we can be lenient with the skew.
FALSE: The confidence interval is not about the mean.
TRUE: The sample is random which can be used to represent the general population.
TRUE
FALSE: Sample \(2^3 = 8\) times the number of people in the initial sample.
TRUE: The margin of error is half the width of the interval.
\(H_0 = 30.69\)
\(H_A > 30.69\)
\(Z = \frac{(\bar{x} - H_0)}{SE_\bar{x}}\)
SE <- 4.31 / sqrt(36)
SE
## [1] 0.7183333
Z <- (32 - 30.69) / SE
Z
## [1] 1.823666
normalPlot(bounds = c(Z, Inf));
p_value <- 1 - pnorm(Z)
p_value
## [1] 0.0341013
p_value is less than 0.10 so we reject the null hypothesis in favor of the alternative. It takes more than 30 months for the average child to count from 1 to 10 successfully.
lower_level <- 32 - (1.69 * SE)
upper_level <- 32 + (1.69 * SE)
c(lower_level, upper_level)
## [1] 30.78602 33.21398
30.69
is not in the confidence interval and is therefore implausible.\(H_0 = 100\)
\(H_A \neq 100\)
SE <- 6.5 / sqrt(36)
Z <- (118 - 100) / SE
Z
## [1] 16.61538
normalPlot(bounds = c(-Z, Z))
The p value > 0.10 so we failed to reject the null hypthesis
lower_level <- 100 - (1.69 * SE)
upper_level <- 100 + (1.69 * SE)
c(lower_level, upper_level)
## [1] 98.16917 101.83083
De???ne the term “sampling distribution” of the mean, and describe how the shape, center, and spread of the sampling distribution of the mean change as sample size increases.
Under the Central Limit Theorem, the sampling distribution of the mean approaches a normal distribution when the sample size increases. Sampling distributions help us understand variability so as the size increase, the spread gets smaller, the center moves closer to the population mean and the shape becomes more normal.
A manufacturer of compact ???uorescent light bulbs advertises that the distribution of the lifespans of these light bulbs is nearly normal with a mean of 9,000 hours and a standard deviation of 1,000 hours.
\(Z > 10,500\)
Z <- (10500 - 9000) / 1000
1 - pnorm(Z)
## [1] 0.0668072
SE <- 1000 / sqrt(15)
The population standard deviation is known and the data are nearly normal, so the sample mean will be nearly normal with distribution \(N(\mu = 9000, SE = 258.199)\)
Z <- (10500 - 9000) / SE
1-pnorm(Z)
## [1] 3.133452e-09
1 - 1
## [1] 0
samp <- 10500
pop_mean <- 9000
sd <- 1000
n <- 15
bulbs <- rnorm(n, samp, sd)
options(scipen = 999)
hist(bulbs, probability = T, xlim = range(5000:15000))
x <- 3000:15000
y <- dnorm(x = x, mean = pop_mean, sd = sd)
lines(x = x, y = y, col = "blue")
y2 <- dnorm(x = x, mean = samp, sd = SE)
lines(x = x, y = y2, col = "red")
No, because the sample size is less than 30 which is not sufficient enough to yield a nearly normal sampling distribution if the population distribution is not nearly normal.
Suppose you conduct a hypothesis test based on a sample where the sample size is n = 50, and arrive at a p-value of 0.08. You then refer back to your notes and discover that you made a careless mistake, the sample size should have been n = 500. Will your p-value increase, decrease, or stay the same? Explain.
With other factors remaining constant, increasing the sample size makes the standard error smaller which in turns decreases the p value. This is evidence why the althernative is chosen when the p value gets smaller because the sample size deviates from the null hypothesis.