Statistics Toolbox
  Go to function:
    Search    Help Desk 
normpdf    Examples

Normal probability density function (pdf).

Syntax

Description

normpdf(X,MU,SIGMA) computes the normal pdf with parameters mu and SIGMA at the values in X. The arguments X, MU and SIGMA must all be the same size except that scalar arguments function as constant matrices of the common size of the other arguments.

The parameter SIGMA must be positive.

The normal pdf is:


The likelihood function is the pdf viewed as a function of the parameters. Maximum likelihood estimators (MLEs) are the values of the parameters that maximize the likelihood function for a fixed value of x.

The standard normal distribution has µ = 0 and = 1.

If x is standard normal, then x + µ is also normal with mean µ and standard deviation . Conversely, if y is normal with mean µ and standard deviation , then x = (y -µ)/ is standard normal.

Examples



[ Previous | Help Desk | Next ]