Question

In: Statistics and Probability

12. Political Party Affiliation and Class level Freshman Sophomore Junior Senior Total Democrat 1 4 5...

12. Political Party Affiliation and Class level

Freshman Sophomore Junior Senior Total

Democrat 1 4 5 3 13

Republican 4 8 4 2 18

Green 1 3 3 2 9

Libertarian 1 1 2 1 5

Peace/Freedom 2 3 3 2 10

Total 6 15 12 7 55

Perform a hypothesis test to determine whether there is an association between class levels and political party affiliation.

Solutions

Expert Solution

Assume a level of significance to be 5%

Chi-Square Independence test - Results
(1) Null and Alternative Hypotheses
The following null and alternative hypotheses need to be tested:
H0​: The two variables - class levels and political party affiliation are independent
Ha​: The two variables - class levels and political party affiliation are dependent

This corresponds to a Chi-Square test of independence.

(2) Degrees of Freedom
The number of degrees of freedom is df = (5 - 1) * (4 - 1) = 12

(3) Critical value and Rejection Region
Based on the information provided, the significance level is α=0.05, the number of degrees of freedom is df = (5 - 1) * (4 - 1) = 12, so the critical value is 21.0261.
Then the rejection region for this test becomes R={χ2:χ2>21.0261}.

(4)Test Statistics
The Chi-Squared statistic is computed as follows:

(5)P-value
The corresponding p-value for the test is p=Pr(χ2​>3.7892)=0.9869

(6)The decision about the null hypothesis
Since it is observed that χ2=3.7892<χ2_c​rit=21.0261, it is then concluded that the null hypothesis is NOT rejected.

(7)Conclusion
It is concluded that the null hypothesis Ho is NOT rejected. Therefore, there is NOT enough evidence to claim that the two variables - class levels and political party affiliation are dependent, at the 0.05 significance level.

Conditions:
a. The sampling method is simple random sampling.
b. The data in the cells should be counts/frequencies
c. The levels (or categories) of the variables are mutually exclusive.

Let me know in the comments if anything is not clear. I will reply ASAP! Please do upvote if satisfied!


Related Solutions

a) Write C code using if statements to display ‘Freshman, ‘Sophomore’, ‘Junior’ or ‘Senior’ based on...
a) Write C code using if statements to display ‘Freshman, ‘Sophomore’, ‘Junior’ or ‘Senior’ based on what value is in variable classification. Display ‘unknown ’ if classification does not contain ‘f’, ‘s’, ‘j’or ‘r’. Allow upper or lower case in variable color. In other words either ‘r’ or ‘R’ will display ‘Senior’. b) Write C code to do the same thing as the previous problem, but use a switch statement.
4-5. List the junior level COSC courses (like COSC3xxx) and the name of the course. Use...
4-5. List the junior level COSC courses (like COSC3xxx) and the name of the course. Use the Course table. 4-6. Using the COUNT feature, determine whether there are duplicate names or student numbers in the Student table. 4-7. Assume all math courses start with MATH. How many math courses are there in the Section table? From the COUNT of courses, does it appear there are any math courses in the Section table not in the Course table? Again, using COUNTs,...
(9) Diagonalizing 4 0 1 -7 -5 5. -12 -6 7
(9) Diagonalizing 4 0 1 -7 -5 5. -12 -6 7
Use the SAMPLE-level data set to answer the questions: 12 6 9 10 4 5 11...
Use the SAMPLE-level data set to answer the questions: 12 6 9 10 4 5 11 8 7 4 a. Compute SS for this data set b. Compute s2 for this data set c. Compute s for this data set d. What is the definition for standard deviation?
1.Multiparty 2.Pulralistic society 3.Party in power 4.Minor party 5.Split-ticket voting 6.One-party System 7.Consensus 8.Splinter parties 9.Single-member...
1.Multiparty 2.Pulralistic society 3.Party in power 4.Minor party 5.Split-ticket voting 6.One-party System 7.Consensus 8.Splinter parties 9.Single-member district 10.Two-party system Practicing the Vocabulary by creating sentences only.
1.Multiparty 2.Pulralistic society 3.Party in power 4.Minor party 5.Split-ticket voting 6.One-party System 7.Consensus 8.Splinter parties 9.Single-member...
1.Multiparty 2.Pulralistic society 3.Party in power 4.Minor party 5.Split-ticket voting 6.One-party System 7.Consensus 8.Splinter parties 9.Single-member district 10.Two-party system Practicing the Vocabulary I'm complete sentences only.
first matrix A [ 2 -1 3 ] [-4 0 -2 ] [2 -5 12 ]...
first matrix A [ 2 -1 3 ] [-4 0 -2 ] [2 -5 12 ] [4 0 4 ] amd b [2] [-2] [5] [0] solve for Ax=b using tan LU factorization of A
Analysis of Potential Changes in Macroenvironment 1. Political 2. Social 3. Environmental 4. Technological 5. Legal
Hi, I am currently doing a paper on Philippine Retail Industry - Department Stores I am asking for your help in the following section of my paper Analysis of Potential Changes in Macroenvironment 1. Political 2. Social 3. Environmental 4. Technological 5. Legal
Case Study There two sets of questions for this module, 1-4 and 5-8, for a total...
Case Study There two sets of questions for this module, 1-4 and 5-8, for a total of eight questions. Using the concept of the epidemiological triangle to complete one of the following case studies: John J. is a school nurse at Jackson Elementary School, which was built in 1960. Nurse John has noticed that many students from Ms. Zee’s second grade class have come to the clinic complaining about coughing, sneezing, runny nose, and watery eyes. Nurse John has also...
Exercise 12-12 (Algo) Available-for-sale securities [LO12-1, 12-4] Colah Company purchased $1,700,000 of Jackson, Inc., 5% bonds...
Exercise 12-12 (Algo) Available-for-sale securities [LO12-1, 12-4] Colah Company purchased $1,700,000 of Jackson, Inc., 5% bonds at par on July 1, 2021, with interest paid semi-annually. Colah determined that it should account for the bonds as an available-for-sale investment. At December 31, 2021, the Jackson bonds had a fair value of $1,970,000. Colah sold the Jackson bonds on July 1, 2022 for $1,530,000. Required: 1. Prepare Colah’s journal entries for the following transactions: The purchase of the Jackson bonds on...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT