|
JMSLTM Numerical Library 4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.imsl.stat.KaplanMeierECDF
Computes the Kaplan-Meier reliability function estimates or the CDF based on failure data that may be multi-censored.
Field Summary | |
static long |
serialVersionUID
|
Constructor Summary | |
KaplanMeierECDF(double[] y)
Constructor for ARMA . |
Method Summary | |
static void |
compute()
Computes the empirical CDF |
static double[] |
getCDF()
Retrieve CDF values up to, but not including the time values in x |
static int |
getNTimes()
Retrieves the number of points in the empirical CDF |
static double[] |
getTimes()
Retrieves the time values where the step function CDF jumps to a greater value. |
static void |
setCensor(int[] censor)
Set flags to note right-censoring |
static void |
setFrequency(int[] freq)
Sets the frequency for each entry in y |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long serialVersionUID
Constructor Detail |
public KaplanMeierECDF(double[] y)
ARMA
.
y
- a double
array containing the failure times.Method Detail |
public static void compute()
public static double[] getCDF()
x
double
array of cdf values.public static int getNTimes()
int
containing the number of points in the
empirical CDF.public static double[] getTimes()
y
removed.
public static void setCensor(int[] censor)
censor
- an int
array of 0 or 1 flags to note right-censoring
0 = continue to use datum
1 = remove datum
no data is right-censored if not present.
IllegalArgumentException
- is thrown if censor.length
,
y.length
are not
consistent.public static void setFrequency(int[] freq)
y
freq
- a double
array containing the repeat count
for each entry in y
.
IllegalArgumentException
- is thrown if freq.length
,
y.length
are not
consistent.
|
JMSLTM Numerical Library 4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |