Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2. (To be done using *R). For this question, you will have to work with Pima Indians Diabetes Database data set in R. named

image text in transcribed
Question 2. (To be done using *R"). For this question, you will have to work with Pima Indians Diabetes Database data set in R. named 'Pimalndians Diabetes" from "mibench' library. The complete data set can be seen by simply typing Pima IndiansDiabetes into the console, however, for the sake of this question, we will be working with subsets of this data frame. As part of your solutions for this question, you will have to print screen or save some output, so I suggest to submit the entirety of this question as a Word or LaTeX document (use \begin{verbatim) Your R output lend verbatim))separate to the hand- written document you scan and submit for the previous questions. a) The first step in this question, is to remove the columns that we will not be using in the analysis from the original Pimalndians Diabetes data set, including the 'diabetes variable which contains the outcome (positiveegative), so that all 768 observations in the sample can be thought as being from the same population, ie, assume we did not know they were separated into diabetes outcomes. To do this, we will create a new data frame, called sample.data which consists of all rows of the the Pimalndians Diabetes data frame but only the columns from 1 to 4, using the following code: > library (mibench) >data ("PimaIndiansDiabetes") > sample data

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

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

Define marketing.

Answered: 1 week ago

Question

What are the traditional marketing concepts? Explain.

Answered: 1 week ago

Question

Define Conventional Marketing.

Answered: 1 week ago

Question

Define Synchro Marketing.

Answered: 1 week ago

Question

13-4 What are alternative methods for building information systems?

Answered: 1 week ago

Question

13-1 How does building new systems produce organizational change?

Answered: 1 week ago