powered by
Standard bivariate normal distribution approximated with Legendre polynomials.
Phixy(x, y, rho, korder = 3, app = TRUE)
P(X<=x,Y<=y).
correlation coefficient.
order of Legendre approximation.
bool value TRUE for approximation, FALSE for integral.
library(mvtnorm) pmvnorm(upper = c(1,-1),sigma = matrix(c(1,0.5,0.5,1),2,2)) Phixy(1,-1,0.5,2,app=TRUE) Phixy(1,-1,0.5,app=TRUE)
Run the code above in your browser using DataLab