Solve the questions with an RStudio script. Load the nycflights13 package (library(nycflights13)) and use the flights dataset.
Fantastic news! We've Found the answer you've been seeking!
Question:
Solve the questions with an RStudio script.
Load the nycflights13 package (library(nycflights13)) and use the flights dataset. I want to know if there is a difference in the average dep_delay between United (UA) and Delta (DL) on flights leaving JFK for LAX. T Filter the data to include only those flights (you'll need carrier %in% c("UA","DL") and a few more) then utilize the t.test function.
1.) What is the value of the test statistic?
2.) The p-value you should have gotten in the previous question should have been 0.03 (that should help with the previous problem!). Given that p-value, what is the appropriate conclusion at the level?
Related Book For
Statistics Informed Decisions Using Data
ISBN: 978-0321757272
4th edition
Authors: Michael Sullivan III
Posted Date: