Q1
Q2
a
Let the r.v. denotes the number of heads in 10 tosses, i.e.
b
Q3
a
I agree with Bob’s analysis
Since , i.e. , we do not reject , which means there is not enough evidence to reject the company’s claim
b
c
Q4
a
x = read_excel("cold.xlsx")
t.test(x, alternative="less", mu=6.5, conf.level=0.95)
One Sample t-test
data: x
t = -0.20751, df = 9, p-value = 0.4201
alternative hypothesis: true mean is less than 6.5
95 percent confidence interval:
-Inf 6.891683
sample estimates:
mean of x
6.45
Since 0.4201 > 0.05, i.e. p-value > , we do not reject
b
Therefore we need 7 samples