Aimathic
Login | English | Deutsch

Free math worksheets

Build your own math worksheets from 30,000+ problems for grades 3 to 12, from fractions to AP Calculus. Every problem comes with step-by-step solutions.

Chi-square goodness of fit test

Click problems to add them to your worksheet.

55043412
A null model says four categories are equally likely. In a sample of \(100\) observations, what expected count should be used for each category in a chi-square goodness-of-fit test?

Hints

- Translate “equally likely” into a probability for one category. - Expected counts come from sample size multiplied by the null-model probability. - Check that all expected counts together sum to the sample size.

Solution

1. Equal likelihood gives each category probability \(\frac{1}{4}\). 2. The expected count is \(100\cdot\frac{1}{4}=25\) for each category.

Answer

\(25\) in each category.
55043512
A chi-square goodness-of-fit test compares observed counts with a fully specified distribution across \(5\) categories. What are the degrees of freedom?

Hints

- Count the number of outcome categories in the null distribution. - One constraint comes from the fact that all category counts must sum to the sample size. - Reduce the category count by one.

Solution

1. For a goodness-of-fit test with \(k\) categories and no parameters estimated from the data, \(df=k-1\). 2. Here \(df=5-1=4\).

Answer

\(4\)
55043612
A company claims that customers choose three package sizes with probabilities \(0.50\), \(0.30\), and \(0.20\). A random sample will be used to test this claim with a chi-square goodness-of-fit test. State the null and alternative hypotheses.

Hints

- A goodness-of-fit null hypothesis should state the entire proposed distribution. - The alternative does not need to predict which category will differ. - Avoid replacing the distributional claim with a statement about a sample count.

Solution

1. The null hypothesis specifies the claimed categorical distribution. 2. The alternative says the true distribution differs from the claimed distribution in at least one category.

Answer

\(H_0\): The package-size probabilities are \((0.50,0.30,0.20)\). \(H_a\): The package-size distribution is not \((0.50,0.30,0.20)\).
55043712
A goodness-of-fit null model assigns probabilities \(0.50\), \(0.30\), and \(0.20\) to three categories. For a sample of \(200\), find the three expected counts.

Hints

- Expected counts in goodness of fit come directly from the specified null probabilities. - Use the same sample size with each category probability. - Check that your expected counts sum to the total sample size.

Solution

1. Multiply the sample size by each null-model probability. 2. The expected counts are \(200\cdot0.50=100\), \(200\cdot0.30=60\), and \(200\cdot0.20=40\).

Answer

\((100,60,40)\)
55043812
A goodness-of-fit null model assigns probabilities \(0.70\), \(0.20\), \(0.08\), and \(0.02\) to four categories. A random sample has size \(60\). a) Find the expected counts. b) Does the usual high-school condition that every expected count be at least \(5\) hold?

Hints

- Convert each null probability into an expected number of observations. - The condition is checked using expected counts rather than observed counts. - Inspect every category after calculating the expectations.

Solution

1. Multiply \(60\) by each null probability to get expected counts \(42\), \(12\), \(4.8\), and \(1.2\). 2. Two expected counts are below \(5\). 3. Therefore, the stated expected-count condition does not hold.

Answer

a) \((42,12,4.8,1.2)\) b) No.
55043912
In one category of a chi-square goodness-of-fit test, the observed count is \(28\) and the expected count is \(20\). Find this category's contribution to the chi-square statistic.

Hints

- Compare the observed count with the count predicted by the null model. - Square the departure before scaling it. - Use the expected count as the denominator.

Solution

1. A category contributes \(\frac{(O-E)^2}{E}\). 2. Here the contribution is \(\frac{(28-20)^2}{20}=\frac{64}{20}=3.2\).

Answer

\(3.2\)
55044012
A transit agency has a historical model giving fixed probabilities for how riders choose among \(6\) fare types. A new random sample records only each rider's fare type. The agency wants to test whether the current fare-type distribution still matches the historical model. a) Which chi-square procedure is appropriate? b) What are the degrees of freedom if no model parameters are estimated from the new sample?

Hints

- Count how many categorical variables are measured on each sampled individual. - Decide whether the comparison is between two variables or between one observed distribution and a fixed model. - For a fully specified goodness-of-fit model, degrees of freedom depend on the number of categories.

Solution

