atvpar(x = rep(1/3,3), dep, asy, model = c("log", "alog"), plot =
FALSE, col = heat.colors(12), blty = 0, grid = if(blty) 150 else 50,
lower = 1/3, ord = 1:3, lab = as.character(1:3), lcex = 1)
TRUE
). The elements/rows
of the vector/matrix should be positive and should sum to one"log"
(the default) or "alog"
(or any unique
partial match), for the logistic and asymmetric logistic models
respectively. The definition of each model is given TRUE
the function is plotted. The
minimum (evaluated) value is returned invisibly.
If FALSE
(the default), the following arguments, excluding
ord
, are ignored.image
). The first
colours in the list represent smaller values, and hence
stronger dependence. Each colour represents an equally spaced
interval between lower
ablty
is zero, so no
border is plotted. Plotting a border leads to (by default) an
increase in grid
(and hence computation time), to grid^2
points.ord
i
th margin is labelled using the i
th component,
or NULL
, in which case no labels are given. The actual
location of the margins, and hence the labels, lab
is NULL
.atvpar
calculates or plots the dependence function
for the trivariate logistic and trivariate asymmetric logistic
models, at specified parameter values.$A$ is called (by some authors) the dependence function. It follows that $A(1,0,0) = A(0,1,0) = A(0,0,1) = 1$, and that $A$ is a convex function with $\max(w_1,w_2,w_3) \leq A(w)\leq 1$ for all $w$ in $S_3$. The lower and upper limits of $A$ are obtained under complete dependence and mutual independence respectively. $A$ does not depend on the marginal parameters.
atvnonpar
, abvpar
,
rmvevd
, image
atvpar(dep = 0.5, model = "log")
s3pts <- matrix(rexp(30), nrow = 10, ncol = 3)
s3pts <- s3pts/rowSums(s3pts)
atvpar(s3pts, dep = 0.5, model = "log")
atvpar(dep = 0.05, model = "log", plot = TRUE, blty = 1)
atvpar(dep = 0.95, model = "log", plot = TRUE, lower = 0.94)
asy <- list(.4, .1, .6, c(.3,.2), c(.1,.1), c(.4,.1), c(.2,.3,.2))
atvpar(s3pts, dep = 0.15, asy = asy, model = "alog")
atvpar(dep = 0.15, asy = asy, model = "al", plot = TRUE, lower = 0.7)
Run the code above in your browser using DataLab