Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A classification tree is manually built on the data below to predict whether or not a student will pass a course. The predictor variables include

A classification tree is manually built on the data below to predict whether or not a student will pass a course. The predictor variables include the categorisation of 2nd year marks (categorised as high (H) / medium (M) / or low (L)) and whether or not the majority of lectures were attended (yes (Y) or no (N)). The response is coded as a pass (P) or fail (F).

2nd yr marksAttendedPassed
LNF
LYP
MNF
MYP
HNP
HYP

You enter the data into R, fit a classification tree using the tree package with default values, and get output where no splits have occurred. Why do you think the tree output is not showing any splits?

image text in transcribed
A. None of the splits would result in an improvement. B. The improvement in fit from any of the splits is not sufficiently large. C. impossible to say D. There are not enough observations in the root node for a split to occur

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

College Algebra

Authors: Cynthia Y Young

3rd Edition

1118475690, 9781118475690

More Books

Students also viewed these Mathematics questions

Question

Differentiate 3sin(9x+2x)

Answered: 1 week ago

Question

Compute the derivative f(x)=(x-a)(x-b)

Answered: 1 week ago