f

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	D1 float64 = 1
	D2 float64 = 1

	Cmd = &cobra.Command{
		Use:   "f",
		Short: "generate samples from the F distribution",
		Long: `Generate samples from the F distribution.

.    d1=1         d1=5         d1=100
.    d2=1         d2=2         d2=100
0.0  ██████████▏  ██████████▏  ▏
0.5  ██▉          ████████▉    ██████████▏
1.0  █▊           █████▍       █████████▋
1.5  █▎           ███▋         ▌
2.0  ▉            ██▌          ▏
2.5  ▊            █▉           ▏
3.0  ▋            █▌           ▏
3.5  ▌            █▏           ▏
4.0  ▍            ▉            ▏
4.5  ▍            ▊            ▏

https://en.wikipedia.org/wiki/F_distribution`,
		RunE: func(command *cobra.Command, args []string) (err error) {
			return generate.Sample(distuv.F{
				D1: D1,
				D2: D2,
			})
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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