MRRw2p: Quick Fit, Median rank regression for 2-parameter weibull...

View source: R/MRRw2p.r

MRRw2pR Documentation

Quick Fit, Median rank regression for 2-parameter weibull distributions

Description

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

Usage

MRRw2p(x, s=NULL, bounds=FALSE, show=FALSE) 

Arguments

x

A vector of failure data.

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 weibull analysis based on default methods, without options. It also provides an example for handling the pivotal values returned from pivotalMC.

Value

When the bounds argument is set to FALSE this function returns a vector with named elements for Eta, Beta, Rsqr, AbPval (Abernethy's P-value), 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, dq<-c(.01, .02, .05, .10, .15, .20, .30, .40, .50, .60, .70, .80, .90, .95, .99), 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" Leonard C. Johnson (1964) "The Statistical Treatment of Fatigue Experiments"

Examples

failures<-c(90,96,30,49,82)
suspensions<-c(100,45,10)
fit<-MRRw2p(failures, suspensions)

WeibullR documentation built on June 26, 2022, 3 a.m.