plot.cdfqr {cdfquantreg}R Documentation

Plot Fitted Values/Residuals of A Cdfqr Object or Distribution

Description

Plot Fitted Values/Residuals of A cdfqr Object or Distribution

Usage

## S3 method for class 'cdfqr'
plot(
  x,
  mu = NULL,
  sigma = NULL,
  theta = NULL,
  fd = NULL,
  sd = NULL,
  n = 10000,
  inner = TRUE,
  version = "V",
  type = c("fitted"),
  ...
)

Arguments

x

If the plot is based on the fitted values, provide a fitted cdfqr object, alternatively, mu and sigma, and the distribution can be specified.

mu

Location parameter value

sigma

Sigma parameter value

theta

Skew parameter value

fd

A string that specifies the parent distribution.

sd

A string that specifies the sub-family distribution.

n

The number of random variates to be generated for user specified plot.

inner

If finite-tailed distribution is used: a logic value that indicates if the inner (inner = TRUE) case or outer (inner = FALSE) will be used. Currently inner case can only be used for 2-parameter distributions.

version

If finite-tailed distribution is used: A string indicates that which version will be used. "V" is the tilt parameter function while "W" indicates the Jones Pewsey transformation.

type

Currently only fitted values are available for generating plots.

...

other plot parameters pass onto plot.

Examples

data(cdfqrExampleData)
fit <- cdfquantreg(crc99 ~ vert | confl, 't2','t2', data = JurorData)
plot(fit)



[Package cdfquantreg version 1.3.1-2 Index]