[R] How To Specify An Improper Uniform Prior (Bayesian Analysis)

Ryan ryan.andrew.black at gmail.com
Fri Mar 19 15:05:42 CET 2010


Hi,

In Winbugs, one can assign a distribution called "dflat()", which
corresponds to an improper uniform prior on the whole real line. What
would be the equivalent in R? I ask because I'm trying to run Winbugs
through R, and the model I've constructed in Winbugs includes a
"dflat()" distribution. For all of the normal priors in Winbugs, I've
been using "rnorm" in R.

Thanks,

Ryan



More information about the R-help mailing list