Braking {mcsm}R Documentation

Quadratic regression on the car braking dataset

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

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

Braking(10^4)

[Package mcsm version 1.0 Index]