MCMC.Sample: MCMC.sample()

Description Usage Arguments Examples

Description

MCMC.sample()

Usage

1
2
3
MCMC.Sample(A = NULL, B = NULL, E = NULL, F = NULL, G = NULL,
  H = NULL, sdB = NULL, iter = 3000, outputlength = 100,
  burn.length = 1000, jmp = 1, x0 = NULL, test = TRUE, verbose = TRUE)

Arguments

A

A matrix containing all the approximate equations.

B

A vector containing all the measured values.

E

A matrix containing all the exact equations.

F

A vector containing the solutions to the exact equations.

G

A matrix containing all the inequality relations.

H

A vector containing the solutions to the inequality relations.

sdB

The vector containing the uncertainty of the B vector in terms of SD. A minimum, relative uncertainty of 0.1 percent is applied to all values (i.e. B value of 10+/-0 will be changed to +/- 0.01).

iter

The number of steps for the simulation to run for.

outputlength

The total number of output solutions to save for analysis. A solution is saved very iter/outputlength steps.

burn.length

The number of steps to take before starting to sample the solutions.

jmp

A measurement of length taken between steps. Smaller values yield a higher percentage of excepted solutions but slower convergence. Aim for a value which yields an acceptance ratio of ~0.234

x0

An inital solution to start from. Useful for restarting a simulation from a particular point.

test
verbose

A boolean switch to turn on or off the progress counter.

Examples

1

tbrycekelly/CCELIM documentation built on May 31, 2019, 7:27 a.m.