Lucas Lucas - 5 months ago 50
Android Question

Calculate Normal Distribution Android Studio

i wanted to know how i can calculate the normal distribution of a number, like this in C#:

double result = Chart1.DataManipulator.Statistics.NormalDistribution(1.96);

I searched and I found about a nextGaussian thing, but I couldn't understand how that is related to the Normal Distribution function.



I'm not familiar with the specific C# package, but the apache commons math package has extensive support for easily calculating different probability distributions, including the standard normal distribution function.

NormalDistribution ndist=new NormalDistribution(); double result=ndist.cumulativeProbability(1.96);