Description Usage Arguments Details Value Source
Density, distribution function, quantile function and 
random generation for the four parameter Beta distribution 
with minimum value min and scale scale.
1 2 3 4 5 6 7  | 
x | 
 Vector of quantiles  | 
min | 
 The minumum value on which the distribution is defined  | 
max | 
 The maximum value on which the distribution is defined  | 
shape1 | 
 Shape parameter  | 
shape2 | 
 Shape parameter  | 
gap | 
 Spacing from   | 
q | 
 Vector of quantiles  | 
p | 
 Vector of probabilities  | 
n | 
 Number of observations  | 
seed | 
 A numeric value for the seed of the random number generator  | 
If shape is not specified, a default 
value of 1 is used.
The Birmbaum-Saunders distribution with shape β and scale θ has density
f(x;θ,β) = \frac{√{\frac{x}{θ}}+√{\frac{θ}{x}}}{2β x}φ_{_{NOR}(z)},\quad x ≥ 0
where φ_{_{NOR}}(z) is the density of the standard normal distribution and
z = \frac{1}{β}≤ft(√{\frac{x}{θ}}-√{\frac{θ}{x} } \right)
.
dbeta4 gives the density, 
pbeta4 gives the distribution function, 
qbeta4 gives the quantile function, and 
rbeta4 generates random observations.
The length of the result is determined by n 
for rbeta4, and is the maximum of the lengths 
of the numerical arguments for the other functions. 
The numerical arguments other than n are 
recycled to the length of the result.
Birnbaum, Z. W.; Saunders, S. C. (1969), "A new family of life distributions", Journal of Applied Probability, 6 (2): 319–327, JSTOR 3212003, doi:10.2307/3212003
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.