CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2023
    Posts
    10

    histogram statistical analysis

    hi,
    how to gather interval width and number of classes from a histogram of a large array.

  2. #2
    Join Date
    Feb 2024
    Posts
    9

    Re: histogram statistical analysis

    To find the interval width, you just divide the range (max value - min value) of the data by the number of classes (bars in the histogram). For the number of classes, a common starting point is to use Sturges' formula: k = 1 + 3.322 log10(n), where n is the number of data points.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured