Split-dichotomized regression model.
splitd(start.model, x_, x, data, id, ...)Function splitd() returns a function,
the dichotomizing rule \(\mathcal{D}\) based on the training set \((y_0, x_0)\),
with additional attributes
Function splitd() performs a univariable regression model on the test set with a dichotomized predictor, using a dichotomizing rule determined by a recursive partitioning of the training set.
Specifically, given a training-test sample split,
find the dichotomizing rule \(\mathcal{D}\) of the predictor \(x_0\) given the response \(y_0\) in the training set (via function node1());
fit a univariable regression model of the response \(y_1\) with the dichotomized predictor \(\mathcal{D}(x_1)\) in the test set.
Currently the Cox proportional hazards (coxph) regression for Surv response, logistic (glm) regression for logical response and linear (lm) regression for gaussian response are supported.