Normal Distribution Function

Hello all,

Is there a way to use the normal distribution in C#
For example by loading a statistics-library

I would like to be able to calculate the overlap between two different normal-distributions (with different means and deviations).
Or else the intersection point between these two distribution functions

Thanks in advance,

Jaldert



Answer this question

Normal Distribution Function

  • nightsoul94r

    You can take a look at the Math class if you want to implement the calculation. There are some extended Math Libraries, you should find them easy on the net, but if you know the sums you can implement them yourself with the standart Math class.


  • alsanal

    Must be a very tough question to answer ;)

    Jaldert

  • Brent Mills

    For question 1, there is not standart control that can produce distribution charts. You can take a look at the Chart section on Component Source: Charting and Graphing .NET Components.

    For question 2, i'm not a Math master, but there should be default calculations for that.


  • Dr. Borts

    I don't understand you question, can you be more specific


  • justintime

    Thanks for the quick reply,

    I'll try to sort question 2 out with my statistics-teacher, then ;)

    With question 1, however, I didn't mean to draw a chart directly (I'm thinking of exporting the data to a file and then to Excel, or something else).

    What I wanted was a control or function with which I could calculate the surface area (as in, returning a number). This is almost standard on most advanced calculators, and there are freeware packages for Java to do this.

    Isn't there something like that for C# A 'Normal distribution'-library, or something

  • Alex Calugarescu

    Well, it'actually 2 questions.

    1: is there a library for the statistical function "a normal distribution"

    Here's a picture of one:
    http://www.tushar-mehta.com/excel/charts/normal_distribution/images/normal3.gif

    This library should be able to calculate the surface under this distribution at a certain value.

    2: is there a way within this library to calculate the overlap between two intersecting 'normal distributions' (imagine one normal distribution halfway over another, they cover a certain area together)

    I know for sure that there is a Java-library for this, so it is possible. But is there also a C# library

    Thanks in advance!

    Jaldert

  • Normal Distribution Function