An experiment was conducted to determine whether giving candy to dining parties resulted in greater tips. The mean tip percentages and standard deviations are given in the accompanying table along with the sample sizes. Assume that the two samples are independent simple random samples selected from normally distributed populations, and do not assume that the population standard deviations are equal. Complete parts (a) and (b). a. Use a 0.05 significance level to test the claim that giving candy does result in greater tips. What are the null and alternative hypotheses? OA. Ho: H₁ H₂ H₁: H₁ H₂ OD. Ho: H=H2 H₁: H₁ H₂ μ X S H₁27 18.35 1.44 H₂ 27 21.08 2.55 n

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
An experiment was conducted to determine whether giving candy to dining parties resulted in greater tips. The mean tip percentages and standard deviations are provided in the accompanying table along with the sample sizes. Assume that the two samples are independent simple random samples selected from normally distributed populations, and do not assume that the population standard deviations are equal. Complete parts (a) and (b).

---

Table:

|                 | \( n \) | \( \bar{x} \)  | \( s \)  |
|-----------------|------|-----------|-------|
| No candy        | 27   | 18.35     | 1.44  |
| Two candies     | 27   | 21.08     | 2.55  |

---

**a.** Use a 0.05 significance level to test the claim that giving candy does result in greater tips.

What are the null and alternative hypotheses?

- **A.**
  - \( H_0: \mu_1 \neq \mu_2 \)
  - \( H_1: \mu_1 < \mu_2 \)

- **B.**
  - \( H_0: \mu_1 = \mu_2 \)
  - \( H_1: \mu_1 > \mu_2 \)

- **C.**
  - \( H_0: \mu_1 = \mu_2 \)
  - \( H_1: \mu_1 < \mu_2 \)

- **D.**
  - \( H_0: \mu_1 = \mu_2 \)
  - \( H_1: \mu_1 \neq \mu_2 \)
Transcribed Image Text:An experiment was conducted to determine whether giving candy to dining parties resulted in greater tips. The mean tip percentages and standard deviations are provided in the accompanying table along with the sample sizes. Assume that the two samples are independent simple random samples selected from normally distributed populations, and do not assume that the population standard deviations are equal. Complete parts (a) and (b). --- Table: | | \( n \) | \( \bar{x} \) | \( s \) | |-----------------|------|-----------|-------| | No candy | 27 | 18.35 | 1.44 | | Two candies | 27 | 21.08 | 2.55 | --- **a.** Use a 0.05 significance level to test the claim that giving candy does result in greater tips. What are the null and alternative hypotheses? - **A.** - \( H_0: \mu_1 \neq \mu_2 \) - \( H_1: \mu_1 < \mu_2 \) - **B.** - \( H_0: \mu_1 = \mu_2 \) - \( H_1: \mu_1 > \mu_2 \) - **C.** - \( H_0: \mu_1 = \mu_2 \) - \( H_1: \mu_1 < \mu_2 \) - **D.** - \( H_0: \mu_1 = \mu_2 \) - \( H_1: \mu_1 \neq \mu_2 \)
a. Use a 0.05 significance level to test the claim that giving candy does result in greater tips. 

What are the null and alternative hypotheses?

- A. \( H_0: \mu_1 = \mu_2 \) 
    \( H_1: \mu_1 < \mu_2 \)

- B. \( H_0: \mu_1 = \mu_2 \) 
    \( H_1: \mu_1 \neq \mu_2 \)

- C. \( H_0: \mu_1 = \mu_2 \) 
    \( H_1: \mu_1 > \mu_2 \)

- D. \( H_0: \mu_1 \neq \mu_2 \) 
    \( H_1: \mu_1 > \mu_2 \)

The test statistic, \( t \), is \(\square\) (Round to two decimal places as needed.)

The \( P \)-value is \(\square\) (Round to three decimal places as needed.)

State the conclusion for the test.

- A. Fail to reject the null hypothesis. There is not sufficient evidence to support the claim that giving candy does result in greater tips.

- B. Reject the null hypothesis. There is sufficient evidence to support the claim that giving candy does result in greater tips.

- C. Fail to reject the null hypothesis. There is sufficient evidence to support the claim that giving candy does result in greater tips.

- D. Reject the null hypothesis. There is not sufficient evidence to support the claim that giving candy does result in greater tips.

b. Construct the confidence interval suitable for testing the claim in part (a).

\(\square < \mu_1 - \mu_2 < \square\)

(Round to two decimal places as needed.)
Transcribed Image Text:a. Use a 0.05 significance level to test the claim that giving candy does result in greater tips. What are the null and alternative hypotheses? - A. \( H_0: \mu_1 = \mu_2 \) \( H_1: \mu_1 < \mu_2 \) - B. \( H_0: \mu_1 = \mu_2 \) \( H_1: \mu_1 \neq \mu_2 \) - C. \( H_0: \mu_1 = \mu_2 \) \( H_1: \mu_1 > \mu_2 \) - D. \( H_0: \mu_1 \neq \mu_2 \) \( H_1: \mu_1 > \mu_2 \) The test statistic, \( t \), is \(\square\) (Round to two decimal places as needed.) The \( P \)-value is \(\square\) (Round to three decimal places as needed.) State the conclusion for the test. - A. Fail to reject the null hypothesis. There is not sufficient evidence to support the claim that giving candy does result in greater tips. - B. Reject the null hypothesis. There is sufficient evidence to support the claim that giving candy does result in greater tips. - C. Fail to reject the null hypothesis. There is sufficient evidence to support the claim that giving candy does result in greater tips. - D. Reject the null hypothesis. There is not sufficient evidence to support the claim that giving candy does result in greater tips. b. Construct the confidence interval suitable for testing the claim in part (a). \(\square < \mu_1 - \mu_2 < \square\) (Round to two decimal places as needed.)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman