ASSIGNMENT
In this lab, we will begin to develop the concepts found on testing for independence in chapter 6, section 4. be sure to:
Follow all instructions.
Answer each question completely.
Include JMP output to help demonstrate and support your answers.
You will be submitting your lab in Gradescope. Save the file for the lab and upload with the title Math539 _LabXX_Name. Be sure to input your lab section and name into the title of the file.
Good luck and enjoy!
Step 1: Data Collection
Complete the survey in the pre-assignment. Make sure that the data is in the correct form for JMP.
Step 2: Conduct the analysis
(3.75 pts.) Using the data, complete the following chart. You may combine categories so that the cells have at least 5 in each.
Ketchup Mustard Relish Mayonnaise Total
Male
Female
Total
Conduct a hypothesis test to determine if the factors are independent:
(2 pts.) What are the parameters of interest?
(2 pts.) Are the assumptions satisfied?
(1 pt.) What are the hypotheses?
(2 pts.) What is the formula for the test statistic, and the distribution for the test statistic? Be sure to include the degrees of freedom.
(5 pts.) Calculate the test statistic. You may want to create a table such as the one below in Excel. Include all work and/or table.
Gender Favorite Snack Observed Expected Difference Square Ratio
(1 pt.) Find the p-value using the chi-squared table to estimate it.
(1 pt.) State your decision.
(1 pt.) State your conclusion.
(2 pts.) Conduct the analysis in JMP. Compare answers. Are they the same? Include the JMP output.