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

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 z zz z (2 25) 2) x, =0.5 1335 1747.37 1 (0.3617978 0.6382022) 8) x, =162.5 986 1098.93 1 (0.2454361 0.7545639)" 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 ni, 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
Get step-by-step solutions from verified subject matter experts
