jdistlib
Class LogNormal
- java.lang.Object
-
- jdistlib.generic.GenericDistribution
-
- jdistlib.LogNormal
-
public class LogNormal extends GenericDistribution
-
-
Constructor Summary
Constructors Constructor and Description LogNormal()Constructor for standard Logistic (location = 0, scale = 1)LogNormal(double meanlog, double sdlog)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublecumulative(double p, boolean lower_tail, boolean log_p)static doublecumulative(double x, double meanlog, double sdlog, boolean lower_tail, boolean log_p)doubledensity(double x, boolean log)static doubledensity(double x, double meanlog, double sdlog, boolean give_log)doublequantile(double q, boolean lower_tail, boolean log_p)static doublequantile(double p, double meanlog, double sdlog, boolean lower_tail, boolean log_p)doublerandom()static doublerandom(double meanlog, double sdlog, RandomEngine random)static double[]random(int n, double meanlog, double sdlog, RandomEngine random)-
Methods inherited from class jdistlib.generic.GenericDistribution
cumulative_hazard, cumulative_hazard, cumulative, cumulative, cumulative, density, density, getRandomEngine, hazard, hazard, inverse_survival, inverse_survival, quantile, quantile, quantile, random, random, setRandomEngine, survival, survival, survival
-
-
-
-
Constructor Detail
-
LogNormal
public LogNormal()
Constructor for standard Logistic (location = 0, scale = 1)
-
LogNormal
public LogNormal(double meanlog, double sdlog)
-
-
Method Detail
-
density
public static final double density(double x, double meanlog, double sdlog, boolean give_log)
-
cumulative
public static final double cumulative(double x, double meanlog, double sdlog, boolean lower_tail, boolean log_p)
-
quantile
public static final double quantile(double p, double meanlog, double sdlog, boolean lower_tail, boolean log_p)
-
random
public static final double random(double meanlog, double sdlog, RandomEngine random)
-
random
public static final double[] random(int n, double meanlog, double sdlog, RandomEngine random)
-
density
public double density(double x, boolean log)- Specified by:
densityin classGenericDistribution
-
cumulative
public double cumulative(double p, boolean lower_tail, boolean log_p)- Specified by:
cumulativein classGenericDistribution
-
quantile
public double quantile(double q, boolean lower_tail, boolean log_p)- Specified by:
quantilein classGenericDistribution
-
random
public double random()
- Specified by:
randomin classGenericDistribution
-
-
DMelt 3.0 © DataMelt by jWork.ORG