Liking cljdoc? Tell your friends :D

fastmath.ml.regression.contrast

Categorical data manipulation and various encoding methods.

Categorical data manipulation and various encoding methods.
raw docstring

->levelsclj

(->levels cs)
(->levels cs order)

Returns list of levels from given sequence of categorical values.

If order is passed it will be used as a reference.

Returns list of levels from given sequence of categorical values.

If `order` is passed it will be used as a reference.
sourceraw docstring

backward-differenceclj

(backward-difference levels)

Backward difference coding.

Compares reversed pairs of consecutive levels. Intercept is the mean of all levels.

Backward difference coding.

Compares reversed pairs of consecutive levels. Intercept is the mean of all levels.
sourceraw docstring

deviationclj

(deviation levels)

Deviation coding.

Compares each (but last) levels to the mean. Intercept is the mean of all levels.

Deviation coding.

Compares each (but last) levels to the mean. Intercept is the mean of all levels.
sourceraw docstring

differenceclj

(difference levels)

Backward difference coding.

Compares reversed pairs of consecutive levels. Intercept is the mean of the first level.

Backward difference coding.

Compares reversed pairs of consecutive levels. Intercept is the mean of the first level.
sourceraw docstring

dummyclj

(dummy [l0 & ls :as levels])

Dummy coding.

Compares each level to a reference (first) level. Intercept is the mean of the first level.

Dummy coding.

Compares each level to a reference (first) level. Intercept is the mean of the first level.
sourceraw docstring

forward-differenceclj

(forward-difference levels)

Forward difference coding.

Comperes pairs of consecutive levels. Intercept is the mean of all levels.

Forward difference coding.

Comperes pairs of consecutive levels. Intercept is the mean of all levels.
sourceraw docstring

helmertclj

(helmert levels)

Helmert coding.

Compares each (but last) levels to all following levels. Intercept is the mean of all levels.

Helmert coding.

Compares each (but last) levels to all following levels. Intercept is the mean of all levels.
sourceraw docstring

mean-contrastsclj

(mean-contrasts coding)
(mean-contrasts {:keys [names levels mapping]} approx?)

Returns mean contrasts for given coding scheme.

If approx? is true or a number, approximate values to given number of decimal digits (default: true)

Returns mean contrasts for given coding scheme.

If `approx?` is true or a number, approximate values to given number of decimal digits (default: `true`)
sourceraw docstring

polynomialclj

(polynomial levels)

Orthonormal polynomials coding.

n-1 orthonormal polynomials. Intercept is the mean of all levels.

Orthonormal polynomials coding.

n-1 orthonormal polynomials. Intercept is the mean of all levels.
sourceraw docstring

reverse-helmertclj

(reverse-helmert levels)

Reverse Helmert coding.

Compares each (but first) levels to all preceding levels. Intercept is the mean of all levels.

Reverse Helmert coding.

Compares each (but first) levels to all preceding levels. Intercept is the mean of all levels.
sourceraw docstring

simpleclj

(simple [l0 & ls :as levels])

Simple coding.

Compares each level to a reference (first) level. Intercept is the mean of all levels.

Simple coding.

Compares each level to a reference (first) level. Intercept is the mean of all levels.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close