Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Exercises 7.9 to 7.12 give a null hypothesis for a goodness-of-fit test and a frequency table from a sample. For each table, find: (a) The expected count for the category labeled B. (b) The contribution to the sum of the chi-square statistic for the category labeled \(\mathrm{B}\). (c) The degrees of freedom for the chi-square distribution for that table. $$ \begin{aligned} &H_{0}: p_{a}=0.2, p_{b}=0.80\\\ &H_{a}: \text { Some } p_{i} \text { is wrong }\\\ &\begin{array}{ll} \mathrm{A} & \mathrm{B} \end{array}\\\ &132 \quad 468 \end{aligned} $$

Short Answer

Expert verified
The expected count for category B is 480, the contribution to the chi-square statistic for category B is 0.3, and the degrees of freedom for the chi-square distribution for this table is 1.

Step by step solution

01

Finding the Expected Count for Category B

The expected count is the total count times the probability under the null hypothesis. The total count here is the sum of the counts for categories A and B which is \( 132 + 468 = 600 \). The given null hypothesis probability for category B is \(0.80\). Therefore, the expected count for category B would be \(0.80 * 600 = 480\)
02

Contribution to the chi-square statistic for category B

The formula for the chi-square statistic is \((observed-expected)^2/expected\). Here, the observed count for category B is 468, so the contribution to the chi-square statistic from category B would be \((468 - 480)^2 / 480 = 0.3\)
03

Degrees of freedom for the chi-square distribution table

The degrees of freedom are typically calculated as the number of categories minus 1. In this case, there are 2 categories (A and B), thus the degrees of freedom would be \(2 - 1 = 1\)

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Give a two-way table and specify a particular cell for that table. In each case find the expected count for that cell and the contribution to the chi- square statistic for that cell. (Group 3. Yes) cell $$ \begin{array}{l|rr|r} \hline & \text { Yes } & \text { No } & \text { Total } \\ \hline \text { Group 1 } & 56 & 44 & 100 \\ \text { Group 2 } & 132 & 68 & 200 \\ \text { Group 3 } & 72 & 28 & 100 \\ \hline \text { Total } & 260 & 140 & 400 \\ \hline \end{array} $$

In Exercises 7.5 to 7.8 , 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 \(\chi^{2}\) -test statistic, and use the \(\chi^{2}\) -distribution to find the p-value of the test. $$ \begin{array}{lccc} \hline \text { Category } & \text { A } & \text { B } & \text { C } \\ \text { Observed } & 35(40) & 32(40) & 53(40) \\ \text { (Expected) } & & & \\ \hline \end{array} $$

Another Test for Cocaine Addiction Exercise 7.42 on page 532 describes an experiment on helping cocaine addicts break the cocaine addiction, in which cocaine addicts were randomized to take desipramine, lithium, or a placebo. The results (relapse or no relapse after six weeks) are summarized in Table \(7.38 .\) (a) In Exercise 7.42, we calculate a \(\chi^{2}\) statistic of 10.5 and use a \(\chi^{2}\) distribution to calculate a p-value of 0.005 using these data, but we also could have used a randomization distribution. How would you use cards to generate a randomization sample? What would you write on the cards, how many cards would there be of each type, and what would you do with the cards? (b) If you generated 1000 randomization samples according to your procedure from part (a) and calculated the \(\chi^{2}\) statistic for each, approximately how many of these statistics do you expect would be greater than or equal to the \(\chi^{2}\) statistic of 10.5 found using the original sample? $$ \begin{array}{l|cc|c} \hline & \text { Relapse } & \text { No Relapse } & \text { Total } \\ \hline \text { Desipramine } & 10 & 14 & 24 \\ \text { Lithium } & 18 & 6 & 24 \\ \text { Placebo } & 20 & 4 & 24 \\ \hline \text { Total } & 48 & 24 & 72 \end{array} $$

Can People Delay Death? A study indicates that elderly people are able to postpone death for a short time to reach an important occasion. The researchers \({ }^{10}\) studied deaths from natural causes among 1200 elderly people of Chinese descent in California during six months before and after the Harbor Moon Festival. Thirty-three deaths occurred in the week before the Chinese festival, compared with an estimated 50.82 deaths expected in that period. In the week following the festival, 70 deaths occurred, compared with an estimated 52. "The numbers are so significant that it would be unlikely to occur by chance," said one of the researchers. (a) Given the information in the problem, is the \(\chi^{2}\) statistic likely to be relatively large or relatively small? (b) Is the p-value likely to be relatively large or relatively small? (c) In the week before the festival, which is higher: the observed count or the expected count? What does this tell us about the ability of elderly people to delay death? (d) What is the contribution to the \(\chi^{2}\) -statistic for the week before the festival? (e) In the week after the festival, which is higher: the observed count or the expected count? What does this tell us about the ability of elderly people to delay death? (f) What is the contribution to the \(\chi^{2}\) -statistic for the week after the festival? (g) The researchers tell us that in a control group of elderly people in California who are not of Chinese descent, the same effect was not seen. Why did the researchers also include a control group?

{ 7.29 Random } & \text { Digits in } & \text { Students' } & \text { Random }\end{array}\( Numbers? How well can people generate random numbers? A sample of students were asked to write down a "random" four-digit number. Responses from 150 students are stored in the file Digits. The data file has separate variables (RND1, RND2, \)R N D 3,\( and \)R N D 4\( ) containing the digits in each of the four positions. (a) If the numbers are randomly generated, we would expect the last digit to have an equal chance of being any of the 10 digits. Test \)H_{0}\( : \)p_{0}=p_{1}=p_{2}=\cdots=p_{9}=0.10\( using technology and the data in \)R N D 4\(. (b) Since students were asked to produce four-digit numbers, there are only nine possibilities for the first digit (zero is excluded). Use technology to test whether there is evidence in the values of \)R N D 1$ that the first digits are not being chosen by students at random.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free