WHAT is Z1 , Z2, Z3, Z4, Z5 and Z6?
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 21 22 23 z 28) 2)x, 633.5 41034 24061.40 0 (0.9139982 0.0860018) 4) x2 =0.5 1335 1747.37 1 (0.3617978 0.6382022) 8)x, =162.5 986 1098.93 1 (0.2454361 0.7545639) 3) X2 >=28 2606 3455.89 1 (0.3779739 0.6220261) 6) X, 892.5 1792 2472.00 0 (0.5412946 0.4587054)* 7) X2 >=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, Inpro In po). where Ni, Pi are number of observations and probability in the node for y (i=1,0). i
WHAT is Z1 , Z2, Z3, Z4, Z5 and Z6?
-
- Site Admin
- Posts: 899559
- Joined: Mon Aug 02, 2021 8:13 am