dcbb6 {mlCopulaSelection} | R Documentation |
Calculate the value of the BB6 density.
dcbb6(t, d, u, v)
t |
Parameter t of the BB6, (1<t ). |
d |
Parameter d of the BB6, (1<d ). |
u |
First coordenate where de density will be evaluated. (0<u <1) |
v |
Second coordenate where de density will be evaluated. (0<v <1) |
value of de density BB6 for the parameters t
and d
on ( u
, v
)
Jesus Garcia, IMECC-UNICAMP and Veronica Gonzalez-Lopez, IMECC-UNICAMP
Joe, H., (1997). Multivariate Models and Dependence Concepts. Monogra. Stat. Appl. Probab. 73, London: Chapman and Hall.
res<-dcbb6(1.5,1.5,0.75,0.6) ## The function is currently defined as function(t,d,u,v) { t19 = (d*t*(-log(-(-u+1.)**t+1.))**(d-1.)*(-log(-(-v+1.)**t+1.))**(d-1.)*exp(-(-log(-(-u+1.)**t+1.))**d-(-log(-(-v+1.)**t+1.))**d)*exp(-(-log(-(-u+1.)**t+1.))**d-(-log(-(-v+1.)**t+1.))**d)**(1./d-1.)*(-u+1.)**(t-1.)*(-v+1.)**(t-1.)*(-exp(-(-log(-(-u+1.)**t+1.))**d-(-log(-(-v+1.)**t+1.))**d)**(1./d)+1.)**(1./t-1.))/(((-u+1.)**t-1.)*((-v+1.)**t-1.))-(t*(-log(-(-u+1.)**t+1.))**(d-1.)*(-log(-(-v+1.)**t+1.))**(d-1.)*exp(-(-log(-(-u+1.)**t+1.))**d-(-log(-(-v+1.)**t+1.))**d)**2*exp(-(-log(-(-u+1.)**t+1.))**d-(-log(-(-v+1.)**t+1.))**d)**(2./d-2.)*(-u+1.)**(t-1.)*(-v+1.)**(t-1.)*(1./t-1.)*(-exp(-(-log(-(-u+1.)**t+1.))**d-(-log(-(-v+1.)**t+1.))**d)**(1./d)+1.)**(1./t-2.))/(((-u+1.)**t-1.)*((-v+1.)**t-1.))+(d*t*(-log(-(-u+1.)**t+1.))**(d-1.)*(-log(-(-v+1.)**t+1.))**(d-1.)*exp(-(-log(-(-u+1.)**t+1.))**d-(-log(-(-v+1.)**t+1.))**d)**2*exp(-(-log(-(-u+1.)**t+1.))**d-(-log(-(-v+1.)**t+1.))**d)**(1./d-2.)*(-u+1.)**(t-1.)*(-v+1.)**(t-1.)*(1./d-1.)*(-exp(-(-log(-(-u+1.)**t+1.))**d-(-log(-(-v+1.)**t+1.))**d)**(1./d)+1.)**(1./t-1.))/(((-u+1.)**t-1.)*((-v+1.)**t-1.)) }