1. There is one categorical variable whose observed distribution is being compared with a specified probability model, so a chi-square goodness-of-fit test is appropriate. 2. With \(6\) categories and a fully specified model, \(df=6-1=5\).

Answer

a) Chi-square goodness-of-fit test. b) \(df=5\).
55044412
A chi-square goodness-of-fit test gives \(p=0.41\) at \(\alpha=0.05\). Einar concludes, “The claimed distribution is definitely correct.” Evaluate this conclusion and state what the test actually supports.

Hints

- Distinguish a failure to find evidence against a model from proof that the model is true. - Compare the p-value with the significance level first. - Phrase the conclusion in terms of what the sample does or does not provide evidence for.

Solution

1. Since \(0.41>0.05\), fail to reject the null hypothesis. 2. A large p-value does not prove that the claimed distribution is exactly correct. 3. It means the sample does not provide statistically significant evidence that the population distribution differs from the claim.

Answer

The conclusion is too strong. Fail to reject \(H_0\); the data do not provide statistically significant evidence against the claimed distribution, but the claim has not been proved.
55045712
A goodness-of-fit test has \(df=4\). The shaded part of the graph is the rejection region for \(\alpha=0.05\). Ingrid says, “The observed statistic looks fairly far to the right, so we should reject the null model.” Use the graph to evaluate Ingrid's claim.
Figure for problem 550457

Hints

- Use the labeled critical boundary rather than judging whether the statistic merely “looks large.” - Check whether \(T\) actually lies inside the shaded region. - A decision rule is tied to a specific degrees of freedom and significance level.

Solution

1. The graph shows a critical value of \(9.49\). 2. The observed statistic is \(T=7.20\), which lies to the left of \(9.49\) and outside the shaded rejection region. 3. Therefore, the null hypothesis should not be rejected at \(\alpha=0.05\). 4. Visual position alone is not enough; the statistic must be compared with the rejection boundary for the correct degrees of freedom and significance level.

Answer

Ingrid's claim is incorrect. Since \(7.20<9.49\), the statistic is outside the rejection region, so do not reject the null hypothesis at \(\alpha=0.05\).
55044112
A null model says four categories are equally likely. In a sample of \(80\), the observed counts are \((30,20,18,12)\). Compute the expected counts, chi-square statistic, and degrees of freedom.

Hints

- Start by translating the equal-probability model into expected counts. - Compute one contribution for each category before adding them. - Degrees of freedom depend on the number of categories in the fully specified null model.

Solution

1. Equal probabilities give expected counts of \(80\cdot\frac{1}{4}=20\) in each category. 2. The contributions are \(\frac{(30-20)^2}{20}=5\), \(0\), \(\frac{(18-20)^2}{20}=0.2\), and \(\frac{(12-20)^2}{20}=3.2\). 3. Therefore \(\chi^2=5+0+0.2+3.2=8.4\). 4. The degrees of freedom are \(4-1=3\).

Answer

Expected counts: \((20,20,20,20)\); \(\chi^2=8.4\); \(df=3\).
55044212
A goodness-of-fit null model gives category probabilities \((0.40,0.30,0.20,0.10)\). A sample of \(100\) has observed counts \((46,24,18,12)\). Compute the expected counts, \(\chi^2\), and \(df\).

Hints

- Use the null probabilities, not the observed proportions, to form expectations. - Keep the expected count paired with its matching observed category. - Add all category contributions only after calculating them separately.

Solution

1. The expected counts are \((40,30,20,10)\). 2. The category contributions are \(\frac{36}{40}=0.9\), \(\frac{36}{30}=1.2\), \(\frac{4}{20}=0.2\), and \(\frac{4}{10}=0.4\). 3. Their sum is \(\chi^2=2.7\). 4. With four fully specified categories, \(df=4-1=3\).

Answer

Expected counts: \((40,30,20,10)\); \(\chi^2=2.7\); \(df=3\).
55044312
A chi-square goodness-of-fit test evaluates a company's claimed distribution of customer contact methods. The test gives \(p=0.030\). Using \(\alpha=0.05\), state the decision and conclusion in context.

Hints

- Compare the p-value directly with the stated significance level. - The null hypothesis is the claimed categorical distribution. - State the conclusion about the population distribution rather than about whether the sample counts are identical to the expected counts.

Solution

1. Compare the p-value with the significance level: \(0.030<0.05\). 2. Reject the null hypothesis that the true contact-method distribution matches the company's claimed distribution. 3. The data provide statistically significant evidence that the distribution differs from the claim.

Answer

Reject \(H_0\). There is statistically significant evidence at the \(0.05\) level that the customer contact-method distribution differs from the company's claimed distribution.
55044512
Consider two studies. Study 1 records only eye-color category for one random sample and compares the observed distribution with fixed regional proportions. Study 2 records both eye-color category and grade level for one random sample and asks whether the two variables are associated. Identify the appropriate chi-square procedure for each study and explain the structural difference.

Hints

- Count the categorical variables recorded in each study. - Ask whether there is a fixed target distribution or a second categorical variable. - Do not choose a procedure merely because both calculations involve observed and expected counts.

Solution

1. Study 1 uses a chi-square goodness-of-fit test because one categorical variable is compared with a specified probability distribution. 2. Study 2 uses a chi-square test of independence because two categorical variables are recorded on each sampled individual and the question concerns association. 3. The distinction comes from the data structure and null model, not from the fact that both procedures use a chi-square statistic.

Answer

Study 1: chi-square goodness of fit. Study 2: chi-square test of independence. Goodness of fit compares one categorical distribution with a fixed model; independence tests association between two categorical variables.
55044612
A goodness-of-fit test has observed counts \((40,36,24)\) and expected counts \((50,30,20)\). a) Compute the contribution of each category to \(\chi^2\). b) Which category contributes the most, and is its observed count above or below expectation?

Hints

- Compute contributions category by category rather than comparing raw differences alone. - The denominator changes with the expected count. - After identifying the largest contribution, return to the sign of \(O-E\) to describe its direction.

Solution

1. The contributions are \(\frac{(40-50)^2}{50}=2\), \(\frac{(36-30)^2}{30}=1.2\), and \(\frac{(24-20)^2}{20}=0.8\). 2. The first category contributes the most. 3. Its observed count \(40\) is below its expected count \(50\).

Answer

a) Contributions: \((2,1.2,0.8)\). b) The first category contributes the most, and it is below expectation.
55044712
A website posts an optional poll asking visitors to choose one of four news categories. The site compares the responses with a claimed distribution using a chi-square goodness-of-fit test. All expected counts exceed \(20\), but respondents chose for themselves whether to participate. Explain which condition is problematic and why large expected counts do not fix it.

Hints

- Separate conditions about how observations were collected from conditions about expected cell sizes. - Ask whether every member of a target population had a probability-based chance to enter the sample. - A large sample can still be systematically unrepresentative.

Solution

1. The expected-count condition is satisfied because all expected counts exceed \(20\). 2. The sampling condition is problematic because the responses come from a voluntary-response sample rather than a random sample from a defined population. 3. Large expected counts address the chi-square approximation, but they do not remove selection bias or justify population inference from a self-selected sample.

Answer

The sampling condition is the problem. A voluntary-response sample can be biased, and large expected counts do not make it representative of the target population.
55045112
Kabelo wants to test whether a categorical population follows a particular distribution. The sample counts are \((32,28,20,20)\). Kabelo sets the null probabilities equal to the sample proportions \((0.32,0.28,0.20,0.20)\), obtains expected counts identical to the observed counts, and reports \(\chi^2=0\). Explain why this is not a valid goodness-of-fit test of a preexisting distributional claim.

Hints

- Ask where the null probabilities came from and whether they existed before the sample was observed. - A useful test needs a genuine discrepancy that the data are allowed either to support or contradict. - Consider what happens to every \(O-E\) term when expected proportions are copied from the observed sample.

Solution

1. In a goodness-of-fit test of a specified claim, the null probabilities must come from the claimed population model, not be chosen to match the same sample being tested. 2. Setting the null probabilities equal to the sample proportions forces every expected count to equal its observed count. 3. That guarantees \(\chi^2=0\) by construction and therefore provides no test of an external claim. 4. Kabelo must state the null distribution independently of these observed sample proportions before carrying out the goodness-of-fit comparison.

Answer

The null model was fitted to reproduce the observed sample exactly, so \(\chi^2=0\) is guaranteed and does not test a preexisting claim. The null probabilities must be specified independently of the sample for this goodness-of-fit task.
55045612
A chi-square goodness-of-fit test has \(df=3\) and observed statistic \(T=9.00\). Two panels shade different parts of the same reference distribution. Which panel shows the p-value region for this test? Explain why the other panel is incorrect.
Figure for problem 550456

Hints

- Ask whether stronger evidence against a goodness-of-fit model comes from smaller or larger chi-square statistics. - The p-value includes null-distribution outcomes at least as extreme as the observed statistic. - Compare the shaded side of \(T\) in the two panels.

Solution

1. A chi-square statistic measures the total standardized discrepancy between observed and expected counts. 2. Larger chi-square values indicate greater disagreement with the null model. 3. Therefore, the p-value is the area at or to the right of the observed statistic \(T=9.00\). 4. Panel b) shades that right-tail region. Panel a) shades values less extreme than the observed statistic and therefore does not represent the p-value.

Answer

Panel b). The chi-square p-value is the area to the right of the observed statistic because larger chi-square values are more inconsistent with the null model.
55045912
A delivery service models package delivery times with the following probabilities for five intervals: \(0.10,0.20,0.40,0.20,0.10\). A random sample of \(100\) deliveries is summarized by the histogram. a) Read the observed counts from the histogram and find the expected count in each interval. b) Compute the chi-square goodness-of-fit statistic. c) For \(df=4\), the \(5\%\) critical value is \(9.49\). State the conclusion about the proposed delivery-time model.
Figure for problem 550459

Hints

- Read each bar height from the frequency grid before using the probability model. - Convert each model probability to an expected count using the sample size. - Compare the completed test statistic with the stated critical value.

Solution

1. The observed counts are \((5,25,35,25,10)\) for the five intervals. 2. Multiplying the model probabilities by \(100\) gives expected counts \((10,20,40,20,10)\). 3. The contributions are \(2.5\), \(1.25\), \(0.625\), \(1.25\), and \(0\), so \(\chi^2=5.625\). 4. Since \(5.625<9.49\), do not reject the proposed delivery-time distribution at \(\alpha=0.05\).

Answer

a) Observed: \((5,25,35,25,10)\); expected: \((10,20,40,20,10)\). b) \(\chi^2=5.625\). c) Do not reject the proposed model at \(\alpha=0.05\).
55046212
A fair six-sided die is rolled \(60\) times. The graph compares the observed counts with the counts expected under the fair-die model. a) Read the observed counts and compute the chi-square goodness-of-fit statistic. b) For \(df=5\), the \(5\%\) critical value is \(11.07\). State the test decision. c) Which face contributes most to the chi-square statistic?
Figure for problem 550462

Hints

- Use the series labels and bar widths to distinguish observed counts from expected counts. - Compute one contribution \(\frac{(O-E)^2}{E}\) for each die face, then add them. - To find the largest contribution, compare standardized discrepancies rather than only noting whether a count is above or below expected.

Solution

1. From the graph, the observed counts for faces \(1\) through \(6\) are \((8,11,9,10,16,6)\). The expected count is \(10\) for each face. 2. The chi-square statistic is \(\frac{(8-10)^2}{10}+\frac{(11-10)^2}{10}+\frac{(9-10)^2}{10}+\frac{(10-10)^2}{10}+\frac{(16-10)^2}{10}+\frac{(6-10)^2}{10}=5.80\). 3. Since \(5.80<11.07\), do not reject the fair-die model at \(\alpha=0.05\). 4. Face \(5\) contributes \(\frac{36}{10}=3.60\), the largest single contribution.

Answer

a) Observed counts: \((8,11,9,10,16,6)\); \(\chi^2=5.80\). b) Do not reject the fair-die model at \(\alpha=0.05\). c) Face \(5\).
55046312
A model says the number of successes in three independent trials with success probability \(0.5\) has probabilities \(\frac18,\frac38,\frac38,\frac18\) for \(0,1,2,3\) successes. A sample of \(56\) repetitions is shown in the bar chart. a) Read the observed counts for \(0,1,2,3\) successes. b) Find the expected counts and compute the chi-square goodness-of-fit statistic. c) For \(df=3\), the \(5\%\) critical value is \(7.81\). State the test decision.
Figure for problem 550463

Hints

- Read each observed frequency from the bar height and the count grid. - Convert the four model probabilities into expected counts using the total of \(56\). - Compare the resulting statistic with the stated critical value after summing all four contributions.

