Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Testing for Normality - Chi-squared goodness-of-fit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Testing for Normality - Chi-squared goodness-of-fit

    I'm needing to test a data series, say the last 100 closing values, for its conformity to a normal distribution. My purpose for doing this is to scan for balance areas in a time-volume profile.

    I am considering using a Chi-squared goodness of fit test, however the programming of this looks quite daunting to me.

    I'm just wondering if there are any native functions for statistical testing of normality? I've searched the MSDN Library and I came up with nothing.

    Alternatively, has anyone already programmed such a test who might care to post it?

    Cheers,
    C.C.

    #2
    >> I'm just wondering if there are any native functions for statistical testing of normality?
    None I'm aware of.

    Comment


      #3
      That is a very interesting idea. From my limited research on C# and stats it seems you would have to buy a 3rd party library most likely unless you want to do alot of leg work.
      this one looks pretty interesting
      .NET Math and Statistics Library Works with all .NET languages, including C#, Visual Basic, and F#. The NMathTM .NET math and statistics library from CenterSpace Software provides numerical components for financial, engineering, and scientific applications on the .NET platform. NMath 7.0 [Released 2019 – Changelog] The foundational .NET math and statistics library, NMath, includes complex […]


      I'm going to try to make a simple correlation strategy this weekend that just spits out numbers to the output window between two instruments. Certainly post anything you find in this area, this is totally the kind of stuff i'm interested in. Once i've learned enough in ninja though i'm going to buy one of these stat libraries. I'm sure it would be worth the time saved programming wise.

      Out of curiousity I wonder if at some point in the future the ninja guys could do a simple example of including a 3rd party library. Just something simple and open source to get the ball rolling.

      Comment


        #4
        online normality test

        I ended up on this page when searching for a test of normality. Eventually I found one here in case someone else is looking for one:
        Online tools and calculators for biology, bioinformatics, statistics, and medical statistics.

        Comment


          #5
          patrf,

          Thank you for sharing and welcome to our forums!
          MatthewNinjaTrader Product Management

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          589 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          342 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          555 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X