| predict.dina | R Documentation |
Returns the estimated treatment-effect contrast
\hat\tau(x) = \hat\beta_0 + x^\top \hat\beta_{1:d}, on the natural
parameter scale of the fitted family (mean difference for Gaussian, log
odds ratio for binomial, log mean ratio for Poisson, log hazard ratio for
Cox).
## S3 method for class 'dina'
predict(object, newdata, ...)
object |
an object of class |
newdata |
a numeric matrix or data frame with the same number of
columns as the training |
... |
unused. |
numeric vector of predicted treatment-effect contrasts, one per
row of newdata.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.