Question

In: Statistics and Probability

how do you feel about Chi-square testing is it most a difficult subject?

how do you feel about Chi-square testing is it most a difficult subject?

Solutions

Expert Solution

The chi square test is easey to understand following step.

The Chi Square statistic is commonly used for testing relationships between categorical variables. The null hypothesis of the Chi-Square test is that no relationship exists on the categorical variables in the population; they are independent.

Three types of chi squre test of following.

1) Independence: Use the test for independence to decide whether two variables (factors) are independent or dependent. In this case there will be two qualitative survey questions or experiments and a contingency table will be constructed. The goal is to see if the two variables are unrelated (independent) or related (dependent). The null and alternative hypotheses are:

H0: The two variables (factors) are independent.

H1 : The two variables (factors) are dependent.

Example:

Non-Smoker Smoker Total
Athlete 14 4 18
Non-athlete 0 10 10
Total 14 14 28

Non-Smoker Smoker Total
Athlete (14*18) / 28 =9 (14*18)/28 = 9 18
Non-athlete (10*14) /28 = 5 (10*14)/28 = 5 10
Total 14 14 28

Test statistic

We have the observed and expected frequencies. We now need to compare these frequencies to determine if they differ significantly. The difference between the observed and expected frequencies, referred as the test statistic (or t-stat) and denoted χ2, is computed as follows:

and then we sum them all to obtain the test statistic:

df = (number of rows − 1) ⋅ (number of columns − 1)

In our example, the degrees of freedom is thus df = (2−1) ⋅ (2−1) = 1 since there are two rows and two columns in the contingency table (totals do not count as a row or column).

We now have all the necessary information to find the critical value in the Chi-square table (α = 0.05 and df = 1). To find the critical value we need to look at the row df = 1 and the column χ^2_0.050 (since α = 0.05) in the picture below. The critical value is 3.84146.1

Conclusion and interpretation :

test statistic = 15.56 > critical value = 3.84146

Like for any statistical test, when the test statistic is larger than the critical value, we can reject the null hypothesis at the specified significance level.

..................................................................................................................................................................

2) Goodness-of-Fit: Use the goodness-of-fit test to decide whether a population with an unknown distribution "fits" a known distribution. In this case there will be a single qualitative survey question or a single outcome of an experiment from a single population. Goodness-of-Fit is typically used to see if the population is uniform (all outcomes occur with equal frequency), the population is normal, or the population is the same as another population with a known distribution. The null and alternative hypotheses are:

H0: The population fits the given distribution.

H1 : Ha: The population does not fit the given distribution.

.............................................................................................................................................................

Homogeneity: Use the test for homogeneity to decide if two populations with unknown distributions have the same distribution as each other. In this case there will be a single qualitative survey question or experiment given to two different populations. The null and alternative hypotheses are:

H0: The two populations follow the same distribution.

H1 : The two populations have different distributions.

overview:

The goodness-of-fit test is typically used to determine if data fits a particular distribution. The test of independence makes use of a contingency table to determine the independence of two factors. The test for homogeneity determines whether two populations come from the same distribution, even if this distribution is unknown.


Related Solutions

Learning Objectives Understand when and how Chi-square testing is used. Become proficient with the Chi-square analysis...
Learning Objectives Understand when and how Chi-square testing is used. Become proficient with the Chi-square analysis in SPSS. Gain more experience with customizing statistical calculations in Excel. Perform a basic interpretation of a Chi-Square analysis. Using Chi Square Using a statistical test without having a good idea of what it can and cannot do means that you may misuse the test. This also means that you won't have a clear grasp of what your results really mean. We know that...
How do you know when to conduct a t-test or a chi-square test?
How do you know when to conduct a t-test or a chi-square test?
When and how do you use a chi-square distribution to test if two variables are independent?...
When and how do you use a chi-square distribution to test if two variables are independent? What is an example of how to use the contingency table to find expected frequencies?
How do you feel about the question, "is it legal to lie?" Do you agree or...
How do you feel about the question, "is it legal to lie?" Do you agree or disagree with the statement? Give an explanation for your answer using evidence.
You will be doing Chi-square goodness-of-fit testing on the M&M’s in a bag. Steps: 1. Count...
You will be doing Chi-square goodness-of-fit testing on the M&M’s in a bag. Steps: 1. Count the number of M&M’s in your bag by color. Red: 12 brown 8 Orange 13 yellow 15 green 9 blue 11 2. Now follow the steps for Hypothesis testing: i. State Null and Alternate hypothesis. Your hypothesis must be based on the assumption that the M&M’s in your bag are expected to follow the following pattern: 24% cyan blue, 20% orange, 16% green, 14%...
How did you feel about your new position as programmer Analyst? Do you feel your academic...
How did you feel about your new position as programmer Analyst? Do you feel your academic preparation which is MBA has been sufficient for you to be able to fulfil your current job expectations? Explain why or why not. PLEASE ANSWER IN 350 WORDS AND IN WORD FORMAT ONLY. THANKS
Select whether a chi-square test for association is the most appropriate for the following scenarios: Most...
Select whether a chi-square test for association is the most appropriate for the following scenarios: Most appropriate or Not appropriate a) Emma wishes to know whether gender has any relation with whether one prefers wine, beer, or liqueur. She surveys a group of men and women and records the number of participants who prefer wine, the number who prefer beer and the number who prefer liqueur. (yes or no) b) Danielle surveys a group of people on how often they...
how do you feel about the comparison of sugar to tobacco? Do you believe we should...
how do you feel about the comparison of sugar to tobacco? Do you believe we should tax sugar in our foods? Please explain.
How do you feel about aging? Do you dread getting older, or look forward to it?
How do you feel about aging? Do you dread getting older, or look forward to it?
Describe and discuss at least 1 other business scenario in which you believe Chi-square testing would...
Describe and discuss at least 1 other business scenario in which you believe Chi-square testing would be helpful to a company. Use the following data to conduct a Chi-square test for each region of the company Region Expected Actual Southeast Defined 100 98 Open 100 104 Northeast Defined 150 188 Open 150 214 Midwest Defined 125 120 Open 125 108 Pacific Defined 200 205 Open 200 278
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT