Predict the fitted dose from the direct learning dose model
dosepred(B, X, X_test, bw, w)
The predicted dose
A matrix of the parameters B
, the columns are subject to the orthogonality constraint
The covariate matrix
The test covariate matrix
A Kernel bandwidth, assuming each variable have unit variance
The kernel ridge regression coefficient