Description Usage Arguments Details Value Author(s) See Also
jc.probs
can be used to calculate the joint or conditional probabilities from a fitted joint model with intervals obtained
using posterior simulation.
1 2 3 |
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 or list containing the values of the model covariates at which predictions are required. If not provided then predictions corresponding to the original data are returned. When newdata is provided, it should contain all the variables needed for prediction. |
type |
This argument can take two: |
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. |
min.pr, max.pr |
Allowed minimum and maximum for estimated probabities. |
cumul |
Only used for discrete and continuous margins' case. |
This function calculates joint or conditional probabilities from a fitted joint model or a model assuming independence, with intervals obtained using posterior simulation.
res |
It returns several values including: estimated probabilities ( |
Maintainer: Giampiero Marra giampiero.marra@ucl.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.