hnp: Half-Normal Plot with Simulation Envelopes for 'uwquantreg'...

Description Usage Arguments Author(s) References

View source: R/hnp.R

Description

Produces a (half-)normal plot from a fitted model object of class uwquantreg and uwquantreg.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
hnp(object, ...)

## S3 method for class 'uwquantreg'
hnp(
  object,
  nsim = 99,
  halfnormal = TRUE,
  plot = TRUE,
  level = 0.95,
  resid.type = c("cox-snell", "quantile"),
  ...
)

## S3 method for class 'zouwquantreg'
hnp(object, nsim = 99, halfnormal = TRUE, plot = TRUE, level = 0.95, ...)

Arguments

object

fitted model object of class uwquantreg.

...

currently not used.

nsim

number of simulations used to compute envelope. Default is 99.

halfnormal

logical. If TRUE, a half-normal plot is produced. If FALSE, a normal plot is produced.

plot

Should the (half-)normal plot be plotted? Default is TRUE.

level

confidence level of the simulated envelope. Default is 0.95.

resid.type

type of residuals to be used: The currently options are cox-snell or quantile.

Author(s)

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

References

Mazucheli, J., Menezes, A. F. B., Fernandes, L. B., Oliveira, R. P., Ghitany, M. E., 2020. The unit-Weibull distribution as an alternative to the Kumaraswamy distribution for the modelling of quantiles conditional on covariates. Jounal of Applied Statistics 47 (6), 954–974.


AndrMenezes/uwquantreg documentation built on July 8, 2020, 2:33 p.m.