plot.summary.censReg: Diagnostic Plot

View source: R/plot.summary.censReg.R

plot.summary.censRegR Documentation

Diagnostic Plot

Description

Plot summary AMLE/MLE model diagnostics.

Usage

## S3 method for class 'summary.censReg'
plot(x, which = "All", set.up = TRUE, span = 1,
  ...)

Arguments

x

an object of class "censReg"—output from censReg

which

either "All" or any of a sequence from 1 to 7 indicating which plot, see Details.

set.up

set up the graphics page?

span

the span to use for the loess smooth. Set to 0 to suppress.

...

further arguments passed to or from other methods.

Details

Seven graphs can be produced by this function. If which is "All," then all plots are produced. The argument which can also be the name of an explanatory variable so that a partial residual plot is created for a single variable. Or which can be any of a sequence of numbers from 1 thorugh 7. Numeric values for which:

  1. Fitted vs. Observed

  2. Fitted vs. Residual

  3. S-L plot

  4. A correlogram if dates are available in the model or in the data set

  5. Q-normal plot

  6. Influence plot

  7. Partial residual plots for each explanatory variable

Value

The object x is returned invisibly.

Note

The q-normal plot (number 5) plots the working residuals and portrays fits for relatively small percentages of censoring very well. For larger percentages of censoring, the q-normal plot in plot.censReg (number 2) can portray the normality of the residuals more accurately.

See Also

censReg, plot.censReg


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