In a contingency table 1015 individuals are classified by ge

In a contingency table, 1015 individuals are classified by gender and by whether they favor, oppose, or have no opinion on a complete ban on smoking in public places. Test the null hypothesis that gender and opinion on smoking in public places are independent. Give the approximate p-value of this test.

Solution

we need to determine if the two attributes are independent or not.

H0: the two attributes are independent

H1: the two attributes are dependent

the sampling distribution we use here is the chi square distribution. The test statisitc is the chi sqaure statisitc.

level of significance is 5%.

The test sttisitc value is 5.97.

p value is 0.504.

Since p > 0.05, we accept the null hypotesis.

The parent distribution should be normal.

 In a contingency table, 1015 individuals are classified by gender and by whether they favor, oppose, or have no opinion on a complete ban on smoking in public

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site