fitted.censReg: Extract Model Fitted Values

View source: R/fitted.censReg.R

fitted.censRegR Documentation

Extract Model Fitted Values

Description

Extracts the fitted values from a censored regression object: method for "censReg" object.

Usage

## S3 method for class 'censReg'
fitted(object, suppress.na.action = FALSE,
  type = c("response", "link", "mean"), ...)

Arguments

object

an object of class "censReg"—output from censReg

suppress.na.action

logical, suppress the effects of the na.action in the call to censReg and return only the fitted values corresponding to the fitted data.

type

the type of fitted value. To get fitted values on the original scale of the response, use "response." For back-transformed log-normal fitted values, use "link." To get the unbiased estimates of the mean for log-normal data, use "mean." Note that "link" and "mean" do not work for the common-log distribution.

...

further arguments passed to or from other methods.

Value

The fitted values from the regression.

See Also

censReg


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.