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
- Alphabetic
- By Inheritance
- VariateTest
- App
- DelayedInit
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
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
- val distribution: Array[Variate with Product with Serializable]
-
val
executionStart: Long
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
- val include: Set[Int]
-
def
main(args: Array[String]): Unit
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
-
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
- val nTests: Int
- val testAll: Boolean
- val trinom: Trinomial
Deprecated Value Members
-
def
delayedInit(body: ⇒ Unit): Unit
- Definition Classes
- App → DelayedInit
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) the delayedInit mechanism will disappear