FMbounds {WeibullR} | R Documentation |
Fisher Matrix bounds
Description
Generates the asymptotic bounds by means of the information matrix.
Usage
FMbounds(x, dist="weibull", CI=.90, unrel=NULL, debias="none", show=FALSE)
Arguments
x |
A dataframe such as generated by mleframe with column names 'left', 'right' and optionally 'qty'. Exact failure data (occurrences) have same time entered in both 'left' and 'right' columns. Suspension data has last known life[time] entered in 'left' column and -1 entered in 'right' column. The left(early) interval bound for left-censored data must be entered as zero. (NA is not accepted). |
dist |
A string defining a distribution to be fit. Implemented distributions are "weibull" (default) and "lognormal". (Only 2-parameter models are accepted.) |
CI |
A scalar for the double-sided confidence interval of interest. Default = 0.9, for 90 |
unrel |
An optional vector of unreliability values to be used as the descriptive quantiles at which the bounds will be calculated. |
debias |
A string argument indicating the adjustment to be applied to the shape or standard deviation parameter of the fitted data. |
show |
A logical determining whether a crude graphic of the bounds shall be displayed. |
Details
An "observed" information matrix is derived numerically as the hessian by means of optimHess. From the variance-covariance matrix (inverse of the hessian) variation of life(-time) at given quantiles is determined.
Application of a bias adjustment alters the calculation of the hessian, thus the bounds are based on a "modified" Fisher Matrix.
Value
Returns a dataframe holding values of percentiles, lower, datum, and upper values of the bound.
References
William Q. Meeker and Luis A. Escobar, (1998) "Statistical Methods for Reliability Data", Wiley-Interscience, New York
Robert B. Abernethy, (2008) "The New Weibull Handbook, Fifth Edition"
John I. McCool, (2012) "Using the Weibull Distribution: Reliability, Modeling and Inference"
Examples
set.seed(4321)
data<-rlnorm(30,2,1.2)
asymptotic_bounds<-FMbounds(mleframe(data[7:30],data[1:6]), dist="lognormal")