summary.qad {qad}R Documentation

Summarize a qad object

Description

Summary and coefficients of a qad output. The function summary() prints the dependence measures, sample size and resolution of the checkerboard copula and returns a list with the mentioned values. The function coef() returns a named vector with the selected values.

Usage

## S3 method for class 'qad'
summary(object, ...)

## S3 method for class 'qad'
coef(
  object,
  select = c("q(x1,x2)", "q(x2,x1)", "max.dependence", "asymmetry", "p.q(x1,x2)",
    "p.q(x2,x1)", "p.max.dependence", "p.asymmetry"),
  ...
)

Arguments

object

an object of class 'qad'

...

some methods for this generic require additional arguments. None are used in this method.

select

a vector of strings indicating which dependence measure should be returned. Options are c('q(x1,x2)', 'q(x2,x1)', 'max.dependence', 'asymmetry')

Value

an object containing the calculated values of a qad object.

Examples

n <- 100
x <- runif(n, 0, 1)
y <- x^2 + rnorm(n, 0, 0.1)
sample <- data.frame(x, y)
##(Not Run)
fit <- qad(sample)
summary(fit)
coef(fit)
coef(fit, select = c('q(x1,x2)','p.q(x1,x2)'))


[Package qad version 1.0.4 Index]