ʹܹõгֵֵķظ磺
? ۱ͻжԼ㱨гֵķظͻܼƷظκظ¼ͻһϵĶԸظijֿͻ
? Զз飨磬ԶԵʡз飩Լÿ飨ڱУΪÿʡзظͻĿκζһ϶ĿͻԼгֶεĿͻֻһΡ
? Զڻֵ飨磬Զ䷢·ݽз飩Ըڻֶеض仯ÿ飨ڱУΪÿ£зظͻĿͻһڷһϵĶÿͻظʵԡ
? ֵָļϣԼüзظֵĿüظֵֻһΡйַظϢμ ܺ
ʾ
ʾ Basic Crystal
DistinctCount({ͻ.})
ԡֶгֵIJͬʡݽмκظʡݡ
DistinctCount({ͻ.}, {ͻ.})
ÿʡвͬеĿ
DistinctCount({.ͻ ID}, {.}, \
ϵIJͬͻĿмϵˡÿڡֶеֵΪµʱͻз顣
ʾ Crystal
DistinctCount([1,3,5,3,2,5])
4зظֵĿмظֵԡ
ע⣺ ڹʽʹô˺ǿڴӡʱԹʽֵ
йֵʱ俼صϸϢμֵʱ䡣
ע
DistinctCount ֶзظֵĿмظֵԡ
Correlation
Basic Crystal
? ? ?
Correlation (fld, fld) Correlation (fld, fld, condFld) Correlation (fld, fld, condFld, cond)
? ? ?
fld κֵֶΡ
condFld ڶ fld еֵзʱݵֶΡ
cond DZ condFld ͵ַֻ condFld һڡʱ䡢ʱֶʱָ˲йش˲ЧַϸϢμܺ
С
ʹֶָܹεϵЩֶΰͬʽ仯ij̶ȣ磺
? ? ?
Լ㱨м¼ֶεϵ
Զij飨磬۰Եʡз飩ֵֶεϵ
Զֶλֶεı仯пƵ飨磬۰ɵ·ݽз飩ֵֶεϵ
ʾ
ʾ Basic Crystal
Correlation({ͻ.ͻ ID}, {ͻ. ID})
㡰ͻ ID͡ IDֶ֮ϵ
Correlation({.ͻ ID}, {. ID}, {ͻ.})
ÿġͻ ID͡ IDֶ֮ϵ
Correlation({.ͻ ID}, {. ID}, {ͻ.}, \
ÿÿֵġͻ ID͡ ID֮ϵ
ע⣺ ڹʽʹô˺ǿڴӡʱԹʽֵ
йֵʱ俼صϸϢμֵʱ䡣
ע
ϵδ壬ʱúԿֵ (0)ϵʼǽ -1 1 ֮һϵΪ 0Щֶβء Covariance
Basic Crystal
? ? ?
Covariance (fld, fld) Covariance (fld, fld, condFld) Covariance (fld, fld, condFld, cond)
? ? ?
fld ǿɺֵκֵֶΡ
condFld ڶ fld еֵзʱݵֶΡ
cond DZ condFld ͵ַֻ condFld һڡʱ䡢ʱֶʱָ˲йش˲ЧַϸϢμܺ
С
Covariance ЭdzɶԱԹϵĶֶһ仯ƣֶΰضѧϵ仯ʱЭġԲܳԲİ뾶Эġ
ʾ
ʾ Basic Crystal
Covariance({table.FIELD1}, {table.FIELD2})
ֶεЭСʽЭ
ע⣺ ڹʽʹô˺ǿڴӡʱԹʽֵ
йֵʱ俼صϸϢμֵʱ䡣
ע
Covariance ʹ·ģ
? ? ? ?
ÿĿƽֵֵ ÿĿֵмȥƽֵ ÿĿIJֵˡ
ó˷г˻ƽֵΪЭ
WeightedAverage
Basic Crystal
? ? ?
WeightedAverage (fld, fld) WeightedAverage (fld, fld, condFld) WeightedAverage (fld, fld, condFld, cond)
? ? ?
fld ǿɺֵκЧݿֶλʽֶΡ condFld ڶ fld еֵзʱݵֶΡ
cond DZ condFld ͵ַֻ condFld һڡʱ䡢ʱֶʱָ˲йش˲ЧַϸϢμܺ