-1
我想知道我可以計算一個數正態分佈,這樣在C#:計算正態分佈的Android工作室
double result = Chart1.DataManipulator.Statistics.NormalDistribution(1.96);
我搜索,我發現了大約一個nextGaussian的事情,但我不能瞭解它與正態分佈函數的關係。
由於
我想知道我可以計算一個數正態分佈,這樣在C#:計算正態分佈的Android工作室
double result = Chart1.DataManipulator.Statistics.NormalDistribution(1.96);
我搜索,我發現了大約一個nextGaussian的事情,但我不能瞭解它與正態分佈函數的關係。
由於
我不熟悉的特定C#包,但apache的commons math package具有用於容易地計算不同的概率分佈,其中包括標準正態分佈函數的廣泛支持。
NormalDistribution ndist=new NormalDistribution(); double result=ndist.cumulativeProbability(1.96);
是啊,我下載了,但我找不到如何在Android Studio中使用它......你能幫助?謝謝@kasperjj – Lucas
添加:「編譯組:'org.apache.commons',名稱:'commons-math',版本:'2.2'」到您的gradle:請參閱http://mvnrepository.com/artifact/org.apache .commons /公地數學/ 2.2 –