5.6, 5.14, 5.20, 5.32, 5.48
A 90% confidence interval for a population mean is (65, 77). The population distribution is approximately normal and the population standard deviationis unknown. This confidence interval is based on a simple random sample of 25 observations. Calculate the sample mean, the margin of error, and the sample standard deviation.
\(ME = \frac{s}{\sqrt(n)} * 1.645\)
\(12 = \frac{s}{\sqrt(25)} * 1.645\)
\(s \approx 36.5\)
SAT scores of students at an Ivy League college are distributed with a standard deviation of 250 points. Two statistics students, Raina and Luke, want to estimate the average SAT score of students at this college as part of a class project. They want their margin of error to be no more than 25 points.
The National Center of Education Statistics conducted a survey of high school seniors, collecting test data on reading, writing, and several other subjects. Here we examine a simple random sample of 200 students from this survey. Side-by-side box plots of reading and writing scores as well as a histogram of the differences in scores are shown below.
\(ME = \frac{8.887}{\sqrt(200)} * 1.96\)
\(ME \approx 1.23\)
Each year the US Environmental Protection Agency (EPA) releases fuel economy data on cars manufactured in that year. Below are summary statistics on fuel efficiency (in miles/gallon) from random samples of cars with manual and automatic transmissions manufactured in 2012. Do these data provide strong evidence of a difference between the average fuel eciency of cars with manual and automatic transmissions in terms of their average city mileage? Assume that conditions for inference are satisfied.
\(CI = (M_1 - M_2) \pm t^*_{df} \times \sqrt{\frac{s^2_1}{n_1} + \frac{s^2_2}{n_2}}\)
\(SE = \sqrt{\frac{4.51^2}{26} + \frac{3.58^2}{26}} \approx 1.13\)
\(t^*_{25} = 2.060\) at a 95% confidence level
\(CI = 3.73 \pm 2.060 \times 1.13 = ( -1.4022, 6.0578 )\)
The General Social Survey collects data on demographics, education, and work, among many other characteristics of US residents. Using ANOVA, we can consider educational attainment levels for all 1,172 respondents at once. Below are the distributions of hours worked by educational attainment and relevant summary statistics that will be helpful in carrying out this analysis.
# SSG: Sum of squares between groups
ssg <- (121*(38.67-40.45)^2) + (546*(39.6-40.45)^2) + (97*(41.39-40.45)^2) + (253*(42.55-40.45)^2) + (155*(40.85-40.45)^2)
# Sum of square errors
sse <- ((121-1)*15.81^2) + ((546-1)*14.97^2) + ((97-1)*18.1^2) + ((253-1)*13.62^2) + ((155-1)*15.51^2)
# Degrees of freedom between groups
df1 <- 5-1
# Degrees of freedom
df2 <- 1172-5
# MSG = mean square between groups (between-group variability)
msg <- (1/df1)*ssg
# MSE = mean square error (within-group variability)
mse <- (1/df2)*sse
# F statistic
f <- msg/mse
ssg## [1] 2004.101
sse## [1] 267373.6
msg## [1] 501.0251
mse## [1] 229.112
f## [1] 2.186814