Class RCensoredLogSplineDistribution

    • Field Detail

      • counter

        protected static int counter
        static counter to avoid name clashes in R
    • Constructor Detail

      • RCensoredLogSplineDistribution

        public RCensoredLogSplineDistribution()
        Deprecated.
        Might cause problems, when integrating the function, as no effective upper bound is given.
      • RCensoredLogSplineDistribution

        public RCensoredLogSplineDistribution​(double maxTraceLength)
    • Method Detail

      • initWithValues

        public void initWithValues​(double[] observedValues,
                                   double[] censoredValues)
                            throws NonConvergenceException
        Initializes the log spline density estimation with the observed and right censored values. TODO: delete observations and censored values after fitting process, to increase performance.
        Parameters:
        observedValues -
        censoredValues -
        Throws:
        NonConvergenceException
      • getObservedValuesString

        public java.lang.String getObservedValuesString()
      • getRightCensoredValuesString

        public java.lang.String getRightCensoredValuesString()
      • getNumericalVariance

        public double getNumericalVariance()
        Specified by:
        getNumericalVariance in interface org.apache.commons.math3.distribution.RealDistribution
        Overrides:
        getNumericalVariance in class RLogSplineDistribution