Gaussian copula cdf with its error estimate
copula_cdf_estimate.RdThe Gaussian copula's distribution function at each point with Genz's
error estimate (mvn_cdf()): exact in two dimensions, and wherever at
most two coordinates are below 1.
Arguments
Examples
r <- matrix(0.5, 3, 3)
diag(r) <- 1
copula_cdf_estimate(gaussian_copula(r), c(0.5, 0.5, 0.5), abs_tol = 1e-7)
#> value error points converged
#> 1 0.25 7.338686e-08 655360 TRUE