ConfidenceInterval:

Path: Math/Probability

% Computes the confidence interval.
   The probability that the value of a random variable will fall
   within the specified interval f.
--------------------------------------------------------------------------
   Form:
   c = ConfidenceInterval( x, f, sigma )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x               (1,:)    Samples
   f               (1,1)    Fraction
   sigma           (1,1)    Known standard deviation

   -------
   Outputs
   -------
   c               (1,1)    Confidence

--------------------------------------------------------------------------
   Reference: de Silva, C. W. "Control Sensors and Actuators,"
   Prentice-Hall, 1989, pp. 64-66.
--------------------------------------------------------------------------

Children:

Math: Probability/GaussianCPDF

Back to the Math Module page