Package hec.rss.model

Class LinearLogNormalClipDist

java.lang.Object
hec.statistics.AbstractContDist
hec.statistics.LogNormalDist
hec.statistics.LogNormalClipDist
hec.rss.model.LinearLogNormalClipDist
All Implemented Interfaces:
hec.statistics.ClipDist, hec.statistics.ContDist, hec.statistics.MultiParametrizadDist, Cloneable

public class LinearLogNormalClipDist extends hec.statistics.LogNormalClipDist
The Class LinearLogNormalClipDist. This class includes an option to use a linear interpolation instead of Log.
  • Nested Class Summary

    Nested classes/interfaces inherited from class hec.statistics.AbstractContDist

    hec.statistics.AbstractContDist.FittingMethod
  • Field Summary

    Fields inherited from interface hec.statistics.MultiParametrizadDist

    Parametrization1, Parametrization2
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new linear log normal clip dist.
    LinearLogNormalClipDist(double meanOfLn, double stdvOfLn, boolean useLinear)
    Instantiates a new linear log normal clip dist.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     
    void
    setInterpLinear(boolean useLinear)
    Sets the interp linear.
    boolean
    Use linear.
    void
     

    Methods inherited from class hec.statistics.LogNormalClipDist

    getCDF, getClipData, getClipParamNames, getClipParamVals, getPDF, getSummaryClip, invCDF

    Methods inherited from class hec.statistics.LogNormalDist

    fitSampleData, fitSampleData, fitSampleData, fitSampleData, getActiveParamNames, getActiveParams, getExpectedValue, getLogLikelihood, getMeanOfLn, getParametrizationName, getParametrizationNumber, getParamNames, getParamNames1, getParamNames2, getParams1, getParams2, getParamVals, getStdvOfLn, getType, setMeanOfLn, setParametrizationName, setParametrizationNumber, setParams1, setParams2, setParamVals, setStdvOfLn

    Methods inherited from class hec.statistics.AbstractContDist

    fitSampleData, fitSampleDataWithMaximumLikelihood, getConfidenceLimitCurves, getLogLikelihoodHessian, getLogLikelihoodJacobian, getParamBounds, getSummaryDef, invCDFBiSearch, invCDFNewton, invCDFNewtonBiSearch

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface hec.statistics.ContDist

    fitSampleData, fitSampleData, fitSampleData, fitSampleData, fitSampleData, getConfidenceLimitCurves, getLogLikelihood, getLogLikelihoodHessian, getLogLikelihoodJacobian, getParamBounds, getParamNames, getParamVals, getSummaryDef, getType, setParamVals
  • Constructor Details

    • LinearLogNormalClipDist

      public LinearLogNormalClipDist()
      Instantiates a new linear log normal clip dist.
    • LinearLogNormalClipDist

      public LinearLogNormalClipDist(double meanOfLn, double stdvOfLn, boolean useLinear)
      Instantiates a new linear log normal clip dist.
      Parameters:
      meanOfLn - the mean of ln
      stdvOfLn - the stdv of ln
  • Method Details

    • setInterpLinear

      public void setInterpLinear(boolean useLinear)
      Sets the interp linear.
      Parameters:
      useLinear - the new interp linear
    • useLinear

      public boolean useLinear()
      Use linear.
      Returns:
      true, if successful
    • read

      public void read(BufferedReader reader)
      Specified by:
      read in interface hec.statistics.ContDist
      Overrides:
      read in class hec.statistics.LogNormalClipDist
    • write

      public void write(BufferedWriter writer)
      Specified by:
      write in interface hec.statistics.ContDist
      Overrides:
      write in class hec.statistics.LogNormalClipDist
    • clone

      public Object clone()
      Specified by:
      clone in interface hec.statistics.ContDist
      Overrides:
      clone in class hec.statistics.LogNormalClipDist