购物习惯:双样本 t 检验的显著性水平
Shopping Habits
题目详情
研究者分别独立随机抽取 20 位周末购物者与 20 位工作日购物者。
- 周末:均值 78,标准差 22。
- 工作日:均值 67,标准差 20。
假设正态、方差齐性。检验两群体均值是否有显著差异(双侧)。求达到的显著性水平(p 值),保留 3 位有效数字。
A researcher is investigating the temporal effect of shopping habits at the mall. She independently and randomly selects 20 weekend and 20 weekday shoppers and finds that weekend shoppers spend 78 dollar on average with a standard deviation of 22dollar, while weekday shoppers spend 20. The researcher would like to test if there is sufficient evidence to claim that there is a significant difference in the average amount spent by weekend and weekday shoppers. What is the attained significance level? Round to 3 significant figures. Assume simple random sampling, variance homogeneity, and that spending is approximately normally distributed.
解析
合并标准差
t 统计量(自由度 38):
双侧 p 值约为 (3 位有效数字)。
Original Explanation
We are testing the null hypothesis against the alternative hypothesis . Because neither sample size is sufficiently large, we must use a test with 38 degrees of freedom:
Solving for :
Solving for :
Because this is a two-tailed test, the attained significance level is double the p-value of a one-tailed test. Thus,