Solution

1. The bar chart gives observed counts \((6,24,18,8)\). 2. Multiplying \(56\) by the stated probabilities gives expected counts \((7,21,21,7)\). 3. The chi-square statistic is \(\frac{1}{7}+\frac{9}{21}+\frac{9}{21}+\frac{1}{7}=\frac{8}{7}\approx1.14\). 4. Since \(1.14<7.81\), do not reject the proposed distribution at \(\alpha=0.05\).

Answer

a) Observed counts: \((6,24,18,8)\). b) Expected counts: \((7,21,21,7)\); \(\chi^2\approx1.14\). c) Do not reject the proposed model at \(\alpha=0.05\).
55617412
A chi-square goodness-of-fit test of a five-category customer-choice model gives \(\chi^2=10.60\) with \(df=4\). Use the upper-tail reference values below. <table><tr><th>Upper-tail probability</th><th>Critical value for \(df=4\)</th></tr><tr><td>\(0.10\)</td><td>\(7.779\)</td></tr><tr><td>\(0.05\)</td><td>\(9.488\)</td></tr><tr><td>\(0.025\)</td><td>\(11.143\)</td></tr><tr><td>\(0.01\)</td><td>\(13.277\)</td></tr></table> a) Use the table to give a range for the p-value. b) At \(\alpha=0.05\), state the statistical decision. c) Explain what the p-value range means in this goodness-of-fit setting.

Hints

- Chi-square p-values are right-tail probabilities, so compare the test statistic with the listed upper-tail cutoffs. - Locate the two consecutive critical values between which the observed statistic falls. - Use the resulting p-value range, rather than the statistic alone, for the significance decision.

Solution

1. The observed statistic \(10.60\) is greater than the \(0.05\) upper-tail critical value \(9.488\) but less than the \(0.025\) critical value \(11.143\). 2. Therefore the right-tail probability satisfies \(0.025<p<0.05\). 3. Because the p-value is below \(0.05\), reject the null hypothesis at \(\alpha=0.05\). 4. The p-value range means that, if the claimed category distribution were correct, the probability of obtaining a chi-square statistic at least as large as \(10.60\) would be between \(2.5\%\) and \(5\%\).

Answer

a) \(0.025<p<0.05\). b) Reject \(H_0\) at \(\alpha=0.05\). c) Under the claimed distribution, the probability of a chi-square statistic at least as large as \(10.60\) is between \(2.5\%\) and \(5\%\).
55044812
The bar chart shows observed counts for Categories 1–4 in a sample of \(100\). The null model assigns probabilities \((0.40,0.30,0.20,0.10)\) to Categories 1–4. a) Read the observed counts from the graph and find the expected counts. b) Compute \(\chi^2\) and identify the category with the largest contribution. c) For \(df=3\), software gives \(p\approx0.120\). State the conclusion at \(\alpha=0.05\).
Figure for problem 550448

Hints

- Use the frequency-axis grid to read the observed count for each category. - Expected counts come from the sample size and the stated null probabilities, not from the bar heights. - Compare the category contributions before using the supplied p-value for the decision.

Solution

1. From the chart, the observed counts are \((50,20,20,10)\). The expected counts are \((40,30,20,10)\). 2. The contributions are \(\frac{100}{40}=2.5\), \(\frac{100}{30}\approx3.333\), \(0\), and \(0\). 3. Thus \(\chi^2\approx5.833\), and Category 2 contributes the most. 4. Since \(0.120>0.05\), fail to reject the null hypothesis. The data do not provide statistically significant evidence that the category distribution differs from the null model.

Answer

a) Observed counts: \((50,20,20,10)\); expected counts: \((40,30,20,10)\). b) \(\chi^2\approx5.833\); Category 2 contributes the most. c) Fail to reject \(H_0\); there is not statistically significant evidence of a different distribution.
55044912
A goodness-of-fit test has \(100\) observations and null probabilities \((0.40,0.30,0.20,0.10)\). The observed counts are \((x,25,20,15)\). a) Find the missing observed count \(x\). b) Compute \(\chi^2\) and \(df\). c) Software gives \(p\approx0.343\). State the conclusion at \(\alpha=0.05\).

Hints

