Braking {mcsm} | R Documentation |
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.
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
Braking(10^4)