est2bs {bs} | R Documentation |
The function est2bs()
estimates the parameters alpha and beta of the BSD from a sample of observations by using the graphical
method (GME) developed by Chang and Tang (1994). In addition, optionally, the function est2bs()
produces a GME plot for the BSD based on the least squares method.
est2bs(x, plot = "FALSE")
x |
Vector of observations. |
plot |
Logical; if TRUE, the GME plot is provided. |
The function est2bs()
returns a list with three elements:
alpha |
Estimation of alpha by using GME method. |
beta |
Estimation of beta by using GME method. |
r.squared |
Coefficient of determination of least squares for GME plot. |
Víctor Leiva <victor.leiva@uv.cl>, Hugo Hernández <hugo.hernande@msn.com>, and Marco Riquelme <mriquelm@ucm.cl>.
Birnbaum, Z.W. and Saunders, S.C. (1969). Estimation for a family of life distributions with applications to fatigue. J. Appl. Probab. 6(2): 328-347.
Leiva, V., Hernández, H., and Riquelme, M. (2006). A New Package for the Birnbaum-Saunders Distribution. Rnews, 6/4, 35-40. (http://www.r-project.org)
D.S. Chang and L.C. Tang (1994). Graphical analysis for Birnbaum-Saunders distribution. Microelectronics and Reliability, 34(1): 17-22.
## Load package library(bs) ## Load data sets data(psi31) ## Examples for parameters estimation est1bs(psi31) est2bs(psi31) est3bs(psi31)