blob: 644b399b1c0acb8cbacb9e88a0f486fd71696cdc [file] [log] [blame]
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package stats implements several statistical distributions,
// hypothesis tests, and functions for descriptive statistics.
// Currently stats is fairly small, but for what it does implement, it
// focuses on high quality, fast implementations with good, idiomatic
// Go APIs.
package stats // import ""
import (
var inf = math.Inf(1)
var nan = math.NaN()
// TODO: Put all errors in the same place and maybe unify them.
var (
ErrSamplesEqual = errors.New("all samples are equal")