Description Usage Arguments Value Examples
Given a logit-scaled simplex point y, this function draws a new logit-scaled simplex point. For a specified element, i, a new point is drawn with Gaussian standard deviation h. Then all other elements are rescaled such that they remain on the simplex. The returned value also includes a detailed balance term, dbt
, as an attribute.
1 | PropStep(y, i, h)
|
y |
Vector of simplex points on the logit scale |
i |
Index value for the coordinate in the simplex point vector that should be modified initially |
h |
Gaussian standard deviation for the proposal distribution |
dbt |
Detailed balance term |
1 2 3 |
Loading required package: lattice
[1] 1.249750 -2.395339 -1.821828
attr(,"dbt")
[1] -1.199729
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.