norminv to solve for sigma

How can i use norminv to solve for sigma? I have a problem where i have the x value, the mu value and the p value but i need to solve for sigma in MATLAB

Answers (1)

Torsten
Torsten on 24 Jan 2019
x = ...;
mu = ...;
p = ...;
sigma0 = 1.0;
sigma = fzero(@(y)normcdf(x,mu,y)-p,sigma0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Asked:

on 24 Jan 2019

Answered:

on 24 Jan 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!