loxx

chi2Inv

loxx アップデート済   
Library "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.
リリースノート:
v2
The 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.

Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: www.patreon.com/algxtrading/membership
Pineライブラリ

TradingViewの精神に則り、作者はPineコードをオープンソースライブラリとして公開し、コミュニティの他のPineプログラマーが再利用できるようにしました。作者に敬意を表します!このライブラリを個人的に、または他のオープンソースの投稿で使用することができますが、、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

このライブラリを使用したいですか?

以下の行をコピーして、スクリプト内に貼り付けてください。