Packages

o

scalation.random

VariateTest

object VariateTest extends App

The VariateTest object conducts two simple tests of the Random Variate Generators: (1) Means Test and (2) Chi-square Goodness of Fit Test. FIX: need to add (3) Variance Test and (4) K-S Goodness of Fit Test. > runMain scalation.random.VariateTest

Linear Supertypes
App, DelayedInit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VariateTest
  2. App
  3. DelayedInit
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def distrTest(rv: Variate): Unit

    Perform a Chi-square Goodness of Fit Test.

    Perform a Chi-square Goodness of Fit Test. Compare the random variable's histogram (generated by repeatedly calling 'gen') to the probability function pf (either pmf or pdf).

    rv

    the random variate to test

  2. val distribution: Array[Variate with Product with Serializable]
  3. val executionStart: Long
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  4. val include: Set[Int]
  5. def main(args: Array[String]): Unit
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
  6. def meansTest(rv: Variate): Unit

    Perform a Means Test (average of generated rv's close to mean for distribution).

    Perform a Means Test (average of generated rv's close to mean for distribution).

    rv

    the random variate to test

  7. val nTests: Int
  8. val testAll: Boolean
  9. val trinom: Trinomial

Deprecated Value Members

  1. def delayedInit(body: ⇒ Unit): Unit
    Definition Classes
    App → DelayedInit
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) the delayedInit mechanism will disappear