multi_brownian_bridge | R Documentation |
Simulation of a multi-dimensional Brownian Bridge, at given times
multi_brownian_bridge(dim, x, y, s, t, times)
dim |
dimension of Brownian bridge |
x |
start value of Brownian bridge |
y |
end value of Brownian bridge |
s |
start time of Brownian bridge |
t |
end time of Brownian bridge |
times |
vector of real numbers to simulate Brownian bridge |
A list with the following components
Matrix of the simulated Brownian bridge path at all included time points, i.e. s, t and times. The times are sorted and duplicates are removed. The first dim rows are the points of the Brownian bridge in each component, last row gives the corresponding times
Matrix of the simulated Brownian bridge path only at the specified times passed into the function, i.e. the times vector. The times are not sorted and duplicates are not removed. The first dim rows are the points of the Brownian bridge in each component, last row gives the corresponding times
# simulate two-dimensional Brownian bridge starting and ending # at (0,0) in time [0,1] multi_brownian_bridge(dim = 2, x = c(0,0), y = c(0,0), s = 0, t = 1, times = c(0.1, 0.2, 0.4, 0.6, 0.8)) # note that simulated_path does not remove duplicates passed into times multi_brownian_bridge(dim = 2, x = c(0,0), y = c(0,0), s = 0, t = 1, times = c(0.1, 0.2, 0.4, 0.6, 0.6, 0.8, 0.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.