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

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} $$

Short Answer

Expert verified
The randomization procedure involves making 72 cards, with 'Relapse' written on 48 of them and 'No Relapse' on 24. After shuffling these cards, they are divided into three groups (desipramine, lithium, and placebo) while maintaining the same size of groups (24 each) to simulate random assignment of patients to treatments and possibility of outcomes. By repeating this process 1000 times, it's possible to compute chi-square statistics of these randomization samples and compare them with the chi-square statistics from the original sample (10.5) . The estimated number of chi-squared statistics out of 1000 that would be equal to or more than 10.5 from the randomization samples can be found by counting the instances where this condition is met in these 1000 simulated samples.

Step by step solution

01

Simulate The Randomization Sample Using Cards

Write 'Relapse' on 48 cards and 'No Relapse' on 24 cards to reflect the total number of instances for each outcome very well (48 relapse and 24 no relapse). Randomly draw without replacement from this deck of 72 cards to simulate a random assignment of patients to the three treatments. Fill a new 3x2 table with counts from this simulated sample, keeping the marginal totals fixed. Repeat this process many times to represent different possible outcomes of the experiment.
02

Generate Chi-Square Statistics For Randomization Samples

For each simulated sample, calculate a chi-squared statistic. The chi-squared statistic measures the discrepancy between the observed data and what would be expected if there was no effect of the treatments. It takes into account the actual and expected frequencies for each category in the table.
03

Predict The Number of Chi-Square Statistics ≥ 10.5

After generating 1000 chi-square statistics from the randomization samples, estimate the proportion that are at least as extreme as the observed chi-square statistic from the original sample of 10.5. This proportion is a simulated p-value, the probability of observing a chi-square statistic as extreme as 10.5 under the null hypothesis which states that there is no difference among the treatments.

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!

Key Concepts

These are the key concepts you need to understand to accurately answer the question.

Chi-square Statistic
The chi-square statistic is a number that tells us how much the observed data differs from what we would expect to see by chance alone. It is used in hypothesis testing, especially for categorical data, and is pivotal in determining whether there's a significant association between variables. For instance, in the exercise regarding the cocaine addiction study, we calculated a chi-square statistic of 10.5.

To calculate the chi-square statistic, you take each observed frequency, subtract the expected frequency, square the result, and then divide by the expected frequency. In formula terms, this is represented as: \[ \chi^2 = \sum \frac{(O_i - E_i)^2}{E_i} \] where \(O_i\) denotes the observed frequencies, and \(E_i\) denotes the expected frequencies.

This statistic helps us understand whether the discrepancy we see in the data is due to random chance or if there may be an underlying relationship. In other words, if the chi-square statistic is large (and therefore the p-value is small), we have evidence to suggest that the treatment had a noticeable effect on the outcome.
Randomization Distribution
Randomization distribution is a concept in statistics where we create a distribution of possible outcomes by simulating the random assignment of treatments. This is particularly useful in experiments where you want to know if the results you got could have happened just by chance. By using a deck of cards to represent the different possible outcomes, such as 'Relapse' and 'No Relapse' in our exercise, and then drawing them at random to simulate different treatment assignments, you're essentially creating many alternate realities of your study.

To build a randomization distribution, you'd repeat this drawing many times - in our case, 1000 times - and calculate a statistic, such as the chi-square statistic, for each one. This creates a set of statistics that represent what could happen if the null hypothesis were true. Analyzing this distribution aids in understanding the likelihood of observing a statistic as extreme as the one calculated from your actual data.
Expected Frequencies
Expected frequencies are predictions of how often something will happen, based on the assumption that there are no differences or effects (i.e., under the null hypothesis). When comparing groups, like the treatment groups for cocaine addiction, we calculate what counts we would expect in each group if the treatment had no real effect.

To find these expected frequencies, you would typically use the margins of a contingency table - the totals of rows and columns - because we assume each treatment has the same effect. For instance, if all treatments are equally effective, the relapse and no relapse counts should be proportionally similar across treatments. Therefore, we can estimate expected counts by multiplying the marginal totals and then dividing by the grand total. Mathematically, this can be expressed for a cell in the table as: \[ E_i = \frac{(\text{row total}) \times (\text{column total})}{\text{grand total}} \] These expected frequencies are then used in calculating the chi-square statistic.
Null Hypothesis
The null hypothesis is a key concept in hypothesis testing. It's the default assumption that there is no effect or no difference in the context of your research. For the cocaine addiction study, the null hypothesis would be that none of the treatments (desipramine, lithium, or placebo) makes a difference in relapse rates.

The null hypothesis serves as a baseline against which you measure your actual findings. If your findings deviate significantly from what would be expected under the null hypothesis, you could have enough evidence to reject the null and consider your alternative hypothesis - that there is an effect or difference - to be likely. In the chi-square test, you determine if the observed frequencies (what actually happened) are statistically different from the expected frequencies (what you predict under the null hypothesis).

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 \(2,\) No \()\) $$ \begin{array}{l|rr} \hline & \text { Yes } & \text { No } \\ \hline \text { Group 1 } & 720 & 280 \\ \text { Group 2 } & 1180 & 320 \\ \hline \end{array} $$

Treatment for Cocaine Addiction Cocaine addiction is very hard to break. Even among addicts trying hard to break the addiction, relapse is common. (A relapse is when a person trying to break out of the addiction fails and uses cocaine again.) Data 4.7 on page 323 introduces a study investigating the effectiveness of two drugs, desipramine and lithium, in the treatment of cocaine addiction. The subjects in the six-week study were cocaine addicts seeking treatment. The 72 subjects were randomly assigned to one of three groups (desipramine, lithium, or a placebo, with 24 subjects in each group) and the study was double-blind. In Example 4.34 we test lithium vs placebo, and in Exercise 4.181 we test desipramine vs placebo. Now we are able to consider all three groups together and test whether relapse rate differs by drug. Ten of the subjects taking desipramine relapsed, 18 of those taking lithium relapsed, and 20 of those taking the placebo relapsed. (a) Create a two-way table of the data. (b) Find the expected counts. Is it appropriate to analyze the data with a chi-square test? (c) If it is appropriate to use a chi-square test, complete the test. Include hypotheses, and give the chi-square statistic, the p-value, and an informative conclusion. (d) If the results are significant, which drug is most effective? Can we conclude that the choice of treatment drug causes a change in the likelihood of a relapse?

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}=p_{b}=p_{c}=p_{d}=0.25\\\ &H_{a}:\\\ &\text { Some } p_{i} \neq 0.25\\\ &\begin{array}{lccc|c} \hline \text { A } & \text { B } & \text { C } & \text { D } & \text { Total } \\\ \text { 40 } & 36 & 49 & 35 & 160 \\ \hline \end{array} \end{aligned} $$

Painkillers and Miscarriage Exercise A.50 on page 179 describes a study examining the link between miscarriage and the use of painkillers during pregnancy. Scientists interviewed 1009 women soon after they got positive results from pregnancy tests about their use of painkillers around the time of conception or in the early weeks of pregnancy. The researchers then recorded which of the pregnancies were successfully carried to term. The results are in Table \(7.30 .\) (NSAIDs refer to a class of painkillers that includes aspirin and ibuprofen.) Does there appear to be an association between having a miscarriage and the use of painkillers? If so, describe the relationship. If there is an association, can we conclude that the use of painkillers increases the chance of having a miscarriage? 7.44 Binge Drinking The American College Health Association - National College Health Assessment survey, \({ }^{17}\) introduced on page 60 , was administered at 44 colleges and universities in Fall 2011 with more than 27,000 students participating in the survey. Students in the ACHA-NCHA survey were asked "Within the last two weeks, how many times have you had five or more drinks of alcohol at a sitting?" The results are given in Table 7.31 . Is there a significant difference in drinking habits depending on gender? Show all details of the test. If there is an association, use the observed and expected counts to give an informative conclusion in context. $$ \begin{array}{l|rr|r} \hline & \text { Miscarriage } & \text { No miscarriage } & \text { Total } \\\ \hline \text { NSAIDs } & 18 & 57 & 75 \\ \text { Acetaminophen } & 24 & 148 & 172 \\ \text { No painkiller } & 103 & 659 & 762 \\ \hline \text { Total } & 145 & 864 & 1009 \\ \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}{cccc} \hline \text { Category } & \text { A } & \text { B } & \text { C } \\ \text { Observed } & 61(50) & 35(50) & 54(50) \\ \text { (Expected) } & & & \\ \hline \end{array} $$

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