delta_coin | R Documentation |
Flips 'Delta coin'; uses the Cauchy sequence S^delta_k to determine whether or not the Brownian bridge with minimum, min, starting at x, ending at y, between [s,t] remains in interval [l,v]
delta_coin(u, k, x, y, s, t, min, v)
u |
simulated value from random U[0,1] |
k |
integer value starting index for calculating the intervals |
x |
start value of Brownian bridge |
y |
end value of Brownian bridge |
s |
start value of Brownian bridge |
t |
end value of Brownian bridge |
min |
minimum of Brownian bridge |
v |
upper bound of Brownian bridge |
boolean value: if T, accept probability that Brownian bridge with minimum, min, remains in [l,v], otherwise reject
delta_coin(u = runif(1, 0, 1), k = 0, x = 0.1, y = 0.4, s = 0, t = 1, min = -0.2, v = 1.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.