MC.Phi: generate samples from a Rayleigh distribution.

Description Usage Arguments Value Examples

Description

Implement a function to generate samples from a Rayleigh distribution.

Usage

1
MC.Phi(x, sigma, r, antithetic = TRUE)

Arguments

x

vector of quantiles

sigma

a parameter

r

number of sample

antithetic

logical value, the default is true

Value

a vector of size xn

Examples

1
2
3
4
5
6
7
## Not run: 
x <- seq(1, 10, 1)
sigma <- 2
r <- 10000
res <- MC.Phi(x, sigma, r)

## End(Not run)

zhaoynan/StatComp18038 documentation built on May 29, 2019, 8:33 a.m.