- Use the sample-size constraint before starting the goodness-of-fit calculation. - The null probabilities determine the expected counts independently of the missing observed value. - After finding the statistic, keep the p-value decision separate from the arithmetic that produced it.

Solution

1. Observed counts must sum to \(100\), so \(x=100-25-20-15=40\). 2. The expected counts are \((40,30,20,10)\). 3. The contributions are \(0\), \(\frac{25}{30}\approx0.833\), \(0\), and \(\frac{25}{10}=2.5\), so \(\chi^2\approx3.333\). 4. With four categories, \(df=3\). 5. Since \(0.343>0.05\), fail to reject the null hypothesis. The data do not provide statistically significant evidence that the distribution differs from the null model.

Answer

a) \(x=40\) b) \(\chi^2\approx3.333\), \(df=3\) c) Fail to reject \(H_0\); there is not statistically significant evidence of a different distribution.
55045012
A four-category goodness-of-fit model will be used with a sample size of \(120\). The claimed probabilities for Categories A and B are \(0.40\) and \(0.25\). Category C has expected count \(18\), and Category D has the remaining probability. a) Find the claimed probability for Category C. b) Find the claimed probability for Category D. c) Give all four expected counts.

Hints

- Reverse the relationship between expected count, sample size, and null probability for Category C. - All claimed probabilities must add to \(1\). - After completing the probability model, convert each probability back to an expected count.

Solution

1. Since Category C has expected count \(18\), its claimed probability is \(\frac{18}{120}=0.15\). 2. The remaining probability for Category D is \(1-0.40-0.25-0.15=0.20\). 3. Multiplying the four probabilities by \(120\) gives expected counts \((48,30,18,24)\).

Answer

a) \(0.15\) b) \(0.20\) c) \((48,30,18,24)\)
55045212
The bar chart shows observed counts for four categories in a sample of \(100\). Under the null hypothesis, the four categories are equally likely. a) Read the observed counts from the graph, compute \(\chi^2\), and identify the category with the largest contribution. b) For \(df=3\), the \(\alpha=0.05\) chi-square critical value is \(7.815\). State the test decision and conclusion.
Figure for problem 550452

Hints

- Read each observed count from the bar height using the count-axis grid. - Equal likelihood means all four expected counts are the same. - Compare the completed chi-square statistic directly with the stated critical value.

Solution

1. From the chart, the observed counts are \((20,25,35,20)\). Equal probabilities give expected counts \((25,25,25,25)\). 2. The contributions are \(\frac{25}{25}=1\), \(0\), \(\frac{100}{25}=4\), and \(\frac{25}{25}=1\). 3. Thus \(\chi^2=6\), and Category 3 has the largest contribution. 4. Because \(6<7.815\), fail to reject the null hypothesis at \(\alpha=0.05\). 5. The data do not provide statistically significant evidence that the four category probabilities differ from equality.

Answer

a) Observed counts: \((20,25,35,20)\); \(\chi^2=6\); Category 3 contributes the most. b) Fail to reject \(H_0\); there is not statistically significant evidence that the categories are not equally likely.
55045312
A random sample of \(200\) observations is classified into five categories. The claimed probabilities are \((0.40,0.25,0.20,0.10,0.05)\), and the observed counts are \((94,42,34,13,17)\). All expected counts meet the usual chi-square minimum. a) State the hypotheses for a goodness-of-fit test. b) Compute the expected counts, \(\chi^2\), and \(df\). c) Software gives \(p\approx0.0175\). State the decision at \(\alpha=0.05\) and at \(\alpha=0.01\). d) Category 1 has the largest raw residual magnitude. Which category contributes the most to \(\chi^2\), and why can that differ from the raw-residual ranking? e) Explain why the two significance levels can produce different decisions even though the data and p-value are unchanged.

Hints

- Convert the full claimed probability vector into expected counts before comparing categories. - Keep each category's standardized contribution separate; a larger raw residual does not automatically mean a larger chi-square contribution. - Compare the same p-value separately with each significance level. - Distinguish the numerical evidence in the data from the decision rule chosen for interpreting that evidence.

Solution

