public static double a(statistics design1, statistics design2) { try { return(cov(design1, design2) / (Math.Pow(design2.s(), 2))); } catch (Exception) { return(double.NaN); } }
public static double r(statistics design1, statistics design2) { try { return(cov(design1, design2) / (design1.s() * design2.s())); } catch (Exception) { return(double.NaN); } }
public double a(statistics design) { try { return(this.cov(design) / (Math.Pow(design.s(), 2))); } catch (Exception) { return(double.NaN); } }
public double r(statistics design) { try { return(this.cov(design) / (this.s() * design.s())); } catch (Exception) { return(double.NaN); } }