Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

NSM3 (version 1.1)

mrl: Mean Residual Life

Description

Function to return the mean residual life along with Hall and Wellner's upper and lower bounds.

Usage

mrl(data, alpha, main=NULL, ylim=NULL, xlab=NULL,...)

Arguments

Value

The function returns a list with three vectors:PMthe mean residual lifePMUupper bound for the mean residual lifePMLlower bound for the mean residual life

Examples

Run this code
leukemia<-c(7, 429, 579, 968, 1877, 47, 440, 581, 1077, 1886, 58,
445,  650, 1109, 2045, 74, 455, 702, 1314, 2056, 177, 468,
715, 1334, 2260, 232, 495, 779, 1367, 2429, 273, 497, 881,
1534, 2509, 285, 532, 900, 1712, 317,  571, 930, 1784)
mrl(leukemia, .05)

Run the code above in your browser using DataLab