wedge-package: Computing wedge probabilities using R and Rcpp

Description Details Author(s) References Examples

Description

Computes the probability for a standard Brownian motion to stay in a wedge of the plane limited by two straight lines, given by their slopes and intercepts.

Details

The DESCRIPTION file: This package was not yet installed at build time.

Index: This package was not yet installed at build time.
~~ An overview of how to use the package, including the most important ~~ ~~ functions ~~

Author(s)

NA

Maintainer: Remy Drouilhet <remy.drouilhet@imag.fr>

References

B. Ycart and R. Drouilhet (2016) Computing wedge probabilities. arXiv:1612.05764

Examples

1
2
3
4
5
6
7
# random wedges
a1 <- 10*runif(10^6)^2
b1 <- 10*runif(10^6)^2
a2 <- 10*runif(10^6)^2
b2 <- 10*runif(10^6)^2
# wedge probabilities, 3 term approximation
pw3 <- wedge(a1,b1,a2,b2)

rcqls/wedge documentation built on May 27, 2019, 3:05 a.m.