bcp (version 4.0.3)

lombard: Milling machine indentation data

Description

Radii of 100 circular indentations cut by a milling machine.

Usage

lombard

Arguments

Format

A vector of length 100 containing the individual radii.

References

  1. Daniel Barry and J. A. Hartigan (1993), A Bayesian Analysis for Change Point Problems, Journal of The American Statistical Association, 88, 309-19.

  2. F. Lombard (1987), Rank Tests for Changepoint Problems, Biometrika, 74, 615-624.

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
data(lombard)
# univariate change point analysis
bcp.model <- bcp(lombard, burnin=500, mcmc=5000, return.mcmc=TRUE)

# linear model change point analysis 
bcpr.model <- bcp(lombard, cbind(1:100), burnin=500, mcmc=5000, return.mcmc=TRUE)

plot(bcp.model, main="Lombard Milling Data")
plot(bcpr.model, main="Lombard Milling Data (with Regression Model)")
# }

Run the code above in your browser using DataLab