cont.jexp | R Documentation |
Joint pdf and Expected Value of Two Continuous Random Variables
cont.jexp(FUN, lo1 = -Inf, up1 = Inf, lo2 = -Inf, up2 = Inf, dig = 4, prt = "exp")
FUN |
Continuous joint probability density function |
lo1 |
Lower limit of X, Default: -Inf |
up1 |
Upper limit of X, Default: Inf |
lo2 |
Lower limit of Y, Default: -Inf |
up2 |
Upper limit of Y, Default: Inf |
dig |
Number of digits below the decimal point, Default: 4 |
prt |
Option for detailed output in c("", "exp", "cov", "cor"), Default: ” |
list(Ex=E(X), Dx=D(X), Ey=E(Y), Dy=D(Y), Vxy=Cov(X,Y), Cxy=Corr(X,Y))
pdf = function(x, y) 0.5*(x+3*y)*(x>0 & x<1)*(y>0 & y<1) cont.jexp(pdf, prt="cor")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.