stats

package
v0.0.0-...-4f40efb Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

various statistical routines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(list []float64) (abs []float64)

func AbsSum

func AbsSum(list []float64) float64

func EffectiveNumber

func EffectiveNumber(weights []float64) float64

func GetLogRange

func GetLogRange(min, max float64, n int) (out []float64)

func Max

func Max(list []float64) float64

func Mean

func Mean(list []float64) float64

func MeanVariance

func MeanVariance(list []float64) (mean float64, variance float64)

func Median

func Median(inPlace bool, list []float64) float64

median by sort, boolean controls whether sort is done in place or on a copy

func Min

func Min(list []float64) float64

func Negate

func Negate(list []float64) (out []float64)

func Percentile

func Percentile(inPlace bool, list []float64, fraction float64) float64

continuous non-decreasing output vs fraction input

func RSquared

func RSquared(y, f []float64) float64

func RemoveNaNsAndInfs

func RemoveNaNsAndInfs(list []float64) (cleaned []float64)

func Sd

func Sd(list []float64) float64

func SquareSum

func SquareSum(list []float64) float64

func Sum

func Sum(list []float64) float64

func Variance

func Variance(list []float64) float64

Types

type Tool

type Tool struct {
}

func (*Tool) Description

func (m *Tool) Description() string

func (*Tool) Name

func (m *Tool) Name() string

func (*Tool) Run

func (*Tool) Run(args []string)

Jump to

Keyboard shortcuts

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