1 nvals <- c(5000,10000,100000,500000,1000000)
2 for (link in c("logit","probit"))
6 par(mfrow=c(2,2), lwd=2, cex.axis=2, cex=2)
10 load(paste("multirun_",n,"_",d,"_",link,".RData",sep=""))
13 for (i in 1:2) #our, fm
15 for (j in 1:2) #beta, p,b
23 ypts <- c(ypts, mean(sapply(1:length(res[[k]][[i]]), function(x) mean((res[[k]][[i]][[x]][2:(d+1),dim] - mr_params$beta[,dim])^2))))
31 for (rowidx in c(1,d+2))
34 ref <- if (rowidx==1) { mr_params$p } else { mr_params$b }
36 ypts <- c(ypts, mean(sapply(1:length(res[[k]][[i]]), function(x) mean((res[[k]][[i]][[x]][rowidx,] - ref)^2))))