Question

In: Statistics and Probability

Using R and R Commander, perform a Chi-squared test of independence with marstatus in the Columns...

Using R and R Commander, perform a Chi-squared test of independence with marstatus in the Columns and gender in the Rows. Click on Statistics tab and select the first three options under Hypothesis Tests. Copy the output and paste it below this question. Is the Chi-squared test significant at the 5% alpha level? Are the results reliable? Please see data below. Can you explain?

Frequency table:

        marstatus

gender   Divorced Married Single

Female        2       6      9

Male          1       0      6

        Pearson's Chi-squared test

data: .Table

X-squared = 3.3479, df = 2, p-value = 0.1875

Expected counts:

        marstatus

gender   Divorced Married Single

Female    2.125    4.25 10.625

Male      0.875    1.75 4.375

Chi-square components:

        marstatus

gender   Divorced Married Single

Female     0.01    0.72   0.25

Male       0.02    1.75   0.60

Solutions

Expert Solution

Chi-Square Test:

H0: Gender and Marital Status are independent.

H1: Gender and Marital Status are dependent.

df = (2-1)*(3-1)

= 2

p-value = 0.1875 > 0.05 i.e. we fail to reject H0 and gene we can't say that Gender and martial status are dependent on each other significantly.

One condition to conduct chi-square test is: Sample data displayed in a contingency table, the expected frequency count for each cell of the table should be at least 5.

Since this condition is not fulfilled, we can't claim this test to be totally reliable.

Please upvote if you have liked my answer, would be of great help. Thank you.


Related Solutions

Compare the chi-squared test for goodness of fit to the chi-squared test for independence. Be sure...
Compare the chi-squared test for goodness of fit to the chi-squared test for independence. Be sure to mention number of samples and the number of levels of categories for your comparison. Also provide the alternative hypothesis for both.
Using R and R Commander, perform an Independent samples t-test on the variable attpublicschools selecting gender...
Using R and R Commander, perform an Independent samples t-test on the variable attpublicschools selecting gender as grouping variable. Click on Options tab and select Yes under Assume equal variances? Copy the output and paste it below this question. Is the t-test significant at 5% alpha level? Can you explain it to me? Here is my data: Two Sample t-test data: attpublicschools by gender t = -0.29221, df = 22, p-value = 0.7729 alternative hypothesis: true difference in means is...
Chi-Squared Test for Independence: Gender differences in dream content are well documents , Suppose a researcher...
Chi-Squared Test for Independence: Gender differences in dream content are well documents , Suppose a researcher studies aggressive content in the dreams of men and women. Each participant reports his or her most recent dreams. Then each is judged by a panel of experts to have low, medium, or high aggressive content. The observed frequencies are shown in the following: Aggression Content Low Medium High Gender Female 18 4 2 Male 4 17 15 Is there a relationship between gender...
Describe how to obtain a p-value for a chi-squared test for independence. Describe how the two...
Describe how to obtain a p-value for a chi-squared test for independence. Describe how the two sample means test is different from the paired means test, both conceptually and in terms of the calculation of the standard error. What visualizations are useful for checking each of the conditions required for performing ANOVA?
Chi-Square Test for Independence Using Chi-Square, we are looking to see if there is a significant...
Chi-Square Test for Independence Using Chi-Square, we are looking to see if there is a significant difference between what we would expect results to be, and what the actual results were. That is, expected vs. observed.   Use alpha = .05 Listed below are data from a survey conducted recently where Males and Females responded to their happiness with their supervisor (this is fictitious data). Response Male Female Total Not at all 23 25 48 Somewhat 13 22 35 Very 26...
Chi-Square Test for Independence Using Chi-Square, we are looking to see if there is a significant...
Chi-Square Test for Independence Using Chi-Square, we are looking to see if there is a significant difference between what we would expect results to be, and what the actual results were. That is, expected vs. observed.   Use alpha = .05 Listed below are data from a survey conducted recently where Males and Females responded to their happiness with their supervisor (this is fictitious data). Response Male Female Total Not at all 23 25 48 Somewhat 13 22 35 Very 26...
(a) Using R and R Commander, run the Correlation test between the variables attpublicschools and attteachingprof....
(a) Using R and R Commander, run the Correlation test between the variables attpublicschools and attteachingprof. Copy appropriate output and paste it below this question. Is the correlation significant at 5% alpha level?                                                                                   [6 Points] I have done the correlation test. (see below for data) How do I know if the correlation significant at 5% alpha level? Is 5% alpha the same as 95% confidence interval? Pearson's product-moment correlation data: attpublicschools and attteachingprof t = 3.724, df = 22,...
Calculate the test statistic, x^(2), for a chi-squared test for association using the following table. The...
Calculate the test statistic, x^(2), for a chi-squared test for association using the following table. The following data represents the observed values and expected values of the eating habits of runners and swimmers for a random sample of adult athletes. Prefer to eat before workout. Prefer to eat after workout. Total Runner 68 121 189 Swimmer 73 128 201 Total 141 249 390
Chi- Squared Test of Independence 6) Business Non-response questionnaires were mailed to 300 randomly selected businesses...
Chi- Squared Test of Independence 6) Business Non-response questionnaires were mailed to 300 randomly selected businesses in each of three categorical sizes. The following data shows the number of responses. Size of Company Response No Response Small 175 125 Medium 145 155 Large 120 180 Test the claim that the size of the company is independent of the company`s response a. State the null and alternative hypothesis b. Give the p-value c. Give a conclusion for the hypothesis test
Choose either the Chi Square Goodness of Fit test OR the Chi Square Test for Independence....
Choose either the Chi Square Goodness of Fit test OR the Chi Square Test for Independence. Give an example of a research scenario that would use this test, including your hypothesis AND what makes the test suitable for your variables chosen
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT