生起確率

ちょっとメモ

public static double PrRatioChiPrExPrAllDF(double[][] d){ int df=(d.length-1)*(d[0].length-1); System.out.println("df=\t"+df+"\t"); //(ExPr/ChiPr) double ret = 1; double chi=Chi.chi(d); if(chi!=0){ double chiPr=0; double expr=0; double chi…

数値の精度

コンピュータによる数値計算における精度のこと。 浮動小数点のことなどあり、計算結果に誤差が出る話し。Mathematicaを用いて計算していたところ、任意精度という概念を採用していることはこちらに書いた。Mathematicaはを『1を3等分したもの』という形で…