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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!