rjsb: Simulating realizations from the Johnson's SB (JSB)...

rjsbR Documentation

Simulating realizations from the Johnson's SB (JSB) distribution

Description

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 -∞<ξ<∞.

Usage

rjsb(n, param)

Arguments

n

Number of requested random realizations.

param

Vector of the parameters δ, γ, λ, and ξ.

Value

A vector of length n, giving random generated values from JSB distribution.

Author(s)

Mahdi Teimouri

Examples

n<-100
param<-c(delta<-1, gamma<-3, lambda<-12, xi<-5)
rjsb(n, param)

ForestFit documentation built on March 7, 2023, 8:27 p.m.

Related to rjsb in ForestFit...