Learn R Programming

copBasic (version 1.5.1)

qua.regressCOP.draw: Draw Quantile Regressions using a Copula by Numerical Derivative Method for V with respect to U or U with respect to V

Description

Draw a suite of lines for specified nonexceedance probabilities representing the quantile regress of either $V$ with respect to $U$ or $U$ with respect to $V$.

Usage

qua.regressCOP.draw(F=c(seq(0.1, 0.9, by=0.1)),
                    Fs=0.5, cop=NULL, para=NULL, ploton=TRUE,
                    swap=FALSE, col=c(4,2), lwd=c(1,2), lty=1, ...)

Arguments

F
Vector of nonexceedance probabilities $F$ to perform quantile regression at and defaults to a 10-percentile interval;
Fs
A special value of probability to draw with second values to arguments col and lwd and defaults to the median;
cop
A copula function;
para
Vector of parameters or other data structure, if needed, to pass to the copula;
ploton
A logical to toggle on the plot;
swap
If swap=FALSE call qua.regressCOP and perform quantile regression of $V$ with respect to $U$ and if swap=TRUE call qua.regressC
col
A vector of two values for the color of the line to draw, where the first value is used for the F probabilities and the second value is used for the Fs probability;
lwd
A vector of two values for the line width of the line to draw, where the first value is used for the F probabilities and the second value is used for the Fs probability;
lty
The line type to draw; and
...
Additional arguments to pass.

Value

  • No values are returned, this function is used for its side effects.

See Also

qua.regressCOP

Examples

Run this code
# See example in qua.regressCOP documentation

Run the code above in your browser using DataLab