data(Pap)
attach(Pap)
nq=30
gl=gauss.quad.prob(nq,"uniform")
mgrid<- meshgrid(gl$n,gl$n)
tau2par=tau2par.bvn
qcond=qcondbvn
select.random=c(1,2)
start=c(rep(0.6,5),rep(0.5,2),-0.1)
est.norm=imperfectCopulaREMADA.norm(y11,y10,y01,y00,gl,mgrid,
qcond,tau2par,select.random,start)
detach(Pap)
Run the code above in your browser using DataLab