cont.ind2 | R Documentation |
Determine Independence of Two Continuous Random Variables
cont.ind2(FUN, lo1, up1, lo2, up2, n = 11, ep = 1e-06, prt = FALSE)
FUN |
Continuous joint PDF |
lo1 |
Lower limit of X |
up1 |
Upper limit of X |
lo2 |
Lower limit of Y |
up2 |
Upper limit of Y |
n |
Number of checking points between lower and upper limit, Default: 11 |
ep |
Error bound for comparing probablities, Default: 1e-06 |
prt |
Print detailed output? Default: FALSE |
Joint PDF
pdf = function(x, y) (x+y)*(x>=0 & x<=1)*(y>=0 & y<=1) cont.ind2(pdf, lo1=0, up1=1, lo2=0, up2=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.