Description Usage Arguments Value Examples
Predicted values based on tsriadditive object.
1 2 3 |
object |
an object of class "tsriadditive", usually, a result of a call to tsriadditive. |
newtreatment |
a new treatment value. |
newIV |
a new instrumental variable value. |
newcovariates |
a new observed covariates. |
... |
further arguments passed to or from other methods. |
predict.tsriadditive produces a venctor of predictions based on new values. A list with the following components is returned:
newobsz |
the vector grouping newtreatment, new IV and newcovariates |
score_pred |
the predicted scores |
hazard_pred |
the predicted baseline hazards function |
surival_pred |
the predicted surival function |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.