Question

In: Statistics and Probability

a) The categories of a categorical variable are given along with the observed counts from a...

a) The categories of a categorical variable are given along with the observed counts from a sample. The expected counts from a null hypothesis are given in parentheses. Compute the χ2-test statistic, and use the χ2-distribution to find the p-value of the test.

Category A B C D

Observed
   (Expected)

80(70) 130(140) 195(210) 295(280)


Round your answer for the chi-square statistic to two decimal places, and your answer for the p-value to four decimal places.
chi-square statistic = ____________________
p-value = ____________________

b) A null hypothesis for a goodness-of-fit test and a frequency table from a sample are given.

H0: pa=pb=pc=pd=0.25
Ha: Some pi≠0.25

A B C D Total
208 225 198 209 840

Find the expected count for the category labeled B.

The expected count is __________________________

Find the contribution to the sum of the chi-square statistic for the category labeled B.
Round your answer to three decimal places.
The contribution for the category labeled B is ____________________

Find the degrees of freedom for the chi-square distribution for this table.
_________________ degree(s) of freedom

Solutions

Expert Solution

a)

chi-square statistic :

O : Observed counts

E : Expected counts

Degrees of freedom = number of categories - 1 = 4-1=3

for 3 degrees of freedom;

p-value = 0.2595

chi-square statistic = 4.11

p-value = 0.2595

b)

Expected count for category B : Eb = pb * Total = 0.25 * 840 = 210

The expected count is 210

Contribution to the sum of the chi-square statistic for the category labeled B. =

Ob : Observed Count for the category B = 225

Contribution to the sum of the chi-square statistic for the category labeled B. =

The contribution for the category labeled B is 1.071

Degrees of freedom for the chi-square distribution for this table = number of categories - 1 = 4-1 =3

3 degree(s) of freedom


Related Solutions

Consider the Categorical Variable Education with the following categories: High School Only, Bachelor’s, Graduate Degree. The...
Consider the Categorical Variable Education with the following categories: High School Only, Bachelor’s, Graduate Degree. The dependent variable in the Linear Regression is the amount contributed to political campaigns in the last election. Suppose Bachelor’s is the excluded category. The coefficient on High School Only is −$101.23. The coefficient on Graduate Degree is $20.45. What is the interpretation of the coefficient on High School Only? Group of answer choices People who stop at a Bachelor’s Degree contribute $101.23 less to...
INFERENCE ON CATEGORICAL DATA For the given table of observed frequencies: 1 2 3 A 15...
INFERENCE ON CATEGORICAL DATA For the given table of observed frequencies: 1 2 3 A 15 10 12 B 3 11 11 C 9 14 12 Compute the value of the chi-square statistics. If appropriate, perform a test of independence, using the α=0.05 level of significance.
Traditional ANOVA is usually used when our categorical predictor variable has more than two categories. It...
Traditional ANOVA is usually used when our categorical predictor variable has more than two categories. It works for two categories, it's just that there is a simpler technique for that -- two-sample t. To show ANOVA works for two categories, see if pulse rate before depends on Sex. PuBefore PuAfter Ran? Smokes? Sex Height Weight ActivityL 48 54 no yes male 68 150 1 54 56 no yes male 69 145 2 54 50 no no male 69 160 2...
Which of the following is not a categorical variable?
Which of the following is not a categorical variable? Gender Diabetes Type Il status (Y/N) Height in cm Age divided into quartiles (<25th Percentile. 25-50th Percentile. 50-75th percentile, >75th percentile)
A distribution and the observed frequencies of the values of a variable from a simple random...
A distribution and the observed frequencies of the values of a variable from a simple random sample of the population are provided below. Use the​ chi-square goodness-of-fit test to​ decide, at the specified significance​ level, whether the distribution of the variable differs from the given distribution. ​Distribution: 0.18750.1875​, 0.18750.1875​, 0.250.25​, 0.3750.375    Observed​ frequencies: 1818​, 1919​, 2020​, 3939 Significance levelequals=0.05
A distribution and the observed frequencies of the values of a variable from a simple random...
A distribution and the observed frequencies of the values of a variable from a simple random sample of the population are provided. Use the​ chi-squaregoodness-of-fit test to​ decide, at a significance​ level of 0.10, whether the distribution of the variable differs from the given distribution. (You need to add the expected column based on the distribution) a.       Specify which Chi-Square test you are doing (Goodness-of-Fit or Test for Independence): b.       Formulate the null (H0) and alternate (HA) hypotheses: c.       Specify the level of...
A distribution and the observed frequencies of the values of a variable from a simple random...
A distribution and the observed frequencies of the values of a variable from a simple random sample of the population are provided below. Use the​ chi-square goodness-of-fit test to​ decide, at the specified significance​ level, whether the distribution of the variable differs from the given distribution. ​ Distribution: 0.3​, 0.2​, 0.2​, 0.2​, 0.1   Observed​ frequencies: 12​, 9​, 8​, 17​, 4 Significance level = 0.10
classify each variable as quantitative or categorical. for categorical- state whether its ordinal or nominal for...
classify each variable as quantitative or categorical. for categorical- state whether its ordinal or nominal for quantitative- state whether its continuous or discrete and whether the level of measurement is ratio or interval VARIABLES: Marital Status Happiness Cholestoral Change Blood Pressure Change Vision Change Age Male
Discuss why it is important to assess the minimum number of observed and expected counts in...
Discuss why it is important to assess the minimum number of observed and expected counts in cross tabulation
The table to the below contains observed values and expected values in parentheses for two categorical​...
The table to the below contains observed values and expected values in parentheses for two categorical​ variables, X and​ Y, where variable X has three categories and variable Y has two categories. Use the table to complete parts​ (a) and​ (b) below. X1 X2 X3 Y1 34 40 55 36.86 43.24 48.91 Y2 18 21 14 15.14 17.76 20.09 (a) Compute the value of the​ chi-square test statistic. ​(Round to three decimal places as​ needed.) X 2/0= (b) Test the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT