summary.qad | R Documentation |
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.
## 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"), ... )
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') |
an object containing the calculated values of a qad
object.
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)'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.