Assignment 3
Assignment 3
Assignment 3
Module 8
Due: Sunday December 1st 11:59 PM (submit via Canvas)
Please submit your assignment via Canvas by the deadline. Instructions are given below. If the
marker cannot read your work, then you will receive a grade of 0. If a question says to use Excel,
then do not submit handwritten work for that question. Yes, you may use your tablet and stylus if
you wish. Your assignment must include a signed declaration of academic integrity (provided
below – type or write your name into both fields). Failure to submit a declaration of academic
integrity with your name in both fields will result in a grade of 0% on the assignment. A
video showing how to upload your assignment has been posted to Canvas > COMM 207 >
Modules > Start Here.
Please DO NOT SUBMIT YOUR EXCEL FILE. Submit only ONE document – a PDF with
your answers and your declaration of academic integrity. Rounding instructions are given in
each question.
How to export your assignment from Word to PDF if you are using a Mac
File > Print… > PDF (bottom left drop-down menu) > Save as PDF…
How to export your assignment from Word to PDF if you are using a Windows computer
File > Export > Create PDF/XPS (check the pop-up window says “Save as: PDF”)
Update Google Chrome - click the three vertical dots in the top right corner, and then click
Settings > About Chrome. Chrome will automatically update if there are any updates
available. Then, clear the browser history and cache. You can follow the instructions from the
link here: How do I clear my web browser cache/history? Then, log out of PAWS and close
Chrome entirely (don't just close the window!) and re-open it.
If you still encounter technical difficulties after following the above steps, please email me at
least 48 hours in advance of the deadline for assistance.
Declaration of academic integrity (MUST be included in your assignment submission)
I, Dawsar Abdelhadi (typed name as it appears in Canvas) declare that I did not use any
unauthorized resources when completing this assignment.
I understand that posting these questions, or my answers, or the instructor’s answers to a website
or app will result in academic misconduct charges.
I understand that use of an unauthorized resource will result in academic misconduct charges.
I understand that academic misconduct charges carry a penalty of anywhere from 0% on the
assignment to expulsion from the university.
1. [4 marks] Explain when each of the two chi-square tests covered in Module 8 is used, and
provide a quick reminder to yourself about some key qualities about the chi-square distribution.
Fill in the blanks below to answer the question.
I should use the chi-square test of goodness-of-fit when I want to know _if value is different
from its hypothesized value________________
_____________________________________________
I should use the chi-square test of independence when I want to know _if 2 variables depend on
each other ________________
_____________________________________________
I can only use one of these two chi-square tests on this type of data (one word):
_categorical__________
The chi-square distribution is (pick the correct shape from this list: left skewed, right skewed,
symmetric): _ right skewed_______________
Case A [12 marks]: The Bank of Canada increased interest rates a few times in 2023 [1].
Suppose a survey was conducted by a polling organization, and Saskatchewanians answered the
question: “have you been majorly affected, somewhat affected, or not at all affected by interest
rates climbing?”. The survey yielded the following results.
The same survey was conducted in Ontario, and it was found that 69% of Ontarians believed
they would be majorly affected, 29% believed they would be somewhat affected, and 2%
believed they would not be affected at all. The polling organization is interested in determining if
there is a difference in the population proportions between the two provinces. Conduct an
appropriate hypothesis test by filling in the blanks below. Let group 1 be the “majorly affected”
group; group 2 be the “somewhat affected” group, and group 3 be the “not at all affected” group.
1) [1 mark] State the null and alternative hypotheses using the appropriate notation.
HA: at least one 𝑝𝑖 is different from its hypothesized value, for i =1, 2, 3
2) [1 mark] Calculate the test statistic. Please round your final answer to 2 decimal
places. Note: you may use Excel to calculate the test statistic. No need to show your
work. Hint: Note it’s not necessary for expected values to be whole numbers, as
these are essentially averages.
N= 1030
1030(0.69) = 0.161094695
+
1030(0.29) = 1.170706394
+
1030(0.02) = 41.9592233
43.30
3) [1 mark] Find the p-value using Excel. Use your rounded test statistic from part 2, and
show your Excel command. Please do not round your answer. For example, suppose this
question had instead asked you to calculate a sample mean of 10 values. If I had data in
cells A1 through A10 in Excel, and I typed =average(A1:A10), hit enter, and got the
result 10.2, then I would provide: =average(A1:A10)=10.2.
=CHISQ.DIST.RT(43.30,2)
= 3.95844E-10
4) [1 mark] Based on this p-value, do you reject the null hypothesis (answer “yes” or “no”
only, with no additional words)?
yes
6) [7 marks] Conduct a follow-up analysis. Show all of your work. Do exactly as shown in
the Module 8 Tutorial, including all rounding (copy/paste from that document and change
numbers and context). Ensure you have the entire follow-up analysis (i.e., everything on
that page, not just the table). Note: you’re going to get a strange answer here (you will
end up rejecting only one of the null hypotheses, which doesn’t agree nicely with
intuition). This was discussed at the end of the Module 8 Review Questions and answers.
It’s not a mistake.
QP1=
≈ 0.01454
QP2=
≈ 0.01386
QP3=
≈ 0.00660
Case B [9 marks]
2. Test statistic:
7.23667
3. critical value:
=CHISQ.INV.RT(0.05,(3-1)*(3-1)) = 0.99969266
4. Since the test statistic (7.23667) doesn’t lie in the rejection region (9.48773, ∞), we don’t
reject the null hypothesis.
5. The variables “college” and “secondary school” are independent.
b) [2 marks] Based on your analysis in part a), do you think we can use the variable “secondary
school attended” to predict which college a student will choose as their first choice (answer
“yes” or “no” – one of these words must be present or you will lose a mark)? Why or why not?
No we cannot use the variable “secondary school attended” to predict which college a student
will choose as their first choice.
c) [2 marks] Think about the real world for a moment. Give one reason why your answer to part
might make sense, and one reason why it might not. Answer in 2 sentences.
Human beings are all different and make choices based on external factors. For example,
personal interests and life situations all differ for every person.
References