perProb | R Documentation |
Computes the probability by applying a perturbation to the copula parameters within a 'pbox' object, and then evaluating the probability for specified query values. This method ensures that variations in the copula parameters can be assessed for their impact on the computed probabilities.
‘perProb' method for objects of class ’pbox'. This method perturbs the parameters of the copula contained in the 'pbox' and then computes the probability of the vector query using the perturbed copula. The perturbation process adjusts the copula parameters and evaluates the impact on the outcome probability.
perProb(x, vecQuery)
## S4 method for signature 'pbox'
perProb(x, vecQuery)
x |
A 'pbox' object, which is expected to contain a copula. |
vecQuery |
A numeric vector representing the query values. |
The probability computed using a perturbed copula.
Numeric value representing the computed probability using the perturbed copula.
set_pbox
, pMvdc
data(SEAex)
pbx <- set_pbox(SEAex[, .(Malaysia, Thailand)])
vecQuery <- c(31, 34)
perProb(pbx, vecQuery)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.