predict.unitModalReg: Prediction Method for 'unitModalReg' Objects

Description Usage Arguments Author(s)

View source: R/predict.R

Description

Extract various types of predictions from fitted models objects of class unitModalReg.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'unitModalReg'
predict(
  object,
  newdata = NULL,
  type,
  interval = FALSE,
  level = 0.95,
  se.fit = FALSE,
  ...
)

Arguments

object

fitted model object of class unitModalReg.

newdata

optionally, a data frame in which to look for variables with which to predict. If omitted, the original observations are used.

type

the type of prediction required. The default is on the scale of the response variable. The "terms" option returns a matrix giving the fitted values of each term in the model formula on the linear predictor scale.

interval

type of interval desired. The options are none and confidence.

level

coverage probability for the confidence intervals. Default is 0.95.

se.fit

logical. If TRUE return the asymptotic standard errors.

...

currently not used.

Author(s)

André F. B. Menezes andrefelipemaringa@gmail.com


AndrMenezes/unitModalReg documentation built on March 12, 2021, 5:24 a.m.