A certain airline wishes to estimate the mean number of seats that are empty on flights that use 737-airplanes. There are 189 seats on a 737. To do so, the airline randomly picks n=36 flights. For each flight, the number of empty seats is counted. The data are given below. 41, 31, 34, 42, 35, 41, 35, 33, 50, 31, 36, 30, 37, 32, 38, 39, 27, 40, 30, 34, 31, 26, 29, 44, 31, 38, 36, 39, 31, 37, 38, 16, 37, 32, 43, 28 (a) Find the mean and the standard deviation of this sample. Use at least three decimal places in each answer. X= ________ empty seats S= __________empty seats (b) Find a 96% Student T confidence interval for μ, the mean number of empty seats on this airline's flights that use 737s. Use at least three decimal points for your lower and upper bounds. To avoid rounding errors you should use R-Stuido and not Tables. Lower Bound = ________ empty seats Upper Bound = __________ empty seats

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

A certain airline wishes to estimate the mean number of seats that are empty on flights that use 737-airplanes. There are 189 seats on a 737. To do so, the airline randomly picks n=36 flights. For each flight, the number of empty seats is counted. The data are given below.

41, 31, 34, 42, 35, 41, 35, 33, 50, 31, 36, 30, 37, 32, 38, 39, 27, 40, 30, 34, 31, 26, 29, 44, 31, 38, 36, 39, 31, 37, 38, 16, 37, 32, 43, 28



(a) Find the mean and the standard deviation of this sample. Use at least three decimal places in each answer.

X= ________ empty seats

S= __________empty seats


(b) Find a 96% Student T confidence interval for μ, the mean number of empty seats on this airline's flights that use 737s. Use at least three decimal points for your lower and upper bounds. To avoid rounding errors you should use R-Stuido and not Tables.

Lower Bound = ________ empty seats

Upper Bound = __________ empty seats


(c) Find a 96% confidence interval for μ, the mean number of empty seats on this airline's flights that use 737s, by Bootstrapping 1000 samples. Use the seed 497 to ensure that R-Studio "randomly" samples the same "random" samples as this question will expect.

You can do this by including the code, you can copy it into your R-Studio to bootstrap your samples.

RNGkind(sample.kind="Rejection");
set.seed(497);
B=do(1000) * mean(resample(c(41, 31, 34, 42, 35, 41, 35, 33, 50, 31, 36, 30, 37, 32, 38, 39, 27, 40, 30, 34, 31, 26, 29, 44, 31, 38, 36, 39, 31, 37, 38, 16, 37, 32, 43, 28), 36));

Ignore any errors or warnings that show up.

Use at least three decimal points for your lower and upper bounds.

Lower Bound = __________ empty seats

Upper Bound = ________empty seats

 
 
 
 
 
 
Distribution of Empty Seats
10
2.
15
20
25
30
35
40
45
50
Number of Unoccupied Seats
12
8
9
4.
Frequency
Transcribed Image Text:Distribution of Empty Seats 10 2. 15 20 25 30 35 40 45 50 Number of Unoccupied Seats 12 8 9 4. Frequency
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

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