Example #1
0
 public override double GetCorrelation(TimeSeries series, DateTime dateTime1, DateTime dateTime2)
 {
     return(this.GetCovariance(series, dateTime1, dateTime2) / (this.GetStdDev(dateTime1, dateTime2) * series.GetStdDev(dateTime1, dateTime2)));
 }
Example #2
0
		public override double GetCorrelation(TimeSeries series, DateTime dateTime1, DateTime dateTime2)
		{
			return this.GetCovariance(series, dateTime1, dateTime2) / (this.GetStdDev(dateTime1, dateTime2) * series.GetStdDev(dateTime1, dateTime2));
		}
Example #3
0
 public override double GetCorrelation(TimeSeries series)
 {
     return(this.GetCovariance(series) / (this.GetStdDev() * series.GetStdDev()));
 }
Example #4
0
		public override double GetCorrelation(TimeSeries series)
		{
			return this.GetCovariance(series) / (this.GetStdDev() * series.GetStdDev());
		}