Statistics Toolbox
  Go to function:
    Search    Help Desk 
normfit    Examples   See Also

Parameter estimates and confidence intervals for normal data.

Syntax

Description

[muhat,sigmahat,muci,sigmaci] = normfit(X) returns estimates, muhat and sigmahat, of the parameters, µ and , of the normal distribution given the matrix of data, X. muci and sigmaci are 95% confidence intervals. muci and sigmaci have two rows and as many columns as the data matrix, X. The top row is the lower bound of the confidence interval and the bottom row is the upper bound.

[muhat,sigmahat,muci,sigmaci] = normfit(X,alpha) gives estimates and 100(1-alpha) percent confidence intervals. For example, alpha = 0.01 gives 99% confidence intervals.

Example

In this example the data is a two-column random normal matrix. Both columns have µ = 10 and = 2. Note that the confidence intervals below contain the "true values."

See Also

betafit, binofit, expfit, gamfit, poissfit, unifit, weibfit
  

[ Previous | Help Desk | Next ]