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

  Hypothesis testing

What assumptions about the number of pedestrians passing the location in an hour are necessary for your hypothesis test to be valid?

  Calculate the maximum reduction in the standard deviation

Calculate the maximum reduction in the standard deviation

  Calculate the expected value, variance, and standard deviati

Calculate the expected value, variance, and standard deviation of the total income

  Determine the impact of social media use on student learning

Research paper examines determine the impact of social media use on student learning.

  Unemployment survey

Find a statistics study on Unemployment and explain the five-step process of the study.

  Statistical studies

Locate the original poll, summarize the poling procedure (background on how information was gathered), the sample surveyed.

  Evaluate the expected value of the total number of sales

Evaluate the expected value of the total number of sales

  Statistic project

Identify sample, population, sampling frame (if applicable), and response rate (if applicable). Describe sampling technique (if applicable) or experimental design

  Simple data analysis and comparison

Write a report on simple data analysis and comparison.

  Analyze the processed data in statistical survey

Analyze the processed data in Statistical survey.

  What is the probability

Find the probability of given case.

  Frequency distribution

Accepting Manipulation or Manipulating

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