subject
Mathematics, 16.04.2020 01:02 sakinahunt

Load the data file united summer2015.csv in Python. The data contains dates, flight numbers, destination and delay in minutes for United airline flights during summer 2017. A negative number for the delay implies the flight arrived early. a. We are interested in the variable 'Delay'. Create a histogram for this variable. Now re-draw the histogram with bins of width 10 and range starting and ending from -30 to 301 respectively. Comment in a few lines what you can say about this variable? Make sure your output includes both histograms. b. Subset your data set to only include flights that are between 10 to 20 minutes late. Use Python to find the proportion of flights that are 10 to 20 minutes late. c. We want to next randomly sample n flights from the whole data set and look at the median value of the variable 'Delay'. Define a function random_sample_median which will randomly sample 1000 values from the data set with replacement and return us the median of the variable 'Delay'. d. Using the function defined in the above part, simulate 5000 medians from samples of size 1000 using a for loop. e. Create a histogram of the simulated median values. Which value for the median appears to be most probable?

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 17:00
Why did the ice arena get so hot after the big game (this is math related google it to find the paper
Answers: 2
question
Mathematics, 21.06.2019 20:00
Prove that the value of the expression 7^8–7^7+7^6 is divisible by 43.
Answers: 1
question
Mathematics, 21.06.2019 21:00
Rewrite the following quadratic functions in intercept or factored form. show your work. y = 9 + 12x + 4x^2
Answers: 2
question
Mathematics, 21.06.2019 22:30
The volume of the sun is approximately 1 × 10^18 cu km, while the volume of jupiter is approximately 1 × 10^15 cu km. which of the following is true? a. the volume of jupiter is approximately one thousand times the volume of the sun. b. the volume of jupiter is approximately one hundred times the volume of the sun. c. the volume of the sun is approximately one thousand times the volume of jupiter. d. the volume of the sun is approximately one hundred times the volume of jupiter.
Answers: 2
You know the right answer?
Load the data file united summer2015.csv in Python. The data contains dates, flight numbers, destina...
Questions
question
Mathematics, 25.06.2019 09:30
Questions on the website: 13722361