FUNCTION REFERENCE

prob.HalfNormalDistribution

Half-normal probability distribution object returned by makedist('HalfNormal', ...) or fitdist(x, 'HalfNormal').

Half-normal probability distribution object returned by makedist('HalfNormal', ...) or fitdist(x, 'HalfNormal').

Syntax

pd = makedist('HalfNormal', 'mu', mu, 'sigma', sigma)

Stores location mu and scale sigma for the folded normal distribution on [mu, Inf). Supports pdf, cdf, icdf, random, mean, std, var, median, paramci and negloglik.

Example

pd = makedist('HalfNormal', 'mu', 0, 'sigma', 1); class(pd)   % 'prob.HalfNormalDistribution'

Differences from MATLAB: Truncation via truncate() is not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.