Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions