Description Usage Arguments Value Author(s) See Also Examples
Recommend individualized treatment regime for future patients, based on the penalized A-learning method, or sequential advantage selection method.
1 |
object |
Fitted object of class "PAL" or "SAS". |
x1 |
A matrix consisting of future patients baseline covariates. |
a1 |
A vector consisting of future patients first treatments. Not
needed if |
x2 |
A matrix consisting of future patients intermediate covariates.
Not needed if |
stage |
Outputs the first-stage decision rule for future patients if |
A vector of individualized treatments tailored for future patients.
Chengchun Shi
1 2 3 4 5 6 | ## load simulated STARD data
data(SSTARD.twostage)
## estimate individualized treatment regime using SAS
result <- SAS(Y~X1|A1|X2|A2, data=SSTARD.twostage)
## make the recommendation
TR(result, x1=SSTARD.twostage$X1, a1=SSTARD.twostage$A1, x2=SSTARD.twostage$X2, stage=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.