MetropolisHastings
01 Syntax
Microsoft.VisualBasic.Math.GibbsSampling.MetropolisHastings
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Main | 1 | |
| RunSampling | 1 | |
| calcTransProb | 1 | |
| calcChiSquare | 1 |
03 Members
Main(
Int32, Int32, Int32(), Int32, Int32, Int32()())Parameters
| Name | Type | Description |
|---|---|---|
dim1 | Int32 | - |
dim2 | Int32 | - |
observed | Int32() | should be has element size equals to |
markovBasis | Int32 | store moves of markov basis matrix in size of: RectangularArray.Matrix(Of Integer)(dim3, dim4) |
RunSampling(
Int32, Int32, Int32(), Double(), Int32()())calcTransProb(
Int32(), Int32())calcChiSquare(
Int32(), Double())