Packages

c

scalation.stat

BatchVector

class BatchVector extends AnyRef

The BatchVector class contains a VectorD for maintaining experimental data in multiple batches and methods for computing statistics on these data. Ex: It can be used to support the Method of Batch Means (MBM).

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BatchVector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BatchVector(name: String, _bSize: Int = 10, _nBatches: Int = 10)

    name

    name of the batch statistic

    _bSize

    size of each batch

    _nBatches

    number of batches

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def acorr: Double

    Compute the lag 1 auto-correlation of the batch means.

    Compute the lag 1 auto-correlation of the batch means. Be sure to run 'computeMeans' first.

  5. def allocBatches(more: Int = 1): Unit

    Allocate additional batches for this batched vector.

    Allocate additional batches for this batched vector.

    more

    the number of additional batches to allocate

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def bSize: Int

    Get the batch size.

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def computeMeans(): Unit

    Compute means for each batch and store them in the 'yb' statistics vector.

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def len: Int

    Get the total length of the batched vector.

  17. def nBatches: Int

    Get the number of batches.

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def precise(threshold: Double = .2, p: Double = .95): Boolean

    Determine whether the Confidence Interval (CI) on the mean is tight enough.

  22. def precision(p: Double = .95): Double

    Compute the relative precision, i.e., the ratio of the confidence interval half-width and the mean.

    Compute the relative precision, i.e., the ratio of the confidence interval half-width and the mean.

    p

    the confidence level

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def tally(value: Double): Unit

    Add the given value in the next index position in the batched vector.

    Add the given value in the next index position in the batched vector.

    value

    the given value to add

  25. def toString(): String

    Convert the batched vector into a string showing each of the batches.

    Convert the batched vector into a string showing each of the batches.

    Definition Classes
    BatchVector → AnyRef → Any
  26. def uncorrelated(threshold: Double = .2): Boolean

    Determine whether the batches are sufficiently uncorrelated.

    Determine whether the batches are sufficiently uncorrelated.

    threshold

    the cut-off value to be considered uncorrelated

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

Inherited from AnyRef

Inherited from Any

Ungrouped