Exemplo n.º 1
0
        /// <summary>
        /// compute the "a" factor of the linear function of design2
        /// </summary>
        /// <param name="design1"></param>
        /// <param name="design2"></param>
        /// <returns></returns>
        public static double a(NuGenStatistics design1, NuGenStatistics design2)
        {
            try
            {
                return(cov(design1, design2) / (Math.Pow(design2.s(), 2)));
            }

            catch (Exception)
            {
                return(double.NaN);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// compute the "a" factor of the linear function of design
        /// </summary>
        /// <param name="design"></param>
        /// <returns></returns>
        public double a(NuGenStatistics design)
        {
            try
            {
                return(this.cov(design) / (Math.Pow(design.s(), 2)));
            }

            catch (Exception)
            {
                return(double.NaN);
            }
        }
Exemplo n.º 3
0
        /// <summary>
        /// compute the correlation coefficient
        /// </summary>
        /// <param name="design1"></param>
        /// <param name="design2"></param>
        /// <returns></returns>
        public static double r(NuGenStatistics design1, NuGenStatistics design2)
        {
            try
            {
                return(cov(design1, design2) / (design1.s() * design2.s()));
            }

            catch (Exception)
            {
                return(double.NaN);
            }
        }
Exemplo n.º 4
0
        /// <summary>
        /// compute the correlation coefficient
        /// </summary>
        /// <param name="design"></param>
        /// <returns></returns>
        public double r(NuGenStatistics design)
        {
            try
            {
                return(this.cov(design) / (this.s() * design.s()));
            }

            catch (Exception)
            {
                return(double.NaN);
            }
        }
Exemplo n.º 5
0
        /// <summary>
        /// compute the "a" factor of the linear function of design2
        /// </summary>
        /// <param name="design1"></param>
        /// <param name="design2"></param>
        /// <returns></returns>
        public static double a(NuGenStatistics design1, NuGenStatistics design2)
        {

            try
            {
                return cov(design1, design2) / (Math.Pow(design2.s(), 2));
            }

            catch (Exception)
            {
                return double.NaN;
            }
        }
Exemplo n.º 6
0
        /// <summary>
        /// compute the "a" factor of the linear function of design
        /// </summary>
        /// <param name="design"></param>
        /// <returns></returns>
        public double a(NuGenStatistics design)
        {

            try
            {
                return this.cov(design) / (Math.Pow(design.s(), 2));
            }

            catch (Exception)
            {
                return double.NaN;
            }
        }
Exemplo n.º 7
0
        /// <summary>
        /// compute the correlation coefficient
        /// </summary>
        /// <param name="design1"></param>
        /// <param name="design2"></param>
        /// <returns></returns>
        public static double r(NuGenStatistics design1, NuGenStatistics design2)
        {

            try
            {
                return cov(design1, design2) / (design1.s() * design2.s());
            }

            catch (Exception)
            {
                return double.NaN;
            }
        }
Exemplo n.º 8
0
        /// <summary>
        /// compute the correlation coefficient
        /// </summary>
        /// <param name="design"></param>
        /// <returns></returns>
        public double r(NuGenStatistics design)
        {

            try
            {
                return this.cov(design) / (this.s() * design.s());
            }

            catch (Exception)
            {
                return double.NaN;
            }
        }