simLangevin: Assessing the statistical performance of LangevinGibbs.

View source: R/simLangevin.R

simLangevinR Documentation

Assessing the statistical performance of LangevinGibbs.

Description

Simulates the LangevinGibbs routine.

Usage

simLangevin(
  n = 300,
  K = 15,
  scenario = 1,
  S = 500,
  chainlength = 1500,
  burn = 500,
  exactrep = FALSE,
  simnum = NULL
)

Arguments

n

Sample size.

K

Number of B-spline basis functions.

scenario

Either 1 or 2.

S

Total number of replications.

chainlength

The length of the MCMC chain.

burn

Burnin length.

exactrep

Exactly replicate results.

simnum

A seed for reproducibility.

Author(s)

Oswaldo Gressani oswaldo_gressani@hotmail.fr .


oswaldogressani/mixcurelps documentation built on Oct. 30, 2024, 10:45 p.m.