dosepred {orthoDr} | R Documentation |
The prediction function for the personalized direct learning dose model
Description
Predict the fitted dose from the direct learning dose model
Usage
dosepred(B, X, X_test, bw, w)
Arguments
B |
A matrix of the parameters |
X |
The covariate matrix |
X_test |
The test covariate matrix |
bw |
A Kernel bandwidth, assuming each variable have unit variance |
w |
The kernel ridge regression coefficient |
Value
The predicted dose
[Package orthoDr version 0.6.8 Index]