jc.probs can be used to calculate the joint or conditional probabilities from a fitted bivariate model with intervals obtained
using posterior simulation.jc.probs(x, y1, y2, newdata, type = "bivariate", cond = 0, intervals = FALSE, n.sim = 100, prob.lev = 0.05)SemiParBIVProbit or copulaReg or copulaSampleSel object as
produced by SemiParBIVProbit() or copulaReg() or copulaSampleSel()."bivariate" (the probabilities are calculated from the fitted
bivariate model) and "independence" (the calculation is done from univariate fits).TRUE then intervals for the probabilities are also produced.p12), with lower and upper interval limits (CIpr)
if intervals = TRUE, and p1 and p2 (the marginal probabilities).This function calculates joint or conditional probabilities from a fitted bivariate model or a model assuming independence, with intervals obtained using posterior simulation.
SemiParBIVProbit-package, SemiParBIVProbit, copulaReg, copulaSampleSel
## see examples for SemiParBIVProbit, copulaReg and copulaSampleSel
Run the code above in your browser using DataLab