Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use >install.packages(faraway) >library(faraway) >data(wbca) in r to access the data. Problems 4 and 5 will use Faraway's wbca data on diagnosis of breast cancer among

Use

>install.packages("faraway")

>library(faraway)

>data(wbca)

in r to access the data.

Problems 4 and 5 will use Faraway's wbca data on diagnosis of breast cancer among women with breast tumors using measures of the abnormality of cell characteristics. Study the help file carefully to gain some understanding of the variables.

4. Use logistic regression to model the probability a tumor is malignant (cancerous) using all the variables except Class as predictors. You might want to recode the data to make this easier using a response variable malignant=1*(Class==0). a. Find the probability a tumor is malignant (cancerous) when each predictor takes the value 3. b. Find a 95 percent confidence interval for the probability estimated in (a).

5. Decide you will classify a tumor as malignant if the fitted probability for being malignant is 0.5 or greater. a. Estimate the sensitivity of this test. b. Estimate the specificity of this test.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Introduction to Probability

Authors: Mark Daniel Ward, Ellen Gundlach

1st edition

716771098, 978-1319060893, 1319060897, 978-0716771098

More Books

Students also viewed these Mathematics questions

Question

To what extent is the information reliable and valid?

Answered: 1 week ago

Question

Draw a labelled diagram of the Dicot stem.

Answered: 1 week ago