Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The leukemia gene expression dataset available in the url below consists of 72 sub- jects/patients and 3571 genes. http://www.ams.sunysb.edu/~pfkuan/Teaching/AMS597/Data/leukemiaDataSet.txt Each patient is of either type

The leukemia gene expression dataset available in the url below consists of 72 sub- jects/patients and 3571 genes. http://www.ams.sunysb.edu/~pfkuan/Teaching/AMS597/Data/leukemiaDataSet.txt

Each patient is of either type aLL (Acute lymphocytic leukemia) or type aML (Acute myelogenous leukemia). Using the genes as covariates, we will construct a model that can predict the two types of leukemia as follows:

  1. (a) First split the data randomly into two subsets containing 50 (trainData) and 22 (testData) subjects, respectively as follows:
 dat 'http://www.ams.sunysb.edu /~pfkuan/Teaching/AMS597/Data/leukemiaDataSet.txt' ,header=T,sep='\t') ### please read this as a single line in R, I break this into ### 3 lines to avoid overflowing outside paper margin
  1. str(dat)
 set.seed(123) trainID 
  1. (b) Build your best model on trainData using the Group variable as response and the genes as predictors/covariates.
  2. (c) Evaluate your model from (2) on the testData by computing the percentage of AML correctly predicted, the percentage of ALL correctly predicted and the overall percentage of AML and ALL correctly predicted.

image text in transcribed
1. The leukemia gene expression dataset available in the url below consists of 72 sub- jects/patients and 3571 genes. http://www. ams . sunysb . edu/~pfkuan/Teaching/AMS597/Data/leukemiaDataSet. txt Each patient is of either type ALL (Acute lymphocytec leukemia) or type AML (Acute myelogenous leukemia). Using the genes as covariates, we will construct a model that can predict the two types of leukemia as follows: (a) First split the data randomly into two subsets containing 50 (trainData) and 22 (testData) subjects, respectively as follows: dat

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

Discrete Mathematics

Authors: Gary Chartrand, Ping Zhang

1st Edition

1478616261, 9781478616269

More Books

Students also viewed these Mathematics questions

Question

Why are you interested in our program?

Answered: 1 week ago

Question

How does the concept of hegemony relate to culture?

Answered: 1 week ago

Question

Behaviour: What am I doing?

Answered: 1 week ago