Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Histogram
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Remark ==== A good reason why the number of bins should be proportional to <math>\sqrt[3]{n}</math> is the following: suppose that the data are obtained as <math>n</math> independent realizations of a bounded probability distribution with smooth density. Then the histogram remains equally "rugged" as <math>n</math> tends to infinity. If <math>s</math> is the "width" of the distribution (e. g., the standard deviation or the inter-quartile range), then the number of units in a bin (the frequency) is of order <math>n h/s</math> and the ''relative'' standard error is of order <math>\sqrt{s/(n h)}</math>. Compared to the next bin, the relative change of the frequency is of order <math>h/s</math> provided that the derivative of the density is non-zero. These two are of the same order if <math>h</math> is of order <math>s/\sqrt[3]{n}</math>, so that <math>k</math> is of order <math>\sqrt[3]{n}</math>. This simple cubic root choice can also be applied to bins with non-constant widths.{{cn|date=May 2024}} [[File:Gumbel distribtion.png|thumb|300px|Histogram and density function for a [[Gumbel distribution]]<ref>[https://www.waterlog.info/cumfreq.htm A calculator for probability distributions and density functions]</ref>]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)