how can i get an inverse normal distribution probability function value?

Illustration
Mir Reza Negahban Alvar - 2022-07-20T14:41:13+00:00
Question: how can i get an inverse normal distribution probability function value?

what is its code in MATLAB?

Expert Answer

Profile picture of Neeta Dsouza Neeta Dsouza answered . 2025-11-20

If you have the Statistics and Machine Learning Toolbox -- Inverse Gaussian Distribution.

For example,

 

pd = makedist('InverseGaussian');
x = 0:0.1:5;
y = pd.pdf(x)
figure; plot(x,y,'.')

 

 

 

distribution

 

 

y = normpdf(x) returns the probability density function (pdf) of the standard normal distribution, evaluated at the values in x.

For example

Compute the pdf values for the standard normal distribution at the values in x.

x = [-2,-1,0,1,2];
y = normpdf(x)

y = 1×5

    0.0540    0.2420    0.3989    0.2420    0.0540




Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!