Recent content by zzeta35

  1. Z

    about random walk Metropolis algorithm

    Our model is: Y is distributed from a Negative binomial(r,p) where log(p/1-p)=xb. The prior of b is a multivariate normal(mu0, C0=Diag(k0,k1,...,km)) and prior of r is Geometric(q). We want to edit a R code of random walk Metropolis algorithm to obtain samples from the joint posterior...