- #1
Physics Dad
- 55
- 1
Hi, I have a very basic statistics homework question, and I have given it a go, but I just wanted to know if I had approached it correctly:
QUESTION
A shop adjusts its staffing levels using a model of customer demand through the week in the ratio of: 0.22(Mon); 0.14(Tue); 0.16(Wed); 0.18(Thu); 0.30(Fri)
When opening a new branch of the shop customer levels were measured as: 2680(Mon); 1600(Tue); 2020(Wed); 2250(Thu); 3650(Fri)
By normalising the model, make a prediction for the number of customers on each day of the week.
Hence use chi-squared to determine if the model is satisfactory (Assume Poisson like errors).
ATTEMPT AT SOLUTION
First and foremost, I calculated the total number of people who visited the shop for the week = 12200.
For each day, I then calculated the predicted number of people based upon the ratio per day (total people * ratio) to give:
DAY Mon Tue Wed Thu Fri
OBSERVED 2680 1600 2020 2250 3650
PREDICTED 2684 1708 1952 2196 3660
To calculate the chi-squared value, I used χ2=∑[(observed-predicted)2/predicted] to give a chi-squared value of 10.56
Using reasonable logic and knowledge, I can say that the model is not satisfactory as this chi-squared value of 10.56 is well outside the prediction that chi-squared ≈ n.d.f. (where n.d.f. = 5-1 = 4).
NOTE
I feel I have been too simplistic in my approach.
I would appreciate any feedback.
Many thanks
QUESTION
A shop adjusts its staffing levels using a model of customer demand through the week in the ratio of: 0.22(Mon); 0.14(Tue); 0.16(Wed); 0.18(Thu); 0.30(Fri)
When opening a new branch of the shop customer levels were measured as: 2680(Mon); 1600(Tue); 2020(Wed); 2250(Thu); 3650(Fri)
By normalising the model, make a prediction for the number of customers on each day of the week.
Hence use chi-squared to determine if the model is satisfactory (Assume Poisson like errors).
ATTEMPT AT SOLUTION
First and foremost, I calculated the total number of people who visited the shop for the week = 12200.
For each day, I then calculated the predicted number of people based upon the ratio per day (total people * ratio) to give:
DAY Mon Tue Wed Thu Fri
OBSERVED 2680 1600 2020 2250 3650
PREDICTED 2684 1708 1952 2196 3660
To calculate the chi-squared value, I used χ2=∑[(observed-predicted)2/predicted] to give a chi-squared value of 10.56
Using reasonable logic and knowledge, I can say that the model is not satisfactory as this chi-squared value of 10.56 is well outside the prediction that chi-squared ≈ n.d.f. (where n.d.f. = 5-1 = 4).
NOTE
I feel I have been too simplistic in my approach.
I would appreciate any feedback.
Many thanks
Last edited: