1

カイ二乗分布に非中心性パラメーター ラムダがある特定のしきい値 t について、検出漏れの確率を計算する必要があります。

ブースト確率の面白さを理解しようとしましたが、これまでのところうまくいくものは思いつきませんでした。

boost::math::non_central_chi_squared mydist(n, lambda);
boost::math::cdf(mydist, t); // probability that value is taken less than or equal
boost::math::cdf(complement(mydist, t)); // probability that value is taken greater or equal

ピックが t より下または上である確率を与えます。

p特定の確率をしきい値に逆マッピングするにはどうすればよいtですか?

4

1 に答える 1

1
boost::math::chi_squared mydist(n);
x = boost::math::qunatile(complement(mydist, pfa));


boost::math::non_central_chi_squared mydist(n, lambda);
y = boost::math::quantile(mydist, pmd);

どこpfaで 誤報pmdの確率と検出漏れの確率

于 2015-01-11T13:38:15.970 に答える