Click or drag to resize
sqx

sqx Namespace

SQX Structured Query Matrix for SQL Server

Abstract

SQX provides scalar functions, table functions, aggregate function, store procedures and data types all under sqx schema.
Classes do not exists in SQL Server, they are just a way to classify functions and procedures.
Structures are aggregate functions or data types.

NOTE: Aggregate Functions can be used in GROUP BY, HAVING and PIVOT clause.
Classes
  ClassDescription
Public classConfusionMatrix
Confusion Matrix functions
Public classHyperbolic
Hyperbolic functions
Public classProbability
Probability functions
Public classRegularExpressions
Regular Expressions functions
Public classSQX
Structured Query Matrix for SQL Server
Public classTrigonometric
Trigonometric functions
Structures
  StructureDescription
Public structureCode exampleALLVALUES
Aggregate [bit] ALLVALUES([sql_variant] Value)
Public structureBINS
Aggregate [int] BINS([float] Value)
Public structureContingencyData
Contingency Data Type
Public structureCode exampleCOUNTIF
Aggregate [bigint] COUNTIF([bit] Truth)
Public structureCode exampleCROSSTAB
Aggregate [ContingencyData] CROSSTAB([bit] Observed, [bit] Predicted)
Public structureCV
Aggregate [float] CV([float] Value, [bit] Population)
Public structureDEV
Aggregate [float] DEV([float] Value, [bit] Population, [smallint] Method)
Public structureCode exampleEMPIRICAL
Aggregate [EmpiricalData] EMPIRICAL([float] Value, [float] Target)
Public structureEmpiricalData
Empirical Data Type
Public structureENTROPY
Aggregate [float] ENTROPY([bit] Observed)
Public structureENTROPYC
Aggregate [float] ENTROPYC([bit] Observed, [float] YValue, [float] XValue)
Public structureENTROPYJ
Aggregate [float] ENTROPYJ([bit] Observed, [float] XValue, [float] YValue)
Public structureENTROPYX
Aggregate [float] ENTROPYX([bit] Observed, [float] Value)
Public structureCode exampleFIVESUM
Aggregate [Vector] FIVESUM([float] Value, [smallint] Method)
Public structureCode exampleFREQUENCY
Aggregate [bigint] FREQUENCY([float] Value, [float] Target)
Public structureCode exampleGE
Aggregate [float] GE([float] Value, [float] Alpha)
Public structureGINI
Aggregate [float] GINI([float] Value)
Public structureGM
Aggregate [float] GM([float] Value)
Public structureGSD
Aggregate [float] GSD([float] Value)
Public structureHM
Aggregate [float] HM([float] Value)
Public structureCode exampleIDOFMAX
Aggregate [int] IDOFMAX([int] ID, [float] Value, [int] Position)
Public structureCode exampleIDOFMIN
Aggregate [int] IDOFMIN([int] ID, [float] Value, [int] Position)
Public structureIG
Aggregate [float] IG([bit] Observed, [float] Value)
Public structureIGR
Aggregate [float] IGR([bit] Observed, [float] Value)
Public structureIQM
Aggregate [float] IQM([float] Value, [smallint] Method)
Public structureIQR
Aggregate [float] IQR([float] Value, [smallint] Method)
Public structureKURTOSIS
Aggregate [float] KURTOSIS([float] Value, [bit] Population)
Public structureLARGE
Aggregate [float] LARGE([float] Value, [int] OrderStatistic)
Public structureLM
Aggregate [float] LM([float] value)
Public structureCode exampleLOGADDSUM
Aggregate [float] LOGADDSUM([float] LogValue)
Public structureMAE
Aggregate [float] MAE([float] Observed, [float] Predicted)
Public structureMAPE
Aggregate [float] MAPE([float] Observed, [float] Predicted)
Public structureCode exampleMatrix
Matrix Data Type
Public structureCode exampleMEAN
Aggregate [float] MEAN([float] Value)
Public structureCode exampleMEANDEV
Aggregate [Vector] MEANDEV([float] Value, [bit] Population)
Public structureMEDIAN
Aggregate [float] MEDIAN([float] Value)
Public structureCode exampleMI
Aggregate [float] MI([bit] Observed, [float] XValue, [float] YValue)
Public structureCode exampleMINMAX
Aggregate [Vector] MINMAX([float] Value)
Public structureMODE
Aggregate [float] MODE([float] Value, [smallint] Method)
Public structureCode exampleMOMENTS
Aggregate [Vector] MOMENTS([float] Value, [bit] Population)
Public structureMSE
Aggregate [float] MSE([float] Observed, [float] Predicted)
Public structureCode exampleNULLS
Aggregate [bigint] NULLS([sql_variant] Value)
Public structureCode examplePERCENTILE
Aggregate [float] PERCENTILE([float] Value, [float] Percentile, [smallint] Method)
Public structurePRODUCT
Aggregate [float] PRODUCT([float] Value)
Public structureQCD
Aggregate [float] QCD([float] Value, [smallint] Method)
Public structureCode exampleQUARTILE
Aggregate [float] QUARTILE([float] Value, [smallint] Quartile, [smallint] Method)
Public structureCode exampleRELFREQUENCY
Aggregate [float] RELFREQUENCY([float] Value, [float] Target)
Public structureRMS
Aggregate [float] sqm.RMS([float] Value)
Public structureCode exampleROBCOR
Aggregate [float] ROBCOR([float] X, [float] Y, [float] MeanX, [float] MeanY, [bit] Population)
Public structureCode exampleROBCOV
Aggregate [float] ROBCOV([float] X, [float] Y, [float] MeanX, [float] MeanY, [bit] Population)
Public structureCode exampleROBVAR
Aggregate [float] ROBVAR([float] X, [float] MeanX, [bit] Population)
Public structureSKEWNESS
Aggregate [float] SKEWNESS([float] Value, [bit] Population)
Public structureSMALL
Aggregate [float] SMALL([float] Value, [int] OrderStatistic)
Public structureCode exampleSOFTMAXSUM
Aggregate [Vector] SOFTMAXSUM([float] Value)
Public structureSUMIF
Aggregate [float] SUMIF([float] Value, [bit] Truth)
Public structureSUMLOGIF
Aggregate [float] SUMLOGIF([float] Value, [bit] Truth)
Public structureTRIMEAN
Aggregate [float] TRIMEAN([float] Value, [smallint] Method)
Public structureVector
Vector Data Type