Learn R Programming

orthoDr (version 0.6.8)

dosepred: 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)

Value

The predicted dose

Arguments

B

A matrix of the parameters B, the columns are subject to the orthogonality constraint

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