Learn R Programming

RRreg (version 0.4.1)

predict.RRlog: Predict Individual Prevalences of the RR Attribute

Description

Predictions of the loglinear RR model for the individual probabilities of having the sensitive RR attribute.

Usage

## S3 method for class 'RRlog':
predict(object, newdata = NULL, se.fit = FALSE, ci = 0.95,
  ...)

Arguments

object
A fitted RRlog model
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.
se.fit
Get standard errors for the fitted/predicted values (using the error variance and df of the original RR model).
ci
Confidence level for confidence interval. If 0, no boundaries are returned.
...
ignored