求正态分布标准差σ
資深大佬 : fuxinya 2
已知某正态分布μ=550, 落在 518~560 区间的累计概率为 80%, 求σ
有没有大神给出求解公式?
或使用Java求解
大佬有話說 (12)
已知某正态分布μ=550, 落在 518~560 区间的累计概率为 80%, 求σ
有没有大神给出求解公式?
或使用Java求解
直接查表倒着算?
https://zh.wikipedia.org/zh-cn/%E6%AD%A3%E6%80%81%E5%88%86%E5%B8%83
这个是要解的方程。在你的问题里,mu=550,l=518,r=560,p=0.8
G[x_] := CDF[NormalDistribution[550, sigma], x];
FindRoot[G[560] – G[518] == 0.8 , {sigma, 1}]
解出来 sigma=11.7233
% cdfeq function
function output = cdfeq( sigma)
% 方程: f(sigma) – 0.8 = 0
output = normcdf(560, 550, sigma) – normcdf(518, 550, sigma) – 0.8;
end