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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בספרייה זו?

העתק את השורה הבאה והדבק אותה בסקריפט שלך.