Description Usage Arguments Value Author(s) References Examples
This function uses MCMC to analyse the car braking dataset cars via a quadratic regression model. The underlying MCMC algorithm is an independent Metropolis-Hastings algorithm centered at the MLE.
1 | Braking(nsim = 10^3)
|
nsim |
Number of iterations in the MCMC algorithm |
Returns a plot of some simulated regression lines along with their average and the original data.
Christian P. Robert and George Casella
Chapter 3 of EnteR Monte Carlo Statistical Methods
1 | Braking(10^4)
|
Loading required package: MASS
Loading required package: coda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.