data(Pap)
attach(Pap)
nq=30
gl=gauss.quad.prob(nq,"uniform")
start=c(rep(0.6,5),0.5)
select.random=1
est.norm=imperfectREMADA.norm(y11,y10,y01,y00,gl,
select.random,start)
start=c(rep(0.6,5),0.1)
est.beta=imperfectREMADA.beta(y11,y10,y01,y00,gl,
select.random,start)
detach(Pap)
Run the code above in your browser using DataLab