What is the accuracy of the logistic regression classifier

Assignment Help Applied Statistics
Reference no: EM132234453

Project: Fit a Logistic Regression Model to the Thoracic Surgery Binary Dataset - Part 1

For this project, you will be working with the thoracic surgery data set from the University of California Irvine machine learning repository. This dataset contains information on life expectancy in lung cancer patients after surgery.

The underlying thoracic surgery data is in ARFF format. This is a text-based format with information on each of the attributes. You can load this data using a package such as foreign or by cutting and pasting the data section into a CSV file.

Instructions: Include all of your answers in a R Markdown report.

a. Fit a binary logistic regression model to the data set that predicts whether or not the patient survived for one year (the Risk1Yvariable) after the surgery. Use the glm() function to perform the logistic regression. See Generalized Linear Models for an example. Include a summary using the summary() function in your results.

b. According to the summary, which variables had the greatest effect on the survival rate?

c. To compute the accuracy of your model, use the dataset to predict the outcome variable. The percent of correct predictions is the accuracy of your model. What is the accuracy of your model?

Project: Fit a Logistic Regression Model to Previous Dataset - Part 2

Include all of your answers in a R Markdown report.

Fit a logistic regression model to the binary-classifier-data.csv dataset from the previous assignment.

Dataset (use previous data): binary-classifier-data.csv is attached.

a. What is the accuracy of the logistic regression classifier?

b. How does the accuracy of the logistic regression classifier compare to the nearest neighbors algorithm?

c. Why is the accuracy of the logistic regression classifier different from that of the nearest neighbors?

Attachment:- Assignment Files.rar

Reference no: EM132234453

Questions Cloud

Disgruntled customer is returning damaged suit jacket : A disgruntled customer is returning a damaged suit jacket he bought the previous week that he needed for an event that night. He is extremely upset.
What factors that help decide when a team : What factors that help decide when a team should be used for a workplace task/initiative.
Prepare a statement that describes the product life cycle : In a 1 page essay prepare a statement that describes the product life cycle and provide an example used in healthcare.
Create a full crud front end in visual studio : Create a full CRUD - Create, Read, Update, and Delete front end in Visual Studio - The database must be operated on using Entity Framework, with LINQ
What is the accuracy of the logistic regression classifier : Project: Fit a Logistic Regression Model to Previous Dataset - Part 2. What is the accuracy of the logistic regression classifier
Important the master schedule covers : While there is no set time period a master schedule has to cover, it is important the master schedule covers the...
Discuss benefit plan you currently have through employer : If you are currently covered under a benefit plan, outline and discuss the benefit plan you currently have through your employer.
Accomplishment of organizational goals and values : Recommendations regarding an expansion of the benefits programs offered at the company that would further align HR with the accomplishment of organizational
Side of google being run as flexible-flat technocracy : What are the advantages and disadvantages of the creative side of Google being run as a flexible and flat “technocracy”

Reviews

Write a Review

Applied Statistics Questions & Answers

  Find an example of misleading use of statistics in magazine

Find an example of a misleading use of statistics in a newspaper, magazine, corporate annual report, or other source. Then explain why your example is misleading.

  Significant change in the mean length of the bars

Has there been a statistically significant change in the mean length of the bars?

  Write your own newspaper article

Write your own newspaper article for the study with at least one appropriate table or graph.

  Set up null and alternative hypotheses for hypothesis test

The bottling company wants to set up a hypothesis test so that the filler will be readjusted if the null hypothesis is rejected. Set up the null and alternative hypotheses for this hypothesis test.

  Build a reliable regression model

Advanced Quantitative Methods - Statistical Case Study - build a reliable regression model which explains the correlates with school performance. Your dependent variable is acadperf, which is a measure of school wide standardized test scores (high..

  What are the expected annual demand and the total revenue

Calculate the mathematical equation for the total revenue (TR), which is the annual demand multiplied by the unit price. What are the expected annual demand and the total revenue according to your recommended price?

  As part of an assessment for navigation

As part of an assessment for navigation, a professor has his students take a written test. He teaches two sections of the class. The variance and standard deviations for test 1 and test 2 scores are shown below. What do the results say about the rela..

  Can we be confident that m is less than eight seconds

Using the fact that x = 7.4 and s = 1.026, find a 95 percent confidence interval for the population mean alert time, m, for the new panel. Can we be 95 percent confident that m is less than 8 seconds?

  Find the probability that exactly 15 babies are female

Find the probability that - exactly two of the workers have been exposed to asbestos - Find the probability that exactly 15 babies are female.

  What is the best predicted value for diastolic pressure

What is the best predicted value for diastolic pressure given that a woman has a systolic level of 100 and use the Excel Analysis ToolPak to find the linear correlation coefficient for the systolic and diastolic measurements.

  Write a confidence interval for the percent of male voters

Write a 95% confidence interval for the percent of male voters who may vote for this candidate. Interpret your interval.

  Find the probability mass function of x

Please answer the following questions for an assignment!!! 1) A fair (unbiased) die is thrown. Let X be the number shown up. (a) Find P (|X - E(X)| ≥ 2.5).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd