Class/Object

au.id.cxd.math.probability.discrete

TableDistribution

Related Docs: object TableDistribution | package discrete

Permalink

class TableDistribution extends DiscreteDistribution

A table distribution represents a discrete collection of values which correspond to a discrete distribution.

The table must have at least two columns.

The domainColumn contains values of Y that map to the row associated with f(y).

The rangeColumn is the column contains the P(Y) values, all values of this column must sum to 1.

Created by cd on 26/03/2016.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableDistribution
  2. DiscreteDistribution
  3. Distribution
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TableDistribution(table: DenseMatrix[Double], domainColumn: Int = 0, rangeColumn: Int = 1)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def cdf(range: Seq[Double]): Double

    Permalink

    cumulative distribution function

    cumulative distribution function

    Definition Classes
    DiscreteDistributionDistribution
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val domainColumn: Int

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  14. def mean(): Double

    Permalink

    approximate empircal mean of the values in Y

    approximate empircal mean of the values in Y

    Definition Classes
    TableDistributionDistribution
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def pdf(y: Double): Double

    Permalink

    lookup the p-value corresponding to the value of Y.

    lookup the p-value corresponding to the value of Y.

    Definition Classes
    TableDistributionDistribution
  19. val rangeColumn: Int

    Permalink
  20. def rowFor(y: Double): Int

    Permalink

    lookup the row for the value y the assumption is that Y exists in the table.

  21. def stddev(): Double

    Permalink

    standard deviation $\sigma$

    standard deviation $\sigma$

    Definition Classes
    Distribution
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. val table: DenseMatrix[Double]

    Permalink
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def variance(): Double

    Permalink

    the approximate standard deviation

    the approximate standard deviation

    Definition Classes
    TableDistributionDistribution
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DiscreteDistribution

Inherited from Distribution

Inherited from AnyRef

Inherited from Any

Ungrouped