1. \(H_0\): the population category probabilities are \((0.40,0.25,0.20,0.10,0.05)\). \(H_a\): the population distribution differs from that model. 2. The expected counts are \((80,50,40,20,10)\). 3. The contributions are \(\frac{196}{80}=2.45\), \(\frac{64}{50}=1.28\), \(\frac{36}{40}=0.90\), \(\frac{49}{20}=2.45\), and \(\frac{49}{10}=4.90\), so \(\chi^2=11.98\). 4. With five fully specified categories, \(df=5-1=4\). 5. At \(\alpha=0.05\), \(0.0175<0.05\), so reject \(H_0\). At \(\alpha=0.01\), \(0.0175>0.01\), so fail to reject \(H_0\). 6. Category 5 contributes the most, \(4.90\), even though Category 1 has the largest raw residual magnitude. Category 5 has the smaller expected count, so its squared residual is divided by a much smaller denominator. 7. The p-value summarizes the same sample evidence in both decisions. Changing \(\alpha\) changes the preset rejection threshold, not the data or p-value.

Answer

a) \(H_0\): probabilities \((0.40,0.25,0.20,0.10,0.05)\); \(H_a\): the distribution differs. b) Expected counts \((80,50,40,20,10)\); \(\chi^2=11.98\); \(df=4\). c) Reject at \(\alpha=0.05\); fail to reject at \(\alpha=0.01\). d) Category 5 contributes the most, \(4.90\). Its smaller expected count makes its standardized contribution exceed Category 1's despite Category 1 having the larger raw residual magnitude. e) The significance level is the decision threshold; changing it can change the decision without changing the observed evidence or p-value.
55046012
An ogive summarizes \(100\) observations in the intervals \([0,10)\), \([10,20)\), \([20,30)\), \([30,40)\), and \([40,50)\). Under the null model, the five intervals are equally likely. a) Use the ogive to recover the observed count in each interval. b) Compute the chi-square goodness-of-fit statistic. c) For \(df=4\), the \(5\%\) critical value is \(9.49\). State the test decision.
Figure for problem 550460

Hints

- An ogive gives cumulative counts, so individual interval counts come from successive differences. - Read each cumulative point from the frequency grid before taking differences. - After reconstructing the frequency table, use the usual goodness-of-fit contributions.

Solution

1. The cumulative counts at the upper interval boundaries are \(10,30,65,90,100\). 2. Taking successive differences gives observed interval counts \((10,20,35,25,10)\). 3. Equal likelihood gives expected counts of \(20\) in every interval. 4. The chi-square statistic is \(\frac{100}{20}+0+\frac{225}{20}+\frac{25}{20}+\frac{100}{20}=22.50\). 5. Since \(22.50>9.49\), reject the equal-probability null model at \(\alpha=0.05\).

Answer

a) \((10,20,35,25,10)\). b) \(\chi^2=22.50\). c) Reject the null model at \(\alpha=0.05\).
55617512
River City Transit claims that the primary fare-payment methods of its \(8000\) registered riders follow the distribution \((0.50,0.25,0.15,0.10)\) for transit card, mobile app, cash, and other, respectively. The agency takes a simple random sample of \(200\) distinct registered riders. Each sampled rider is classified into exactly one primary payment category. The observed counts are \((118,40,20,22)\). a) State the hypotheses for a chi-square goodness-of-fit test. b) Check the random-sample, \(10\%\), category, and expected-count conditions before testing. c) Compute the expected counts, \(\chi^2\), and \(df\). d) For \(df=3\), the \(5\%\) critical value is \(7.815\). State the decision and conclusion at \(\alpha=0.05\). e) Transit card has the largest raw residual magnitude. Which category has the largest chi-square contribution? Explain why those answers differ. f) State the population to which the conclusion can reasonably be generalized.

Hints

- Check how the sample was selected and how large it is relative to the stated population before computing the statistic. - Verify that the response categories form one complete, nonoverlapping classification of the recorded variable. - Convert the claimed probabilities into expected counts and inspect the smallest expectation before testing. - Compare standardized chi-square contributions rather than assuming the largest raw residual must dominate. - Match the scope of the final conclusion to the population from which the random sample was drawn.

Solution

