stats

package
v0.0.0-...-7c88ac1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package stats currentelly only implements a welch's t-test for importance score analysis in CloudForest.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MeanAndVar

func MeanAndVar(X *[]float64) (m, v, n float64)

MeanAndVar returns the sample mean, variance and count as float64's.

func Ttest

func Ttest(A, B *[]float64) (p, t, v, am float64)

Ttest performs a Welch's t test and returns p-value, t-value and the degrees of freedom. The p value based on the hypothesis that mean(B)>mean(A). Based on similar code in rf-ace (Apache 2.0, Timo Erkkilä)

Types

This section is empty.

Jump to

Keyboard shortcuts

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