MRRw2pxy: X on Y median rank regression for Weibull 2-parameter

Description Usage Arguments Details Value References Examples

Description

MRRw2pxy fits a set of data consisting of failures, or alternatively failures and suspensions, to the 2-parameter Weibull distribution.

Usage

1

Arguments

x

A vector of failure data.

s

An optional vector of suspension data.

Details

This function will sort all input data while preserving failure and suspension information in paired vectors. Then a call is made to a fast C++ implementation to complete the regression according to the X on Y orientation designated as best paractice by Dr. Abernethy.

Value

A vector containing results in the following order: Eta (scale), Beta (shape), R^2 (explained variance of regression)

References

Dr. Robert B. Abernethy, (2008) "The New Weibull Handbook, Fifth Edition"

Examples

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

pivotals documentation built on May 2, 2019, 4:51 p.m.