org.jliszka.probabilitymonad

Distribution

object Distribution extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Distribution
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Coin extends AnyRef

    Discrete distributions

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def F(d1: Int, d2: Int): Distribution[Double]

  7. object H extends Coin with Product with Serializable

  8. object T extends Coin with Product with Serializable

  9. def always[A](value: A): Distribution[A]

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def bernoulli(p: Double = 0.5): Distribution[Int]

  12. def beta(a: Double, b: Double): Distribution[Double]

  13. def biasedCoin(p: Double): Distribution[Coin]

  14. def binomial(p: Double, n: Int): Distribution[Int]

  15. def cauchy: Distribution[Double]

  16. def chi2(n: Int): Distribution[Double]

  17. def chi2test[A, B](d: Distribution[(A, B)]): Double

    Determine if a joint probability distribution is composed of 2 independent events.

    Determine if a joint probability distribution is composed of 2 independent events. Uses the G-test: http://en.wikipedia.org/wiki/G-test

  18. def choose(n: Int, k: Int): Distribution[List[Boolean]]

  19. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def coin: Distribution[Coin]

  21. def d(n: Int): Distribution[Int]

  22. def definitely[A](value: A): Distribution[A]

  23. def dice(n: Int): Distribution[List[Int]]

  24. def die: Distribution[Int]

  25. def dirichlet(alphas: List[Double]): Distribution[List[Double]]

  26. def discrete[A](weightedValues: (A, Double)*): Distribution[A]

  27. def discreteUniform[A](values: Iterable[A]): Distribution[A]

  28. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  30. def exponential(l: Double): Distribution[Double]

  31. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. def gamma(k: Double, theta: Double): Distribution[Double]

  33. def geometric(p: Double): Distribution[Int]

  34. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  35. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  36. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  37. def ksTest[A](d1: Distribution[A], d2: Distribution[A])(implicit ord: Ordering[A]): Double

    Tests if two probability distributions are the same using the Kolmogorov-Smirnov test.

    Tests if two probability distributions are the same using the Kolmogorov-Smirnov test. The distributions are unlikely to be the same (p < 0.05) if the value is greater than 1.35 and very unlikely (p < 0.001) if the value is greater than 1.95.

  38. def laplace(b: Double): Distribution[Double]

  39. def lognormal: Distribution[Double]

  40. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  41. def negativeBinomial(p: Double, r: Int): Distribution[Int]

  42. object normal extends Distribution[Double]

  43. final def notify(): Unit

    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  45. def pareto(a: Double, xm: Double = 1.0): Distribution[Double]

  46. def poisson(lambda: Double): Distribution[Int]

  47. def sequence[T](ds: List[Distribution[T]]): Distribution[List[T]]

  48. def shuffle[A](values: List[A]): Distribution[List[A]]

  49. def students_t(df: Int): Distribution[Double]

  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def tf(p: Double = 0.5): Distribution[Boolean]

  52. def toString(): String

    Definition Classes
    AnyRef → Any
  53. object uniform extends Distribution[Double]

    Continuous distributions

  54. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  55. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  56. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  57. def weibull(l: Double, k: Double): Distribution[Double]

  58. def zipf(s: Double, n: Int): Distribution[Int]

Inherited from AnyRef

Inherited from Any