Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. A classification tree is built for some dataset with the following R code and result: node), split, n, deviance, yval (yprob) * denotes terminal

image text in transcribed
3. A classification tree is built for some dataset with the following R code and result: node), split, n, deviance, yval (yprob) * denotes terminal node 1) root Z1 22 23 24 25) 2) x1 =0.5 1335 1747.37 1 (0.3617978 0.6382022) 8) x, =162.5 986 1098.93 1 (0.2454361 0.7545639)* 3) X1>=26 2606 3455.89 1 (0.3779739 0.6220261) 6) x, =892.5 814 149.54 1 (0.0184275 0.9815725)* (a) What are the missing numbers (21, ..., 26) in the R result above? Remark: the deviance reported in output is defined as -2(n] In p1 + no In po), where n;, p; are number of observations and probability in the node for y = i (i = 1, 0 ). (b) Compute the (in-sample) false positive rate of this classification tree

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

Applied Calculus

Authors: Stefan Waner, Steven Costenoble

7th Edition

1337514306, 9781337514309

More Books

Students also viewed these Mathematics questions

Question

Apply your own composing style to personalize your messages.

Answered: 1 week ago

Question

Format memos and e-mail properly.

Answered: 1 week ago