How to solve standard normal distribution function for unknown variable.
조회 수: 3 (최근 30일)
이전 댓글 표시
Dear Friends! i am having a problem of solving a function for unknown variable as given below; β = - Ф-1 (Pf) where Ф-1=is the inverse standard normal distribution function. The β values are known and i want to find out the values of Pf in matlab. Need help urgently. Thanks!
댓글 수: 0
채택된 답변
Star Strider
2017년 8월 16일
It seems that your ‘beta’ values are actually z-scores, since the standard normal distribution requires two parameters, those being the mean and standard deviation. For the z-score, those are taken to be 0 and 1, respectively, since the z-score normalizes them.
This could be what you want:
Pf = normcdf(beta)
or perhaps:
Pf = normcdf(-beta)
or using the core MATLAB erf function:
Phi = @(beta) (1- erf(beta/sqrt(2)))/2;
Pf = Phi(beta)
Pf = Phi(-beta)
Without more information, it is difficult to determine the exact solution to your problem. See the documentation on Find Cumulative Distribution Function of Normal Distribution (link). The argument to the erf function in that section would be your ‘beta’ values.
That is my best guess.
댓글 수: 2
추가 답변 (1개)
Abdur Rasheed
2017년 8월 18일
편집: Abdur Rasheed
2017년 8월 18일
댓글 수: 1
Star Strider
2017년 8월 18일
I cannot work with your ‘.fig’ file. I cannot access the properties for the two different y-axes.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!