predict.RRlog | R Documentation |
Predictions of the RR logistic regression model for the individual probabilities (or logits) of having the sensitive RR attribute, or of the probability of the RR responses.
## S3 method for class 'RRlog' predict( object, newdata = NULL, type = c("link", "response", "attribute"), se.fit = FALSE, ci = 0.95, ... )
object |
A fitted |
newdata |
An optional vector, matrix, or data.frame with values on the predictor variables. Note that for matrices, the order of predictors should match the order of predictors in the formula. Uses the fitted values of the model if omitted. |
type |
|
se.fit |
Return standard errors for the predicted values in addition to confidence intervals. SEs on the logit scale are computed using the observed Fisher information from the fitted model. Standard errors for the probability scale are computed using the delta method. |
ci |
Confidence level for confidence interval. If |
... |
ignored |
either a vector of predicted values or a matrix with columns for the
point estimates, confidence interval, and standard errors (if se.fit=TRUE
and ci=.95
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.