Skip to main content

Introduction to Bayesian Computation

  • Chapter
Book cover Bayesian Computation with R

Part of the book series: Use R! ((USE R))

  • 7773 Accesses

In the previous two chapters, two types of strategies were used in the summarization of posterior distributions. If the sampling density has a familiar functional form, such as a member of an exponential family, and a conjugate prior is chosen for the parameter, then the posterior distribution often is expressible in terms of familiar probability distributions. In this case, we can simulate parameters directly by use of the R collection of random variate functions (such as rnorm, rbeta and rgamma), and we can summarize the posterior by computations on this simulated sample. A second type of computing strategy is what we called the “brute-force” method. In the case where the posterior distribution is not a familiar functional form, then one simply computes values of the posterior on a grid of points and then approximates the continuous posterior by a discrete posterior that is concentrated on the values of the grid. This brute-force method can be generally applied for oneand two-parameter problems such as those illustrated in Chapters 3 and 4.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

(2007). Introduction to Bayesian Computation. In: Albert, J. (eds) Bayesian Computation with R. Use R!. Springer, New York, NY. https://doi.org/10.1007/978-0-387-71385-4_5

Download citation

Publish with us

Policies and ethics