ashr icon indicating copy to clipboard operation
ashr copied to clipboard

Add vignette on computation with general likelihoods

Open pcarbo opened this issue 8 years ago • 2 comments

ashgen.Rmd.gz

Thanks to Mengyin.

pcarbo avatar Jan 23 '17 21:01 pcarbo

@mengyin I think it would be good to simplify the use of the general likelihoods by setting betahat=0 and betahatsd=1 for the user when using likelihoods that require that.

In fact, maybe that should be the default: if a likelihood is specified and not a t or normal likelihood, and betahat and bhatsd are missing, set betahat=0 and the sd=1.

So for example ash(rep(0, length(y)), 1, lik = lik_pois(y)) would become just ash(lik = lik_pois(y))

What do you think?

stephens999 avatar May 04 '17 14:05 stephens999

I agree! Having betahat/sebetahat for the general likelihoods indeed looks confusing. It will be much more clear if we can just avoid them.

mengyin avatar May 06 '17 17:05 mengyin