Corr_partial
偏相关系数,返回x和y在控制变量z下的偏相关系数,行为样本,列为指标
范例(t):
[Code]
x := rand(100,3);
y := rand(100,2);
z := rand(100,2);
return Corr_partial(x,y,z,2…
Corr
范例(t):
A:=rand(3,4);
Return corr(A,1);//返回的是一般相关系数矩阵

输出结果:
[img type="tslx…
CorrelationMatrix
范例(t):
a := rand(4,3);
return CorrelationMatrix(a,1);

结果
[img type="tslxml…
Covariance
范例(t):
a := rand(4,3);
return Covariance(A);

结果
[img type="tslxml" fi…
Corrcoef
范例(t):
A:=rand(7,4);
Return corrcoef(A); //返回简单相关系数分析

输出结果:
[img type="ts…
Corr_partial
范例(t):
[Code]
x := rand(100,3);
y := rand(100,2);
z := rand(100,2);
return Corr_partial(x,y,z,2…