hmflatprobit: Metropolis-Hastings for the probit model under a flat prior
Description
This random walk Metropolis-Hastings algorithm takes advantage of the
availability of the maximum likelihood estimator (available via the glm
function) to center and scale the random walk in an efficient manner.
Usage
hmflatprobit(niter, y, X, scale)
Value
The function produces a sample of \(\beta\)'s of size niter.