subject
Mathematics, 08.04.2021 22:20 hiitslillyhere

. The data set missiles. txt presents the test-firing results for 25 surface-to-air antiaircraft missiles at targets of varying speed. The result of each test is either a hit (y = 1) or a miss (y = 0). (a) Read in the data as a data frame. After that you will find that the speed of the 20th observation is missing. Fill in this missing entry with 430. Make sure the variables have the correct types. Randomly choose 20 observations for training, and the rest for testing. (b) Fit the logistic regression model using the training data with speed as the only predictor. Use the summary function to print the results. Is the predictor significant? Also predict y using the fitted model on the testing data. (c) Perform LDA on the training data, and predict using the testing data. (d) Perform kNN on the training data, and predict using the testing data. Here you can choose any k. (e) In terms of the classification accuracy, which of these methods appears to provide the best results on this data? Explain why

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 15:00
If h(x) = f[tex]h(x) = f[/tex] ยฐ [tex]g) (x)[/tex] and [tex]h(x) = \sqrt[3]{x+3}[/tex], find [tex]g(x)[/tex] if [tex]f(x) = \sqrt[3]{x +2}[/tex] ยท
Answers: 1
question
Mathematics, 21.06.2019 17:30
Asailor is looking at a kite. if he is looking at the kite at an angle of elevation of 36and the distance from the boat to the point where the kite is directly overhead is 40 feet, how high is the kite?
Answers: 1
question
Mathematics, 21.06.2019 18:00
You spin the spinner shown below once. each sector shown has an equal area. what is p(beaver ) p(beaver)? if necessary, round your answer to 2 2 decimal places.
Answers: 2
question
Mathematics, 21.06.2019 19:30
Awater holding tank measures 105 m long, 50 m wide, and 8 m deep. traces of mercury have been found in the tank, with a concen- tration of 60 mg/l. what is the total mass of mercury in the tank? answer in units of kg.
Answers: 1
You know the right answer?
. The data set missiles. txt presents the test-firing results for 25 surface-to-air antiaircraft mis...
Questions
question
Mathematics, 25.05.2021 04:40
question
Mathematics, 25.05.2021 04:40
question
Mathematics, 25.05.2021 04:40
question
Mathematics, 25.05.2021 04:40
question
Mathematics, 25.05.2021 04:40
Questions on the website: 13722367