1. The null hypothesis is that the population probabilities are \((0.50,0.25,0.15,0.10)\); the alternative is that the population distribution differs from this model. 2. A simple random sample is stated. The sample size \(200\) is less than \(10\%\) of \(8000\). Each rider is placed in exactly one of the four categories, so the categories are mutually exclusive and exhaustive for the recorded variable. 3. The expected counts are \((100,50,30,20)\), all at least \(5\), so the expected-count condition is met. 4. The category contributions are \(3.24\), \(2\), approximately \(3.333\), and \(0.2\). Thus \(\chi^2\approx8.773\). 5. With four fully specified categories, \(df=4-1=3\). 6. Since \(8.773>7.815\), reject the null hypothesis at \(\alpha=0.05\). The sample provides statistically significant evidence that the current primary fare-payment distribution differs from the claimed distribution. 7. Cash contributes the most, approximately \(3.333\), even though transit card has the largest raw residual magnitude. Cash has a smaller expected count, so its squared residual is divided by a smaller denominator. 8. Because the sample was randomly drawn from the agency's registered riders, the conclusion can reasonably be generalized to that registered-rider population, not automatically to all people who use transit in the city.

Answer

a) \(H_0\): The primary fare-payment probabilities are \((0.50,0.25,0.15,0.10)\). \(H_a\): The distribution differs from that model. b) The simple random sample condition is met; \(200<0.10(8000)\); each rider is classified into exactly one of four exhaustive categories; expected counts \((100,50,30,20)\) are all at least \(5\). c) Expected counts: \((100,50,30,20)\); \(\chi^2\approx8.773\); \(df=3\). d) Reject \(H_0\). There is statistically significant evidence at the \(0.05\) level that the registered riders' primary fare-payment distribution differs from the claimed model. e) Cash contributes the most, approximately \(3.333\), even though transit card has the largest raw residual magnitude; cash's smaller expected count makes its standardized contribution larger. f) The conclusion can reasonably be generalized to River City Transit's registered riders.
55617712
A sample of \(100\) observations gives category counts \((45,30,15,10)\). Two fully specified models were proposed before the data were collected: Model A: \((0.40,0.30,0.20,0.10)\) Model B: \((0.55,0.15,0.20,0.10)\) a) For each model, compute the expected counts and the chi-square goodness-of-fit statistic. b) Both tests have \(df=3\). Using the \(5\%\) critical value \(7.815\), state the decision for each model. c) Lucía says, “The data prove Model A is correct because Model A is not rejected, and they prove Model B is wrong because Model B is rejected.” Evaluate both parts of this claim. d) Explain how the same observed counts can provide weak evidence against one fully specified model but strong evidence against another.

Hints

- Treat the two proposed distributions as two separate null models for the same observed data. - Compare observed counts with each model's own expected counts rather than comparing the two models only to each other. - Keep a failure-to-reject decision distinct from proof that a null model is true. - Ask what quantity changes when the observations stay fixed but the null probabilities change.

Solution

1. Under Model A, the expected counts are \((40,30,20,10)\). The contributions are \(0.625\), \(0\), \(1.25\), and \(0\), giving \(\chi^2_A=1.875\). 2. Under Model B, the expected counts are \((55,15,20,10)\). The contributions are approximately \(1.818\), \(15\), \(1.25\), and \(0\), giving \(\chi^2_B\approx18.068\). 3. Since \(1.875<7.815\), fail to reject Model A at \(\alpha=0.05\). Since \(18.068>7.815\), reject Model B at \(\alpha=0.05\). 4. Failing to reject Model A does not prove it is correct; it means the sample does not provide sufficiently strong evidence against it at the chosen significance level. 5. Rejecting Model B provides statistically significant evidence that the population distribution differs from Model B, but the test does not establish a particular alternative model as the unique truth. 6. A goodness-of-fit statistic measures discrepancy relative to a specified null distribution. The same observed counts are close to Model A's expectations but much farther from Model B's expectations, especially in Category 2, so the resulting evidence differs sharply.

Answer

a) Model A: expected counts \((40,30,20,10)\), \(\chi^2=1.875\). Model B: expected counts \((55,15,20,10)\), \(\chi^2\approx18.068\). b) Fail to reject Model A; reject Model B at \(\alpha=0.05\). c) Neither statement is justified as phrased. Failure to reject does not prove Model A is correct, and rejection shows evidence against Model B rather than proving a unique alternative model. d) The chi-square statistic measures discrepancy from the particular null model being tested, so changing the expected distribution changes the standardized discrepancies even when the observed data stay fixed.

All problems may be used, copied and printed free of charge for school and tutoring, including paid tutoring. Commercial adaptations as well as publication or redistribution on the internet are not permitted.