2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 13:33:13 +00:00
This commit is contained in:
2022-10-29 17:53:06 +03:00
parent a645946a18
commit 584cd458de
15 changed files with 499 additions and 4 deletions

View File

@ -38,7 +38,7 @@ namespace Esiur.Analysis.Statistics
public static double Correlation(this double[] x, double[] y)
{
return x.Covariance(y) / (x.StdDiv() * y.StdDiv());
return Covariance(x, y) / (StdDiv(x) * StdDiv(y));
}
}
}