np_based | R Documentation |
Construct conformal predictive interval based on nonparametric regression
np_based( x, c, alpha, data_fit, data_calib, weight_calib, weight_new, ftol = 0.1, tol = 0.2 )
x |
a vector of the covariate of the test data. |
c |
the censoring time cutoff. |
alpha |
a number betweeo 0 and 1, specifying the miscaverage rate. |
data_fit |
a data frame, containing the training data. |
data_calib |
a data frame, containing the calibration data. |
weight_calib |
The weight corresponding to the calibration data. |
weight_new |
The weight corresponding to the test data. |
low_ci a value of the lower bound for the survival time of the test point.
includeR 0 or 1, indicating if [r,inf) is included in the confidence interval.
Other model:
aft_based()
,
distBoost_based()
,
gpr_based()
,
ph_based()
,
portnoy_based()
,
pow_based()
,
quantBoost_based()
,
rf_based()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.