MLEln2p: Quick Fit, Maximum Likelihood Estimate for 2-parameter...

Description Usage Arguments Details Value References Examples

View source: R/MLEln2p.r

Description

Determination of lognormal fitting parameters, goodness of fit measures and confidence interval bounds with optional graphical display.

Usage

1
MLEln2p(x, s=NULL, bounds=FALSE, show=FALSE) 

Arguments

x

A vector of failure data, or a dataframe wit time, event and optionally qty columns

s

An optional vector of suspension data.

bounds

A logical argument defining whether confidence interval bounds should be calculated by pivotal analysis.

show

A logical argument defining whether a simple graphical output is desired.

Details

This function is intended to provide a simple casual method of standard lognormal fitting based on default methods, without options.

Value

When the bounds argument is set to FALSE this function returns a vector with named elements for Mulog, Sigmalog, and LL (log-likelihood). When the bounds argument is set to TRUE a list is returned containing the vector as described and a dataframe of confidence interval bound values at a fixed set of descriptive quantiles, suitable for comparison with other software.

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

1
2
3
failures<-c(90,96,30,49,82)
suspensions<-c(100,45,10)
fit<-MLEln2p(failures, suspensions)

WeibullR documentation built on July 27, 2018, 3 p.m.