CopulaClass | R Documentation |
A collection and description of functions to specify the
copula class and to investigate bivariate Frechet copulae.
The class representation and methods are:
fCOPULA | representation for an S4 object of class "fCOPULA", |
show | S4 print method. |
Frechet Copulae:
pfrechetCopula | computes Frechet copula probability. |
## S4 method for signature 'fCOPULA' show(object) pfrechetCopula(u = 0.5, v = u, type = c("m", "pi", "w"), output = c("vector", "list"))
object |
[show] - |
output |
[*frechetCopula] - |
type |
[*frechetCopula] - |
u, v |
two numeric values or vectors of the same length at which
the copula will be computed. If |
The function pfrechetCopula
returns a numeric matrix of
probabilities computed at grid positions u
|v
. The
arguments u
and v
are two single values or two
numeric vectors of the same length. If v
is not specified
then the same values are taken as for u
. Alternatively,
u
may be given as a two column vector or as a list with
two entries as vectors. The first column or entry is taken as
u
and the second as v
.
The print method show
returns an S4 object of
class "fCOPULA"
. The object contains the following slots:
@call |
the function call. |
@copula |
the name of the copula. |
@param |
a list whose elements specify the model parameters of the copula. |
@title |
a character string with the name of the copula. This can be overwritten specifying a user defined input argument. |
@description |
a character string with an optional user defined description. By default just the current date will be returned. |
The function pfrechetCopula
returns a numeric vector of
probabilities. An attribute named "control"
is added
which returns the name of the Frechet copula.
Diethelm Wuertz for the Rmetrics R-port.
## fCOPULA - getClass("fCOPULA") ## pfrechet - # The Frechet Copula - m: pfrechetCopula(0.5) pfrechetCopula(0.25, 0.75) pfrechetCopula(runif(5)) ## grid2d - grid2d() pfrechetCopula(grid2d())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.