Learn R Programming

mcsm (version 1.0)

logima: Logistic analysis of the Pima.tr dataset with control variates

Description

Provides a logistic analysis of the ‘Pima.tr’ by comparing the standard Bayesian estimate with another one based on log-cumulant control variates. The effect is visible if not huge.

Usage

logima(N = 10^3)

Arguments

N
Number of Monte Carlo iterations

Value

Returns a graph for both the estimate of the intercept and the estimate of the coefficient of the body mass index.

References

Chapter 4 of EnteR Monte Carlo Statistical Methods

See Also

Pima

Examples

Run this code
logima()

Run the code above in your browser using DataLab