rjsb | R Documentation |
Simulates realizations from four-parameter JSB distribution with probability density function given by
f\bigl(x\big|Θ\bigr) = \frac {δ λ}{√{2π}(x-ξ)(λ+ξ-x)}\exp\Biggl\{-\frac{1}{2}\Bigg[γ+δ\log \biggl(\frac{x-ξ}{λ+ξ-x}\biggr) \Bigg]^2\Biggr\},
where ξ<x<λ+ξ, Θ=(δ,γ,λ,ξ)^T with δ, λ> 0, -∞<γ<∞, and -∞<ξ<∞.
rjsb(n, param)
n |
Number of requested random realizations. |
param |
Vector of the parameters δ, γ, λ, and ξ. |
A vector of length n
, giving random generated values from JSB distribution.
Mahdi Teimouri
n<-100 param<-c(delta<-1, gamma<-3, lambda<-12, xi<-5) rjsb(n, param)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.