final case class Counts(min: Double, max: Double, sum: Double, sqrdif: Double, num: Long, pool: Int) extends Product with Serializable
Statistics for a given variable or sub-set of a variable.
Mean and standard deviation are provided on the fly by methods mean and stddev.
Multiple counts can be combined using the combineWith method.
- min
the minimum value of the (non-NaN) data points
- max
the maximum value of the data points
- sum
the sum across all data points
- sqrdif
the sum of the squares of the differences between the data points and their mean
- num
the number of (non-NaN) data points accounted for
- pool
the number of counts which have been combined in this count (1 for a single count). this is needed for the pooled standard deviation
- Alphabetic
- By Inheritance
- Counts
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Counts(min: Double, max: Double, sum: Double, sqrdif: Double, num: Long, pool: Int)
- min
the minimum value of the (non-NaN) data points
- max
the maximum value of the data points
- sum
the sum across all data points
- sqrdif
the sum of the squares of the differences between the data points and their mean
- num
the number of (non-NaN) data points accounted for
- pool
the number of counts which have been combined in this count (1 for a single count). this is needed for the pooled standard deviation
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def combineWith(that: Counts): Counts
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPooled: Boolean
- val max: Double
- def mean: Double
- val min: Double
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val num: Long
- val pool: Int
- val sqrdif: Double
-
def
stddev: Double
For a single count, the standard deviation, for a pooled count, the pooled standard deviation.
For a single count, the standard deviation, for a pooled count, the pooled standard deviation.
See http://en.wikipedia.org/wiki/Pooled_variance
- val sum: Double
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Counts → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )