Updated
chi2Inv

More exclusive indicators from loxx
Subscribe to Algx Trading for $120.00/month to get exclusive indicators by this author. You pay right on TradingView and can use them on your charts straight away.
Explore Algx TradingLibrary "chi2Inv"
chi2Inv(p, n)
Returns the inverse cumulative distribution function (icdf) of the chi-square distribution with degrees of freedom nu, evaluated at the probability values in p. Goldstein approximation
Parameters:
p: float, probability
n: float, degress of freedom source.
Returns: float.
chi2Inv(p, n)
Returns the inverse cumulative distribution function (icdf) of the chi-square distribution with degrees of freedom nu, evaluated at the probability values in p. Goldstein approximation
Parameters:
p: float, probability
n: float, degress of freedom source.
Returns: float.
Release Notes
v2The V1 release was returning low quality output, this one matches the desired result as measured against Microsoft Excels functions CHISQ.INV and CHISQ.INV.RT
Updated:
chi2Inv(pin, deg, tail)
Returns the inverse of the right-tailed or left-tailed probability of the chi-squared distribution.
Parameters:
pin: float, probability
deg: float, degress of freedom.
tail: string, tail, either "r" for right or "l" for left
Returns: float.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.