copula.prob | R Documentation |
copula.prob
can be used to calculate the joint or conditional copula probabilities from a fitted simultaneous model with intervals obtained
via posterior simulation.
copula.prob(x, y1, y2, y3 = NULL, newdata, joint = TRUE, cond = 0,
intervals = FALSE, n.sim = 100, prob.lev = 0.05,
theta = FALSE, tau = FALSE, min.pr = 1e-323, max.pr = 1)
x |
A fitted |
y1 |
Value of response for first margin. |
y2 |
Value of response for second margin. |
y3 |
Value of response for third margin if a trivariate model is employed. |
newdata |
A data frame with one row, which must be provided. |
joint |
If |
cond |
There are three possible values: 0 (joint probabilities are delivered), 1 (conditional probabilities are delivered and conditioning is with the respect to the first margin), 2 (as before but conditioning is with the respect to the second margin). |
intervals |
If |
n.sim |
Number of simulated coefficient vectors from the posterior distribution of the estimated model parameters. This is used for interval calculations. |
prob.lev |
Overall probability of the left and right tails of the probabilities' distributions used for interval calculations. |
theta |
If |
tau |
If |
min.pr , max.pr |
Allowed minimum and maximum for estimated probabities. |
This function calculates joint or conditional copula probabilities from a fitted simultaneous model or a model assuming independence, with intervals obtained via posterior simulation.
res |
It returns several values including: estimated probabilities ( |
Maintainer: Giampiero Marra giampiero.marra@ucl.ac.uk
GJRM-package
, gjrm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.