edu.ucla.stat.SOCR.analyses.model
Class Survival

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.model.Survival
All Implemented Interfaces:
Analysis

public class Survival
extends java.lang.Object
implements Analysis


Constructor Summary
Survival(double[] time, byte[] censor, java.lang.String[] treat)
           
 
Method Summary
 Result analyze(Data data, short analysisType)
           
 java.lang.String getAnalysisType()
           
 SurvivalResult getSurvivalResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Survival

public Survival(double[] time,
                byte[] censor,
                java.lang.String[] treat)
Method Detail

getAnalysisType

public java.lang.String getAnalysisType()
Specified by:
getAnalysisType in interface Analysis

analyze

public Result analyze(Data data,
                      short analysisType)
               throws WrongAnalysisException,
                      DataIsEmptyException
Specified by:
analyze in interface Analysis
Throws:
WrongAnalysisException
DataIsEmptyException

getSurvivalResult

public SurvivalResult getSurvivalResult()