[R] Bayesian 95% Credible interval

Greg Snow 538280 at gmail.com
Thu Mar 27 21:11:22 CET 2014


The hpd functions in the TeachingDemos package do not currently take
weights, so they will not work with the results of importance
sampling.

On Wed, Mar 26, 2014 at 10:35 PM, Baran rad <baran.r.7 at gmail.com> wrote:
> hi :)
> if i using importance sampling for obtain postreior density, can i use
> teachingdemos for obtain hpd interval?what are you doing with weight?
> or is other package for cmpute this type of sampling?
> please help me soon as soon
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 
Gregory (Greg) L. Snow Ph.D.
538280 at gmail.com




More information about the R-help mailing list