Main Content

Half-Normal Distribution

Fit, evaluate, and generate random samples from half-normal distribution

Statistics and Machine Learning Toolbox™ offers multiple ways to work with the half-normal distribution.

  • Create a HalfNormalDistribution object and use HalfNormalDistribution object functions.

  • Use the generic distribution functions with the specified distribution name "Half Normal" and corresponding parameters.

To learn about the half-normal distribution, see Half-Normal Distribution.

Functions

expand all

makedistCreate probability distribution object
fitdistFit probability distribution object to data
distributionFitterOpen Distribution Fitter app
cdfCumulative distribution function
gatherGather properties of Statistics and Machine Learning Toolbox object from GPU (Since R2020b)
icdfInverse cumulative distribution function
iqrInterquartile range of probability distribution
meanMean of probability distribution
medianMedian of probability distribution
negloglikNegative loglikelihood of probability distribution
paramciConfidence intervals for probability distribution parameters
pdfProbability density function
plotPlot probability distribution object (Since R2022b)
proflikProfile likelihood function for probability distribution
randomRandom numbers
stdStandard deviation of probability distribution
truncateTruncate probability distribution object
varVariance of probability distribution
cdfCumulative distribution function
icdfInverse cumulative distribution function
pdfProbability density function
randomRandom numbers
mleMaximum likelihood estimates

Objects

HalfNormalDistributionHalf-normal probability distribution object

Topics

  • Half-Normal Distribution

    The half-normal distribution is a special case of the folded normal and truncated normal distributions.