A travel association reported the domestic airfare (in dollars) for business travel for the current year and the previous year. Below is a sample of 12 flights with their domestic airfares shown for both years. Current Previous Year Year 345 315 526 463 420 450 216 206 285 275 405 432 635 585 710 650 605 545 517 547 570 508 610 580 (a) Formulate the hypotheses and test for a significant increase in the mean domestic airfare for business travel for the one-year period. O Ho: Hgz0 Hoi Hg#0 = 0 O Ho: Ha = 0 Hi Hg>0 Hoi Hy= 0 H: Hg # O O Ho: Hg < 0 H: Hg = 0 Calculate the test statistic. (Use current year airfare - previous year airfare. Round your answer to three decimal places.) Calculate the p-value. (Round your answer to four decimal places.) p-value =|

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 travel association reported the domestic airfare (in dollars) for business travel for the current year and the previous year. Below is a sample of 12 flights with their domestic airfares shown for both years.
Current
Previous
Year
Year
345
315
526
463
420
450
216
206
285
275
405
432
635
585
710
650
605
545
517
547
570
508
610
580
(a) Formulate the hypotheses and test for a significant increase in the mean domestic airfare for business travel for the one-year period.
Ho: Hg2 0
H: Hg< 0
O Ho: Hg=0
H: Hg = 0
O Ho: Ha = 0
H: H > 0
O Ho: H = 0
H: Ho#0
O Fo: Hd < 0
H: Hg = 0
Calculate the test statistic. (Use current year airfare - previous year airfare. Round your answer to three decimal places.)
Calculate the p-value. (Round your answer to four decimal places.)
p-value =
Transcribed Image Text:A travel association reported the domestic airfare (in dollars) for business travel for the current year and the previous year. Below is a sample of 12 flights with their domestic airfares shown for both years. Current Previous Year Year 345 315 526 463 420 450 216 206 285 275 405 432 635 585 710 650 605 545 517 547 570 508 610 580 (a) Formulate the hypotheses and test for a significant increase in the mean domestic airfare for business travel for the one-year period. Ho: Hg2 0 H: Hg< 0 O Ho: Hg=0 H: Hg = 0 O Ho: Ha = 0 H: H > 0 O Ho: H = 0 H: Ho#0 O Fo: Hd < 0 H: Hg = 0 Calculate the test statistic. (Use current year airfare - previous year airfare. Round your answer to three decimal places.) Calculate the p-value. (Round your answer to four decimal places.) p-value =
(a) Formulate the hypotheses and test for a significant increase in the mean domestic airfare for business travel for the one-year period.
O Ho: Hgz0
H: Hg< 0
O Ho: H =0
H: H = 0
O Ho: Hg = 0
H3: H > 0
O Ho: Hg = 0
O Ho: Hg < 0
Hai Hd = 0
Calculate the test statistic. (Use current year airfare - previous year airfare. Round your answer to three decimal places.)
Calculate the p-value. (Round your answer to four decimal places.)
p-value =
Using a 0.05 level of significance, what is your conclusion?
O Do not reject H. We can conclude that there has been a significant increase in the mean domestic airfare for business travel for the one-year period.
O Do not reject H.. We cannot conclude that there has been a significant increase in the mean domestic airfare for business travel for the one-year period.
O Reject H. We cannot conclude that there has been a significant increase in the mean domestic airfare for business travel for the one-year period.
O Reject Ho. We can conclude that there has been a significant increase in the mean domestic airfare for business travel for the one-year period.
(b) What is the sample mean domestic airfare (in dollars) for business travel for each year?
current
$
previous
(c) What is the percentage change in mean airfare for the one-year period?
Percentage change is given as ((x, - x,)/x,)*100 where x, is in the initial value (in this case, the previous year). (Round your answer to one decimal place, do not include the % symbol in your answer.)
%
Transcribed Image Text:(a) Formulate the hypotheses and test for a significant increase in the mean domestic airfare for business travel for the one-year period. O Ho: Hgz0 H: Hg< 0 O Ho: H =0 H: H = 0 O Ho: Hg = 0 H3: H > 0 O Ho: Hg = 0 O Ho: Hg < 0 Hai Hd = 0 Calculate the test statistic. (Use current year airfare - previous year airfare. Round your answer to three decimal places.) Calculate the p-value. (Round your answer to four decimal places.) p-value = Using a 0.05 level of significance, what is your conclusion? O Do not reject H. We can conclude that there has been a significant increase in the mean domestic airfare for business travel for the one-year period. O Do not reject H.. We cannot conclude that there has been a significant increase in the mean domestic airfare for business travel for the one-year period. O Reject H. We cannot conclude that there has been a significant increase in the mean domestic airfare for business travel for the one-year period. O Reject Ho. We can conclude that there has been a significant increase in the mean domestic airfare for business travel for the one-year period. (b) What is the sample mean domestic airfare (in dollars) for business travel for each year? current $ previous (c) What is the percentage change in mean airfare for the one-year period? Percentage change is given as ((x, - x,)/x,)*100 where x, is in the initial value (in this case, the previous year). (Round your answer to one decimal place, do not include the % symbol in your answer.) %
Expert Solution
Step 1

a)
Given data of current year and previous year domestic airfare and we calculated the difference between them (d) as shown below
Current yearPrevious yeard(Current year-previous yea)3453153052646363420450-302162061028527510405432-27635585507106506060554560517547-305705086261058030

The claim is that to test if there is significant increase in mean domestic airfare for business travel for one year period.

Thus the null and alternate hypothesis are shown below
H0: μd=0Ha: μd>0

The mean and standard deviation of data of difference d is calculated as shown below
d__=dn=30+63-30+10+...62+3012=24sd=di-d__2n-1=30-242+63-242+..+30-24212-1=37.09

The test statistic is calculated as shown below
t=d__-μdsdnt=24-037.0912=2.24

The test statistic is 2.24
The degree of freedom =n-1=12-1=11

This is one tail test. So the p value with test statistic 2.24 and 11 degree of freedom is 0.0234.

Thus at 0.05 level of significance we have strong evidence to reject the null hypothesis as p value less than level of significance.

Thus Reject H0 : we can conclude that there has been a significant increase in domestic airfare for business travel over one year period.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Hypothesis Tests and Confidence Intervals for Proportions
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.
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