Question

In: Math

The table below gives beverage preferences for random samples of teens and adults.   teens adults...

The table below gives beverage preferences for random samples of teens and adults.

  teens adults total
coffee 50 200 250
tea 100 150 250
soft drinks 200 200 400
other 50 50 100
  400 600 1000

a. We are asked to test for independence between age (i.e., adult and teen) and drink preferences. With a .05 level of significance, the critical value for the test is?

(a. 1.645 b. 7.815 c. 14.067 d. 15.507)

b. The expected number of adults who prefer coffee is? (a. 0.25 b. 0.33 c. 150 d. 200)

c. The test statistic for this test of independence is? (a. 0 b. 8.4 c. 62.5 d. 82.5)

d. The conclusion of the test is that the:

(Age is independent of drink preference, Age is not independent of drink preference, test is inconclusive, None of these alternatives is correct.)

Solutions

Expert Solution

Concepts and reason

Chi-square distribution:

Chi-square distribution with k degrees of freedom is defined as the sum of the k standard normal variables. This is also defined as the square of the deviations taken from the mean. Chi-square distribution is used for testing goodness of fit and independence in contingency tables.

Statistical hypotheses testing: Hypotheses testing is used to make inferences about the population based on the sample data. The hypotheses test consists of null hypothesis and alternative hypothesis.

For testing the mean, if the population standard deviation is known then the Z test is used. If the population standard deviation is not known then t test is used.

Null hypothesis: The null hypothesis states that there is no difference in the test, which is denoted by H0{H_0} . Moreover, the sign of null hypothesis is equal (=)\left( = \right) , greater than or equal ()\left( \ge \right) and less than or equal ()\left( \le \right) .

Alternative hypothesis: The hypothesis that differs from the H0{H_0} is called alternative hypothesis. This signifies that there is a significant difference in the test. The sign of alternative hypothesis is less than (<)\left( < \right) , greater than (>)\left( > \right) , or not equal ()\left( \ne \right) .

Level of significance:

The level of significance is the probability of rejecting the null hypothesis given that it is true. This is also known as probability of type I error. It is denoted by α\alpha .

Fundamentals

The formula to find the degrees of freedom:

df=(r1)(c1)df = \left( {r - 1} \right)\left( {c - 1} \right)

Rejection rule based on critical value:

If Teststatisticχ2crit{\rm{Test statistic}} \ge {\chi ^2}_{{\rm{crit}}} , then reject the null hypothesis H0{H_0} .

If Teststatisticχ2crit{\rm{Test statistic}} \le - {\chi ^2}_{{\rm{crit}}} , then reject the null hypothesis.

Excel add-in (MegaStat) procedure:

1.In EXCEL, Select Add-Ins > MegaStat > Chi-square/Crosstab > Contingency Table.

2.In Input range, select the cell range A1:A11.

3.In Output Options, select chi-square, Expected values, O –E, (O-E)2/E.

4.Click OK.

(a)

The critical value is obtained as shown below:

From the information, there are 4 rows and 2 columns, that is r=4,c=2r = 4,c = 2 . The degrees of freedom is,

df=(r1)(c1)=(41)(21)=3\begin{array}{c}\\df = \left( {r - 1} \right)\left( {c - 1} \right)\\\\ = \left( {4 - 1} \right)\left( {2 - 1} \right)\\\\ = 3\\\end{array}

Instructions to find the critical value χcriticalvalue2\chi _{{\rm{critical value}}}^2 with the significance level 0.05 is,

In χ2{\chi ^2} distribution table, locate the 3rd row corresponding to degrees of freedom. Now in 3rd row locate the column where the level of significance is 0.05. The critical value for χ2{\chi ^2} distribution with 3 degrees of freedom for two tail test with the 0.05 level of significance is 7.81.

(b)

The expected number of adults who prefer coffee is obtained below:

Instructions to find the chi-square independent test:

1.In EXCEL, Select Add-Ins > MegaStat > Chi-square/Crosstab > Contingency Table.

2.In Input range, select the cell range A1:C5.

3.In Output Options, select chi-square, Expected values, (O-E)2/E.

4.Click OK.

Follow the above instructions to obtain following output,

From the output, the expected number of adults who prefer coffee is 150.

(c)

The test statistic is obtained below:

Follow the above instructions to obtain following output,

From the output, the test statistic is 62.50.

(d)

The null and alternative hypotheses are stated below:

Null hypothesis:

H0:{H_0}: The Age is independent of drink preference.

Alternative hypothesis:

Ha:{H_a}: The Age is not independent of drink preference.

The conclusion is stated below:

The value of test statistic is 62.5 and the critical value is 7.815.

The test statistic is greater than the critical value.

That is, χdata2(=62.5)>χcritical2(=7.815)\chi _{{\rm{data}}}^2\left( { = 62.5} \right) > \chi _{{\rm{critical}}}^2\left( { = 7.815} \right) .

By the rejection rule, reject null hypothesis at 0.05 level of significance.

