powered by
cdf_post
pcdf_post(m, c, betahat, sebetahat, v)
beta = rnorm(100,0,1) betahat= beta+rnorm(100,0,1) sebetahat=rep(1,100) ash.beta = ash(betahat,1,mixcompdist="normal") c = pcdf_post(ash.beta$fitted.g,beta,betahat,sebetahat,NULL)
Run the code above in your browser using DataLab