StatisticXY

class StatisticXY(name: String? = "Statistic_") : IdentityIfc

Constructors

Link copied to clipboard
constructor(name: String? = "Statistic_")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Assuming a linear fit between X and Y, this returns the adjusted R-squared value

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Assuming a linear fit between X and Y, this returns the coefficient of determination of the fit

Link copied to clipboard

The (Pearson) correlation between X and Y

Link copied to clipboard

The number of pairs presented to the collect methods

Link copied to clipboard

The covariance between X and Y

Link copied to clipboard
open override val id: Int
Link copied to clipboard

Assuming a linear fit between X and y, this returns the estimated intercept term

Link copied to clipboard

Assuming a linear fit between X and Y, this returns the std error of the intercept term

Link copied to clipboard
open override var label: String?
Link copied to clipboard

Assuming a linear fit between X and Y, this returns the mean squared error of the residuals of the fit

Link copied to clipboard
open override val name: String
Link copied to clipboard

the average x divided by average y

Link copied to clipboard

the std error of the ratio of X over Y

Link copied to clipboard

the variance of the ratio of X over Y

Link copied to clipboard

Assuming a linear fit between X and Y, this returns the estimated slope.

Link copied to clipboard

Assuming a linear fit between X and y, this returns the std error of the estimated slope.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Assuming a linear fit between X and Y, this returns the sum of squared error total of the fit

Link copied to clipboard

Assuming a linear fit between X and Y, this returns the sum of squared error of the regression of the fit

Link copied to clipboard

Assuming a linear fit between X and Y, this returns the sum of squared error of the residuals of the fit

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun collectXY(x: Double, y: Double)

Collects statistics on the presented pair

Convenience method for collecting over the arrays. The arrays must be of the same size.

Link copied to clipboard
Link copied to clipboard
fun reset()
Link copied to clipboard
open override fun toString(): String