daily pastebin goal
77%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             double ssqrt1 = Math.Sqrt(s1);
  2.             double ssqrt2 = Math.Sqrt(s2);
  3.             double nsqrt = Math.Sqrt(n);
  4.  
  5.             double ci1LowerBound = mean2d - 2.58 * (ssqrt1/nsqrt);
  6.             double ci1UpperBound = mean2d + 2.58 * (ssqrt1/nsqrt);
  7.  
  8.             double ci2LowerBound = mean3d - 2.58 * (ssqrt2/nsqrt);
  9.             double ci2UpperBound = mean3d + 2.58 * (ssqrt2/nsqrt);
  10.  
  11.             Console.WriteLine("Confidence interval for 2d = " + ci1LowerBound + " <= " + mean2d + " <= " + ci1UpperBound);
  12.             Console.WriteLine("Confidence interval for 3d = " + ci2LowerBound + " <= " + mean3d + " <= " + ci2UpperBound);
  13.             Console.ReadKey();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top