Skip to content

Latest commit

 

History

History
59 lines (35 loc) · 2.25 KB

Excel.WorksheetFunction.ChiInv.md

File metadata and controls

59 lines (35 loc) · 2.25 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
WorksheetFunction.ChiInv method (Excel)
vbaxl10.chm137179
vbaxl10.chm137179
Excel.WorksheetFunction.ChiInv
10b89d77-bc9f-80b0-dc31-f90c50f7e580
05/22/2019
medium

WorksheetFunction.ChiInv method (Excel)

Returns the inverse of the one-tailed probability of the chi-squared distribution.

Important

This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. This function is still available for compatibility with earlier versions of Excel. However, if backward compatibility is not required, you should consider using the new functions from now on, because they more accurately describe their functionality.

For more information about the new functions, see the ChiSq_Inv_RT and ChiSq_Inv methods.

Syntax

expression.ChiInv (Arg1, Arg2)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data type Description
Arg1 Required Double A probability associated with the chi-squared distribution.
Arg2 Required Double The number of degrees of freedom.

Return value

Double

Remarks

If probability = ChiDist(x,...), then ChiInv(probability,...) = x. Use this function to compare observed results with expected ones to decide whether your original hypothesis is valid.

If either argument is nonnumeric, ChiInv generates an error.

If probability < 0 or probability > 1, ChiInv generates an error.

If degrees_freedom is not an integer, it is truncated.

If degrees_freedom < 1 or degrees_freedom ≥ 10^10, ChiInv generates an error.

Given a value for probability, ChiInv seeks that value x such that ChiDist(x, degrees_freedom) = probability. Thus, precision of ChiInv depends on precision of ChiDist. ChiInv uses an iterative search technique. If the search has not converged after 64 iterations, the function generates an error.

[!includeSupport and feedback]