Recovery of Weibull parameters of tree diameter distribution using measured stand characteristics
Recovery of Weibull parameters of tree diameter distribution using measured stand characteristics
The function finds such parameters shape and scale of the Weibull diameter distribution that yield the given basal area, number of stems and weighted/unweighted mean/median diameter. Weibull function can be assumed either as the unweighted or basal-area weighted distribution.
recweib(G, N, D, Dtype, init=NA, trace=FALSE, weight=0,minshape=0.01)func.recweib1(lshape, G, N, D, Dtype, trace=FALSE,minshape=0.01)func.recweib2(lshape, G, N, D, Dtype, trace=FALSE,minshape=0.01)
Arguments
G: The basal area in m2/ha, scalar.
N: The number of stems per ha, scalar.
D: Either A: The arithmetic mean diameter, B: The basal-area weighted mean diameter, C: median diameter or D: The basal-area weighted median diameter of the stand, cm.
Dtype: One of characters "A", "B", "C", "D", indicating which type of mean diameter was given in argument D.
init: The initial guess for the shape parameter (scalar). If not given, a simple model (see Siipilehto and Mehtatalo 2013, appendix) is used to compute the initial guess for the unweighted case; value 4 is used as default in the basal-area weighted case.
trace: if TRUE, some output on the convergence of the algorithm is printed on the screen.
weight: if weight=0 (the default), Weibull function is assumed as the unweighted density. If weight=2, weibull function is assumed as the basal-area weighted density. Weight is also the theoretical infimum of the shape parameter.
minshape: Minimum difference of the shape parameter and its theoretical infimum.
Details
The recovery is based on the solution of the equation DQMW^2(shape,scale(D,shape))-DQM^2= 0, where DQMW(shape, scale(D,shape)) expresses the DQM of the assumed Weibull distribution for the given value of the shape parameter and using the scale parameter that corresponds to the given combination of the shape parameter and the mean/median diameter given in D. The function which is set to zero is implemented in functions func.recweib1 (unweighted case) and func.recweib2 (ba-weighted case). The Gauss-Newton method implemented in NRnum is used for solving the equation.
Returns
A list of components - shape, scale: The value of the shape and scale parameters at the solution.
G, N, D, Dtype: The input arguments.
val: The value of the equation DQMW^2(shape,scale(D,shape))-DQM^2 at the solution
References
Siipilehto, J. and Mehtatalo, L. 2013. Parameter recovery vs. parameter prediction for the Weibull distribution validated for Scots pine stands in Finland. Silva Fennica 47(4), article id 1057. tools:::Rd_expr_doi("10.14214/sf.1057")
Mehtatalo, Lauri and Lappi, Juha 2020a. Biometry for Forestry and Environmental Data: with examples in R. New York: Chapman and Hall/CRC. 426 p. tools:::Rd_expr_doi("10.1201/9780429173462")
Mehtatalo, Lauri and Lappi, Juha 2020b. Biometry for Forestry and Environmental Data: with examples in R. Full Versions of The Web Examples. Available at http://www.biombook.org.
The mean diameters for options A, B, C and D are computed by functions documented at scaleDMean1.
Examples
# Demonstration with 3 example stands.# Example stand 1. Uneven-aged stand in Finland (Vesijako, Kailankulma, stand no 1):G<-17.0N<-1844D<-7.9DG<-19.6DM<-8.1DGM<-19.1recweib(G,N,D,"A")# 1.066123 8.099707recweib(G,N,DG,"B")# 1.19316 8.799652recweib(G,N,DM,"C")# 1.601795 10.18257recweib(G,N,DGM,"D")# 1.095979 8.280063recweib(G,N,D,"A",weight=2)# 2.590354 21.66398recweib(G,N,DG,"B",weight=2)# 2.563892 22.07575recweib(G,N,DM,"C",weight=2)# 2.998385 17.74291recweib(G,N,DGM,"D",weight=2)# 2.566621 22.03183# Example 2. Even aged stand in Finland (see Siipilehto & Mehtatalo, Fig 2):G_ha<-9.6N_ha<-949D<-11.0DG<-12.3DM<-11.1DGM<-12.4recweib(G_ha,N_ha,D,"A")# 4.465673 12.05919recweib(G_ha,N_ha,DG,"B")# 4.463991 12.05912recweib(G_ha,N_ha,DM,"C")# 4.410773 12.05949recweib(G_ha,N_ha,DGM,"D")# 4.448272 12.05924# Example 3. Assumed peaked even aged stand (see Siipilehto & Mehtatalo, Fig 1):G_ha<-10.0N_ha<-1300D<-9.89DG<-10.0DM<-9.89DGM<-10.0recweib(G_ha,N_ha,D,"A")# 34.542 10.04978recweib(G_ha,N_ha,DG,"B")# 14.23261 10.22781recweib(G_ha,N_ha,DM,"C")# 6.708882 10.44448recweib(G_ha,N_ha,DGM,"D")# 24.45228 10.10607