R/pcopula1.R

"pcopula1" <-
function(theta,delta,psi,phi,ivpsi,ivphi,s,t)
{n<-min(length(s),length(t));
	u<-ivphi(theta,delta,exp(-ivpsi(delta,s)[(n+2):(2*n+1)]))[(2+n+1):(2*n+2)];
	v<-ivphi(theta,delta,exp(-ivpsi(delta,t)[(n+2):(2*n+1)]))[(2+n+1):(2*n+2)];
	suma<-u+v;
	pc<-psi(delta,-log(phi(theta,delta,suma)[(2+n+1):(2*n+2)]))[(n+2):(2*n+1)]
	resu<-pc
}

Try the fgac package in your browser

Any scripts or data that you put into this service are public.

fgac documentation built on May 2, 2019, 6:07 a.m.