Braking: Quadratic regression on the car braking dataset

Description Usage Arguments Value Author(s) References Examples

View source: R/Braking.R

Description

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.

Usage

1
Braking(nsim = 10^3)

Arguments

nsim

Number of iterations in the MCMC algorithm

Value

Returns a plot of some simulated regression lines along with their average and the original data.

Author(s)

Christian P. Robert and George Casella

References

Chapter 3 of EnteR Monte Carlo Statistical Methods

Examples

1
Braking(10^4)

Example output

Loading required package: MASS
Loading required package: coda

mcsm documentation built on May 2, 2019, 10:16 a.m.

Related to Braking in mcsm...