OpenBI Docs Buy

CHISQ.INV.RT

The value whose chi-squared right-tail probability is the one given.

Group: Statistics. Compatible with DAX.

Syntax

CHISQ.INV.RT ( <probability>, <deg_freedom> )
ParameterTypeDescription
probabilityNumberThe right-tail probability: above 0, at most 1.
deg_freedomWhole numberThe degrees of freedom, 1 or more; rounded to a whole number.

Returns

Number. The x above which the chi-squared distribution holds the given probability: a test's critical value.

Remarks

  • A statistic above CHISQ.INV.RT ( 0.05, df ) is significant at the 5 % level.
  • A probability of 1 gives 0; one of 0 or less, or above 1, is an error.

Examples

Critical values at 5 %

EVALUATE
ROW ( "1 df", CHISQ.INV.RT ( 0.05, 1 ), "5 df", CHISQ.INV.RT ( 0.05, 5 ) )
1 df5 df
3.8414588206941311.0704976935164

Three confidence levels, 3 degrees of freedom

EVALUATE
VAR Wanted = DATATABLE ( "Confidence", DOUBLE, { { 0.90 }, { 0.95 }, { 0.99 } } )
RETURN
    ADDCOLUMNS ( Wanted, "Critical value", CHISQ.INV.RT ( 1 - [Confidence], 3 ) )
ConfidenceCritical value
0.96.25138863117033
0.957.81472790325118
0.9911.3448667301444

CHISQ.INV, CHISQ.DIST.RT, T.INV.2T.

Last updated · OpenBI Studio 0.3.74