normfit
Normal parameter estimates
Syntax
Description
[___] = normfit(
specifies whether each value inx
,alpha
,censoring
)x
is right-censored or not. Use the logical vectorcensoring
in which 1 indicates observations that are right-censored and 0 indicates observations that are fully observed. With censoring,muHat
andsigmaHat
are the maximum likelihood estimates (MLEs).
Examples
Input Arguments
Output Arguments
Algorithms
To compute the confidence intervals,normfit
uses the exact method for uncensored data and the Wald method for censored data. The exact method provides exact coverage for uncensored samples based ontand chi-square distributions.
Alternative Functionality
normfit
is a function specific to normal distribution. Statistics and Machine Learning Toolbox™ also offers the generic functionsmle
,fitdist
, andparamci
and theDistribution Fitterapp, which support various probability distributions.
mle
returns MLEs and the confidence intervals of MLEs for the parameters of various probability distributions. You can specify the probability distribution name or a custom probability density function.Create a
NormalDistribution
probability distribution object by fitting the distribution to data using thefitdist
function or theDistribution Fitterapp. The object propertiesmu
andsigma
store the parameter estimates. To obtain the confidence intervals for the parameter estimates, pass the object toparamci
.
References
[1] Evans, M., N. Hastings, and B. Peacock.Statistical Distributions. 2nd ed. Hoboken, NJ: John Wiley & Sons, Inc., 1993.
[2] Lawless, J. F.Statistical Models and Methods for Lifetime Data. Hoboken, NJ: Wiley-Interscience, 1982.
[3] Meeker, W. Q., and L. A. Escobar.Statistical Methods for Reliability Data. Hoboken, NJ: John Wiley & Sons, Inc., 1998.
Extended Capabilities
Version History
Introduced before R2006a