Module org.jooq
Package org.jooq.impl

Interface QOM.RegrR2

All Superinterfaces:
AggregateFilterStep<BigDecimal>, AggregateFunction<BigDecimal>, Field<BigDecimal>, FieldOrConstraint, FieldOrRow, GroupField, Named, OrderField<BigDecimal>, QueryPart, SelectField<BigDecimal>, SelectFieldOrAsterisk, Serializable, Typed<BigDecimal>, WindowBeforeOverStep<BigDecimal>, WindowOverStep<BigDecimal>
Enclosing class:
QOM

public static interface QOM.RegrR2 extends AggregateFunction<BigDecimal>
The REGR R2 function.

Calculate the coefficient of determination. This standard SQL function may be supported natively, or emulated using #sum(Field) and #count(Field). If an emulation is applied, beware of the risk of "Catastrophic cancellation" in case the calculations are performed using floating point arithmetic.