题目
The manager of a hardware store is interested in whether there is a difference in the amount spent per customer on weekdays () compared to weekends (). Random samples of 120 customers on weekdays and 80 customers on weekends are taken and the amount spent by each customer is recorded. The results are summarised as follows.
Test at the 1% significance level whether there is a difference in the mean amount spent per customer on weekdays compared to weekends. You should not assume that the population variances of the amounts spent on weekdays and weekends are equal.
题目中文翻译
一家五金店的经理想研究工作日每位顾客的消费金额()与周末每位顾客的消费金额()是否存在差异。随机抽取 120 名工作日顾客和 80 名周末顾客,并记录每位顾客的消费金额。结果概括如下。
在 1% 显著性水平下检验工作日与周末每位顾客的总体平均消费金额是否存在差异。你不应假设工作日和周末消费金额的总体方差相等。
原卷通用作答要求
Answer all questions. You should use a calculator where appropriate.
You must show all necessary working clearly; no marks will be given for unsupported answers from a calculator.
Give non-exact numerical answers correct to 3 significant figures, or 1 decimal place for angles in degrees, unless a different level of accuracy is specified in the question.
请回答所有题目。适当时应使用计算器。必须清楚展示所有必要的计算过程;仅给出计算器答案而没有过程,不予评分。除非题目另有精度要求,非精确数值答案保留 3 位有效数字,以度为单位的角度保留 1 位小数。
解答
解法一
思路
展开
两个样本量都大,且不假设方差相等。分别估计方差并用均值差的正态近似,做双侧检验。
答题过程
展开
Let and be the population mean spending per customer on weekdays and weekends. Test against . The sample means are and . The unbiased variance estimates are and . The estimated variance of the difference of independent sample means is
The large-sample statistic is
The two-sided critical values are . Since , we reject . There is sufficient evidence at the level that mean spending per customer differs between weekdays and weekends.