b) Calculate the value of the test statistic.   The test statistic is ​(Round to two decimal places as​ needed.) (The space separates the column values)              Hotel_Brand_1_Stay_Length    Hotel_Brand_2_Stay_Length 4 6 1 2 3 1 1 3 1 12 4 3 7 7 1 3 6 3 2 4 5 1 1 7 2 4 1 3 3 3 4 2 2 6 4 4 2 5 9 1 5 2 1 1 4 3 2 2 3 2 9 3 2 1 4 3 5 2 5 11 1 5 7 5 2 7 2 6 9 9 6 4 1 1 9 1 3 5 5 13 6 1 4 10 3 1 5 1 2 3 4 1 2 8 2 8 3 2 2 3 1 3 6 1 6 2 5 6 2 2 2 2 2 3 2 2 2 8 3 3 1 8 2 3 1 2 1 1 2 5 2 4 2 3 3 2 3 3 2 8 4 2 3 2 5 5 3 2 2 3 1 3 4 1 3 6 1 4 3 3 5 3 3 5 4 4 4 4 3 4 3 1 5 5 1 3 2 8 3 3 3 4 4 4 6 2 8 4 3 2 2 6 3 2 3 4 7 6 3 3

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
Topic Video
Question
A hotel chain wants to determine whether there is a difference in the length of stays at two of its different brands of hotels. A simple random sample of 100 stay lengths was taken for each hotel brand. These data are shown below. Assume that the variances are not equal.
​a) State the appropriate null and alternative hypotheses.
​b) Based on these sample data and a 0.01 level of​ significance, what conclusion should be made about the average length of stay at these two hotel​ chains?
Click the icon for sample data on the length of stays at these hotel chains.
​a) State the appropriate null and alternative hypotheses. Let μ1 be the population mean length of stay at hotel brand​ 1, and let μ2 be the population mean length of stay at hotel brand 2.
A. H0​: μ1−μ2=0
HA​: μ1−μ2≠0
Your answer is correct.
 
​b) Calculate the value of the test statistic.
 
The test statistic is
​(Round to two decimal places as​ needed.)
(The space separates the column values)              Hotel_Brand_1_Stay_Length    Hotel_Brand_2_Stay_Length
4 6
1 2
3 1
1 3
1 12
4 3
7 7
1 3
6 3
2 4
5 1
1 7
2 4
1 3
3 3
4 2
2 6
4 4
2 5
9 1
5 2
1 1
4 3
2 2
3 2
9 3
2 1
4 3
5 2
5 11
1 5
7 5
2 7
2 6
9 9
6 4
1 1
9 1
3 5
5 13
6 1
4 10
3 1
5 1
2 3
4 1
2 8
2 8
3 2
2 3
1 3
6 1
6 2
5 6
2 2
2 2
2 3
2 2
2 8
3 3
1 8
2 3
1 2
1 1
2 5
2 4
2 3
3 2
3 3
2 8
4 2
3 2
5 5
3 2
2 3
1 3
4 1
3 6
1 4
3 3
5 3
3 5
4 4
4 4
3 4
3 1
5 5
1 3
2 8
3 3
3 4
4 4
6 2
8 4
3 2
2 6
3 2
3 4
7 6
3 3
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Hypothesis Tests and Confidence Intervals for Means
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
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