Therefore, it can be concluded that the age is not independent of drink preference.

Ans: Part a

The critical value is 7.815.

Part b

The expected number of adults who prefer coffee is 150.

Part c

The test statistic is 62.5.

Part d

The age is not independent of drink preference.


Related Solutions

The table below gives beverage preferences for random samples of teens and adults. Beverage Teens Adults...
The table below gives beverage preferences for random samples of teens and adults. Beverage Teens Adults Total Coffee 50 200 250 Tea 100 150 250 Soft Drink 200 200 400 Other 25 75 100 Total 375 625 1,000 We are asked to test for independence between age (i.e., adult and teen) and drink preferences. ​ Refer to Exhibit 11-5. The result of the test is that the Question 11 options: hypothesis of independence can be rejected hypothesis of independence cannot...
The table below gives beverage preferences for random samples of teens and adults. Teens Adults Total...
The table below gives beverage preferences for random samples of teens and adults. Teens Adults Total Coffee 50 200 250 Tea 100 150 250 Soft Drink 200 200 400 Other 50 50 100 400 600 1000 We are asked to test for independence between age (i.e., adult and teen) and drink preferences. With a .05 level of significance, a. state the hypothesis b. Calculate the expected frequencies c. what are the degrees of freedom d. what is the critical value...
The table below gives beverage preferences for random samples of teens and adults. Teens Adults Total...
The table below gives beverage preferences for random samples of teens and adults. Teens Adults Total Coffee 50 200 250 Tea 100 150 250 Soft Drink 200 200 400 Other 50 50 100 400 600 1,000 We are asked to test for independence between age (i.e., adult and teen) and drink preferences. If the value of the test statistic is greater than the critical value of the test statistic, what is the result of the test? Select one: A. hypothesis...
Exhibit 11-5 The table below gives beverage preferences for random samples of teens and adults. Beverage           ...
Exhibit 11-5 The table below gives beverage preferences for random samples of teens and adults. Beverage            Teens    Adults   Total Coffee                     50      200     250 Tea                         100     150     250 Soft Drink 200     200     400 Other    25         75       100 Total 375     625     1,000 We are asked to test for independence between age (i.e., adult and teen) and drink preferences. Refer to Exhibit 11-5. The calculated value for this test for independence is show will excel Question options: 8.40 66.67...
The table below shows pulse rates taken from random samples of adults. The data have been...
The table below shows pulse rates taken from random samples of adults. The data have been sorted by age. Use one-way analysis of variance (ANOVA) to test the claim that the three different age groups have the same mean pulse rate. Use α = .05 . Adult Pulse Rates by Age Group 20-29 64 64 76 64 60 88 72 56 88 72 68 80 72 72 68 64 30-39 88 72 85 60 84 84 64 56 72 68...
Data:The table below shows pulse rates taken from random samples of adults. The data have been...
Data:The table below shows pulse rates taken from random samples of adults. The data have been sorted by age. Use one-way analysis of variance (ANOVA) to test the claim that the three different age groups have the same mean pulse rate. Use α = .05 . Adult Pulse Rates by Age Group 20-29 64 64 76 64 60 88 72 56 88 72 68 80 72 72 68 64 30-39 88 72 85 60 84 84 64 56 72 68...
The two data sets in the table below are dependent random samples. The population of (...
The two data sets in the table below are dependent random samples. The population of ( x − y ) (x-y) differences is approximately normally distributed. A claim is made that the mean difference ( x − y ) (x-y) is less than -31.4. X 25 32 48 37 39 34 37 Y 73 64 66 80 78 67 84 For each part below, enter only a numeric value in the answer box. For example, do not type "z ="...
The table gives systolic blood pressure readings for Intensive Care Unit patients in their teens and...
The table gives systolic blood pressure readings for Intensive Care Unit patients in their teens and those in their eighties. Teen 100 100 104 104 112 130 130 136 140 140 142 146 156 Eighties 80 100 100 110 110 122 130 135 136 138 140 141 162 190 190 A) Plot systolic blood pressure side-by-side boxplot for teen and eighties, compare the spread of systolic blood pressure for each group. Q1 Q3 Teen 104 140 Eighties 110 140.5 B)...
The table below contains information pertaining to the gasoline mileage for random samples of trains of...
The table below contains information pertaining to the gasoline mileage for random samples of trains of two different types X and Y. Assume their population standard deviations are known (as given) and the two distributions are normal. Brand X Brand Y Number of Trains    14 11 Mean mileage 20.04 24.03 Pop. St Dev. σ 2.18 1.76 A) Name and Find the 95% Confidence Interval for the difference of two pop. means (μx - μY). B) What can you conclude (if...
In a random sample of 200 adults and 300 teens who watched a certain television show,...
In a random sample of 200 adults and 300 teens who watched a certain television show, 50 adults and 150 teens said they liked the show. prove with a 5% significance that the difference between the proportion of adults and adolescents who watch the program is equal to 0.10
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT