fitJSB: Estimating parameters of the Johnson's SB (JSB) distribution...

fitJSBR Documentation

Estimating parameters of the Johnson's SB (JSB) distribution using four methods

Description

Suppose x=(x_1,…,x_n)^T denotes a vector of n independent observations coming from a four-parameter JSB distribution with probability density function given 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 -∞<ξ<∞. Using Bayesian approach, method of conditional maximum likelihood (CML, Johnson (1949)), method of moment (MM, Fonseca(2009)), and two-percentile method that proposed by Knoebel and Burkhart (1991) (KB). We compute all four estimators when the scale λ, and location ξ, parameters are predetermined. The method proposed by Ogana (2018) has been used for predetermining the scale and location parameters. Let DBH accounts for diameter at breast height (DBH), for estimating parameters δ and γ through the Bayesian approach, the location and scale parameters are predetermined as ξ = \min(DBH) - 1.34 and λ = \max(DBH) - ξ + 3.8, respectively. For the MM, CML, and KB methods, the parameters ξ and λ are predetermined in the same way as suggested by Ogana (2018). determine

Usage

fitJSB(y, n.burn=8000, n.simul=10000)

Arguments

y

Vector of DBH observations.

n.burn

Length of the burn-in period, i.e., the point after which Gibbs sampler is supposed to attain convergence. By default n.burn is 8000.

n.simul

Total numbers of Gibbs sampler iterations. By default n.simul is 10,000.

Details

The Bayes' estimators are obtained by averaging on the all iterations between n.burn and n.simul.

Value

A list of objects in two parts as

  1. Four estimators including Bayes, MM, CML, and KB.

  2. A sequence of four goodness-of-fit measures consist of Anderson-Darling (AD), Cram\'eer-von Misses (CVM), Kolmogorov-Smirnov (KS), and log-likelihood (log-likelihood) statistics.

References

N. L. Johnson, 1949. Systems of frequency curves generated by methods of translation, Biometrika, 36, 149-176.

B . R. Knoebel and E. Burkhart, 1991. A bivariate distribution approach to modeling forest diameter distributions at two points in time, Biometrics, 3, 241-253.

T. F. Fonseca, 2009. Describing maritime pine diameter distributions with Johnson's SB distribution using a new all-parameter recovery approach, Forest Science, 55, 367-373.

F. N. Ogana, 2018. Evaluation of four methods of fitting Johnson’s SBB for height and volume predictions, Journal of Forest Science, 64, 187-197.

Examples

# Here we use the SW dataset provided by FIA that represents a typical loblolly pine plantation.
# As the variable of interest, we fit the JSB distribution to the diameter at breast height (SW$DIA)
# in inches.
data(SW)
y <- SW$DIA
fitJSB(y, n.burn=8000, n.simul=10000)

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

Related to fitJSB in ForestFit...