rbs: Simulating from Birnbaum-Saunders (BS) distribution.

Description Usage Arguments Value Author(s) Examples

View source: R/bibs.R

Description

Simulating from BS distribution whose density function is given by

f_{{BS}}(t|α,β)=\frac{0.5t +0.5 β}{√{2π}α √{β}t^{\frac{3}{2}}} \exp≤ft\{-\frac{(t-β)^2}{2α^2β t}\right\},

where t>0. The parameters of GBS distribution are α>0 and β>0.

Usage

1
rbs(n, alpha, beta)

Arguments

n

Size of required realizations.

alpha

Parameter alpha.

beta

Parameter beta.

Value

A vector of n realizations from distribution.

Author(s)

Mahdi Teimouri

Examples

1
rbs(n = 100, alpha = 1, beta = 2)

bibs documentation built on Jan. 27, 2022, 5:08 p.m.

Related to rbs in bibs...