Documentation ¶
Index ¶
- func Blom(i, n float64) float64
- func FitDist(tx, ty *[]float64) (slope, intercept, rvalue float64)
- func Gringorten(i, n float64) float64
- func Hazen(i, n float64) float64
- func NewConstantTicks(n, prec int, min, max float64) plot.ConstantTicks
- func NewProbPlot(xs, pr *[]float64, w dist.Distribution) (*plot.Plot, error)
- func Weibull(i, n float64) float64
- type PlottingPosition
- type ScaleX
- type ScaleY
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FitDist ¶
FitDist calculate a linear least-squares regression for TransformX(x) and TransformY(y). You can use these linear parameters to compute distribution parameters.
func Gringorten ¶
Gringorten is Gringorten's plotting position.
func NewConstantTicks ¶
func NewConstantTicks(n, prec int, min, max float64) plot.ConstantTicks
NewConstantTicks returns custom Ticks suitable for the Tick.Marker field of an Axis.
func NewProbPlot ¶
NewProbPlot returns a probability plot for the given data and Distribution.
Types ¶
type PlottingPosition ¶
PlottingPosition represents a plotting position where i is the ordered rank of a sample value and n is the sample size.
func GetPlottingPosition ¶
func GetPlottingPosition(name string) PlottingPosition
GetPlottingPosition returns a PlottingPosition with given name.
type ScaleX ¶
ScaleX can be used as the value of an Axis.Scale function to set the x-axis to a custom probability scale.