stats

package
v0.0.0-...-c5f678a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Average

type Average struct {
	Count, Mean float64
	Var, StdDev float64
	// contains filtered or unexported fields
}

Running mean and stddev as per http://www.johndcook.com/blog/standard_deviation/

func (*Average) Add

func (s *Average) Add(x float64)

func (*Average) HTML

func (s *Average) HTML() template.HTML

type EMA

type EMA float64

Calc exponentional moving average

func (EMA) Add

func (e EMA) Add(val, n float64) float64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL