public class Logistic
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Logistic.Diff |
Constructor and Description |
---|
Logistic() |
Modifier and Type | Method and Description |
---|---|
static Logistic.Diff |
dlnPdf(double a,
double b,
double x) |
static Logistic.Diff |
dPdf(double a,
double b,
double x) |
static double |
logPdf(double a,
double b,
double x) |
static double |
pdf(double a,
double b,
double x) |
static double |
sample(double a,
double b,
java.util.Random random) |
public static double sample(double a, double b, java.util.Random random)
a
- location parameter (any real number)b
- scale parameter (b grater than 0)random
- public static double pdf(double a, double b, double x)
a
- location parameter (any real number)b
- scale parameter (b greater than 0)x
- public static double logPdf(double a, double b, double x)
public static Logistic.Diff dPdf(double a, double b, double x)
a
- location parameter (any real number)b
- scale parameter (b greater than 0)x
- public static Logistic.Diff dlnPdf(double a, double b, double x)