In R programming use Laplace approximation to find mean and standard deviation. data = rexp(20, rate=0.5) .
Fantastic news! We've Found the answer you've been seeking!
Question:
In R programming use Laplace approximation to find mean and standard deviation. data = rexp(20, rate=0.5) . Suppose you model this data as following an Exponential( p ) distribution, where the prior is that p ~ Normal(0,1). Use Laplace's approximation to estimate the posterior for p , what is the mean and standard deviation?
Related Book For
Understanding Basic Statistics
ISBN: 9781111827021
6th Edition
Authors: Charles Henry Brase, Corrinne Pellillo Brase
Posted Date: