Question: Assignment 2 Attached Files: File delay 2 . csv ( 6 . 7 3 3 KB ) This assignment asks you to examine the Bayesian

Assignment 2
Attached Files:
File delay2.csv (6.733 KB)
This assignment asks you to examine the Bayesian algorithm for classification. Provide your answers to the questions in a Word document named Assign2_LastName.doc along with your source code that should be saved as Assign2_LastName, and click the title link to upload and submit them.
The attached dataset 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 (Please note that "0" signifies "Not Delay," and "1" signifies "Delay.)
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!