RicardoSantos

MathStatisticsKernelFunctions

Library "MathStatisticsKernelFunctions"
TODO: add library description here

uniform(distance, bandwidth) Uniform kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

triangular(distance, bandwidth) Triangular kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

epanechnikov(distance, bandwidth) Epanechnikov kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

quartic(distance, bandwidth) Quartic kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

triweight(distance, bandwidth) Triweight kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

tricubic(distance, bandwidth) Tricubic kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

gaussian(distance, bandwidth) Gaussian kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

cosine(distance, bandwidth) Cosine kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

logistic(distance, bandwidth) logistic kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

sigmoid(distance, bandwidth) Sigmoid kernel.
Parameters:
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.

select(kernel, distance, bandwidth) Kernel selection method.
Parameters:
  • kernel: string, kernel to select. (options="uniform", "triangle", "epanechnikov", "quartic", "triweight", "tricubic", "gaussian", "cosine", "logistic", "sigmoid")
  • distance: float, distance to kernel origin.
  • bandwidth: float, default=1.0, bandwidth limiter to weight the kernel.
Returns: float.
ספריית Pine

ברוח TradingView אמיתית, המחבר פרסם את קוד Pine זה כספריית קוד פתוח כך שמתכנתי Pine אחרים מהקהילה שלנו יוכלו לעשות בו שימוש חוזר. כל הכבוד למחבר! אתה יכול להשתמש בספרייה זו באופן פרטי או בפרסומים אחרים בקוד פתוח, אך השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

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

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