§Sample for learning, not submission. Read it, study it — write your own. Honor code →
The problem
A coffee shop manager wants to know whether daily sales are evenly distributed across the five weekdays (Monday through Friday) or whether some days are significantly busier than others. The shop tracked sales for one randomly selected week and recorded the following number of cups sold per day: Monday 110, Tuesday 95, Wednesday 105, Thursday 120, Friday 170. Test, at the 5% significance level, the claim that daily sales are uniformly distributed across the five weekdays.
Step 1 — State the hypotheses
The claim being tested is that sales are uniformly distributed across the five weekdays. That gives us:
H0: Daily sales are uniformly distributed across the five weekdays.
Ha: At least one weekday has a different sales rate.
Significance level: α=0.05.
Step 2 — Compute the expected counts
Total cups sold over the week:
n=110+95+105+120+170=600
Under H0 (uniform distribution across k=5 weekdays), the expected count for each day is the total divided by the number of categories:
Ei=kn=5600=120 cups per day
Step 3 — Compute the chi-square statistic
The test statistic is:
χ2=i=1∑kEi(Oi−Ei)2
Plugging in each weekday:
Day
Oi
Ei
Oi−Ei
(Oi−Ei)2
(Oi−Ei)2/Ei
Monday
110
120
−10
100
0.833
Tuesday
95
120
−25
625
5.208
Wednesday
105
120
−15
225
1.875
Thursday
120
120
0
0
0.000
Friday
170
120
50
2500
20.833
Sum
28.749
χ2=28.749
Step 4 — Determine the critical value
Degrees of freedom for a goodness-of-fit test:
df=k−1=5−1=4
From a chi-square table at α=0.05 and df=4:
χcritical2=9.488
Step 5 — Decision and interpretation
Compare:
χ2=28.749>9.488=χcritical2
Since the test statistic exceeds the critical value, reject H0 at the 5% significance level.
Conclusion
The data provide strong evidence that daily coffee sales are not uniformly distributed across the five weekdays. The largest deviation comes from Friday (170 observed vs. 120 expected), which alone contributes 20.8 out of the 28.7 total chi-square statistic. The manager should investigate what makes Friday different — pricing, foot traffic, promotions — rather than assume weekdays are interchangeable for staffing or inventory planning.
Read with the expert
Difficulty 5/10·2 techniques·4 mistakes to watch·4 expert's notes
Difficulty
5/10
Standard intro chi-square problem. Catch is recognizing "uniformly distributed" means equal expected counts across categories.
Techniques used
01
Chi-square goodness-of-fit test
Use this when comparing observed categorical counts to a theoretical distribution. Here, observed vs. uniform expected.
02
p-value interpretation
After computing the statistic, compare to the critical value at df = k - 1 and α = 0.05 to decide whether to reject H0.
Watch for
Computing expected counts as 0.20 (the probability) instead of total/k (the count). The chi-square statistic uses counts, not proportions.
Using degrees of freedom = k instead of k - 1. For goodness-of-fit, df = number of categories minus one.
Stopping at the test statistic without comparing it to the critical value or computing a p-value. The test conclusion requires both.
Expert's notes
Editor's analysis
What this solution demonstrates, and what to watch out for.
Chi-square goodness-of-fit test. Use this when comparing observed categorical counts to a theoretical distribution. Here, observed vs. uniform expected.
p-value interpretation. After computing the statistic, compare to the critical value at df = k - 1 and α = 0.05 to decide whether to reject H0.
Computing expected counts as 0.20 (the probability) instead of total/k (the count). The chi-square statistic uses counts, not proportions.
Using degrees of freedom = k instead of k - 1. For goodness-of-fit, df = number of categories minus one.
Stopping at the test statistic without comparing it to the critical value or computing a p-value. The test conclusion requires both.
Forgetting to state the conclusion in context. 'Reject H0' is necessary but not sufficient — say what it means for the coffee shop.
Don't copy a sample. Get one written for you.
Original work tailored to your prompt, your level, and your deadline, with the same care that goes into these samples.
Studying it is fair use. Submitting it as your own is not.
These samples are donated by past students and shared as a learning resource. They are not for submission. Copying any sample verbatim would fail Turnitin and violate your institution's academic integrity policy. Read them to understand structure, evidence, and argument, then write your own. See our honor code and DMCA policy for details.
Need a custom essay? Original, editor-reviewed, written to your brief.