Documentation API of the 'jhplot.math.num.pdf.Normal' Java class
Normal
jhplot.math.num.pdf

## Class Normal

• All Implemented Interfaces:
Distribution

`public class Normalextends ContinuousDistribution`

The Normal distribution (1).

References:

1. Eric W. Weisstein. "Normal Distribution." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Normal.html

• ### Constructor Summary

Constructors
Constructor and Description
`Normal()`
Default constructor.
`Normal(double m, double s)`
Create a distribution with the given mean and standard deviation.
• ### Method Summary

All Methods
Modifier and TypeMethod and Description
`double``cumulativeProbability(double x)`
The CDF for this distribution.
`double``getMean()`
Access the mean.
`double``getStandardDeviation()`
Access the standard deviation.
`double``inverseCumulativeProbability(double p)`
The inverse CDF for this distribution.
`void``setMean(double m)`
Modify the mean.
`void``setStandardDeviation(double std)`
Modify the standard deviation.
• ### Methods inherited from class java.lang.Object

`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
• ### Constructor Detail

• #### Normal

`public Normal()`
Default constructor. Mean is set to zero and standard deviation is set to one.
• #### Normal

`public Normal(double m,              double s)`
Create a distribution with the given mean and standard deviation.
Parameters:
`m` - the mean.
`s` - the standard deviation.
• ### Method Detail

• #### cumulativeProbability

`public double cumulativeProbability(double x)                             throws NumericException`
The CDF for this distribution. This method returns P(X < x).
Specified by:
`cumulativeProbability` in class `ContinuousDistribution`
Parameters:
`x` - the value at which the CDF is evaluated.
Returns:
CDF for this distribution.
Throws:
`NumericException` - if the cumulative probability can not be computed.
• #### getMean

`public double getMean()`
Access the mean.
Returns:
the mean.
• #### getStandardDeviation

`public double getStandardDeviation()`
Access the standard deviation.
Returns:
the standard deviation.
• #### inverseCumulativeProbability

`public double inverseCumulativeProbability(double p)                                    throws NumericException`
The inverse CDF for this distribution. This method returns x such that, P(X < x) = p.
Specified by:
`inverseCumulativeProbability` in class `ContinuousDistribution`
Parameters:
`p` - the cumulative probability.
Returns:
x
Throws:
`NumericException` - if the inverse cumulative probability can not be computed.
• #### setMean

`public void setMean(double m)`
Modify the mean.
Parameters:
`m` - the new mean value.
• #### setStandardDeviation

`public void setStandardDeviation(double std)`
Modify the standard deviation.
Parameters:
`std` - The new standard deviation value.

DMelt 1.2 © DataMelt by jWork.ORG

Normal
jhplot.math.num.pdf

## Class Normal

• All Implemented Interfaces:
Distribution

`public class Normalextends ContinuousDistribution`

The Normal distribution (1).

References:

1. Eric W. Weisstein. "Normal Distribution." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Normal.html

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.