javastat.survival
Interface SurvivalEstimateInterface

All Known Implementing Classes:
KaplanMeierEstimate

public interface SurvivalEstimateInterface

This interface defines the required methods for estimating the survival function.


Method Summary
 double[][] confidenceInterval(double alpha, double[] time, double[] censor)
          The confidence intervals for the survival function,
 double[] estimate(double[] time, double[] censor)
          The estimate of the survival function.
 

Method Detail

estimate

double[] estimate(double[] time,
                  double[] censor)
The estimate of the survival function.

Parameters:
time - the survival times of the patients.
censor - the censor indicators for the patients.
Returns:
the values of the estimates.

confidenceInterval

double[][] confidenceInterval(double alpha,
                              double[] time,
                              double[] censor)
The confidence intervals for the survival function,

Parameters:
alpha - the level of significance.
time - the survival times of the patients.
censor - the censor indicators for the patients.
Returns:
the confidence intervals for values of the survival function.