Question
This assignment asks you to examine the Bayesian algorithm for classification. The attached dataset ( delay2.csv) contains the on-time performance of domestic flights operated by
This assignment asks you to examine the Bayesian algorithm for classification.
The attached dataset ( delay2.csv) contains the on-time performance of domestic flights operated by large air carriers.
Calculate the conditional probability of the Delay given Carrier = DL, Day of Week=Sunday (1),Destination = JFK, and Origin = DCA. (Show your work by writing both equations and computation in R.) (50 pts) Carrier = DL, DayofWeek = 1, Destination = JFK, Origin = DCA
Suppose that you need to take the following flight: It departs on Monday, and the flight carrier is DH. The origin of the flight is Dulles/Washington International airport (IAD), and the flight's destination is LaGuardia Airport (LGA). Predict whether this flight would be delayed or on time. (50 pts)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started