Class SurvivalInfoDiscrete

java.lang.Object
dk.alexandra.fresco.stat.survival.SurvivalInfoDiscrete

public class SurvivalInfoDiscrete
extends Object
Represents a data point in data for survival analysis with only discrete covariates on finite sets. Each entry in the covariates set is an 0-1 indicator vector with exactly one non-zero value indicating the value of that particular covariate, e.g. (1,0,0,0), (0,1,0,0), (0,0,1,0) or (0,0,0,1) if the covariate has four different values.
  • Constructor Summary

    Constructors 
    Constructor Description
    SurvivalInfoDiscrete​(List<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>>> covariates, dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt> time, dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt> censored)  
  • Method Summary

    Modifier and Type Method Description
    dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt> getCensored()  
    List<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>>> getCovariates()  
    dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt> getTime()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SurvivalInfoDiscrete

      public SurvivalInfoDiscrete​(List<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>>> covariates, dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt> time, dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt> censored)
  • Method Details

    • getCovariates

      public List<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>>> getCovariates()
    • getTime

      public dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt> getTime()
    • getCensored

      public dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt> getCensored()