Phixy | R Documentation |
Standard bivariate normal distribution approximated with Legendre polynomials.
Phixy(x, y, rho, korder = 3, app = TRUE)
x , y |
P(X<=x,Y<=y). |
rho |
correlation coefficient. |
korder |
order of Legendre approximation. |
app |
bool value TRUE for approximation, FALSE for integral. |
P(X<=x,Y<=y).
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.