Documentation
¶
Overview ¶
Package stat holds statistical tools for financial simulation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Description ¶
type Description struct {
// Max is the maximum value of the sample.
Max fin.Cents
// Min is the minimum value of the sample
Min fin.Cents
// Avg is the arithmetic average of the sample.
Avg fin.Cents
// Med is the median of the sample.
Med fin.Cents
// Std is the standard deviation of the sample.
Std fin.Cents
}
Description holds descriptive statistics to summarize a sample.
func Describe ¶
func Describe(cc []fin.Cents) Description
Describe generates a descriptive statistics.
Click to show internal directories.
Click to hide internal directories.