Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results for freedman-diaconis
Search options not deleted
1 vote
0 answers
3k views

Freedman-Diaconis Rule

The Freedman-Diaconis Rule says that the optimal bin size of a histogram is $$ \text{Bin Size} = 2 \cdot \text{IQR}(x) n^{-1/3}$$ where $x$ is the data and $n$ is the number of observations in the data …
proton's user avatar
  • 681
3 votes
2 answers
785 views

What to do when IQR returns 0 in Freedman-Diaconis' rule?

For discretization, I'm using Freedman-Diaconis rule which computes the optimal number of bins which will be given input to KBinsDiscretizer. … Freedman-Diaconis' rule states that, $$ \text{bin width}, h=2\frac{\operatorname{IQR}(x)}{n^{1/3}} $$ $$ \text{number of bins}, k = \frac{range(x)}{h} $$ The column has $32561$ values. …
Robur_131's user avatar
  • 133
2 votes
1 answer
2k views

Scott's and Freedman–Diaconis rules of the thumb for selecting bin width - disatvantages

Scott's and FreedmanDiaconis rules of the thumb are based on the following formula: In the article here it is stated that: While these appear to be useful estimates for unimodal densities … My question is, will Scott and FreedmanDiaconis rules of the thumb estimate the correct number of bins on distributions with more than one peak? …
Hello Lili's user avatar
8 votes
1 answer
20k views

Optimal number of bins in histogram by the Freedman–Diaconis rule: difference between theore...

Wikipedia reports that under the Freedman and Diaconis rule, the optimal number of bins in an histogram, $k$ should grow as $$k\sim n^{1/3}$$ where $n$ is the sample size. … The FreedmanDiaconis rule is: $$h=2\frac{\operatorname{IQR}(x)}{n^{1/3}}$$ …
user603's user avatar
  • 23k
2 votes
0 answers
570 views

Derivation/Explanation of the Freedman-Diaconis Rule

Can anyone provide a good derivation of the FD rule? Or explain why it is a good way to define the bin widths of a histogram. Are there any other similar rules and how do they compare?
user27119's user avatar
  • 328
1 vote
0 answers
84 views

References regarding rules for multidimensional histograms

Are there any rules like the one dimensional Freedman-Diaconis available for the high dimensional case? What are the most common drawbacks? I'm planning to use the histogram to do density estimation. …
Kruif's user avatar
  • 11
2 votes
1 answer
603 views

Methods to identify the optimal number of bins between two groups

I am aware of Sturge’s and Freedman-Diaconis rules. … I am looking for an equation/ test, similar to Sturge’s and Freedman-Diaconis rules, that can do this. …
bgun's user avatar
  • 23
0 votes
0 answers
106 views

Selecting the Number of Bins in a Histogram: A Decision Theoretic Approach

My question: have you ever applied this specific approach and when should it be preferred to Freedman-Diaconis rule? …
Seymour's user avatar
  • 109
0 votes
1 answer
262 views

Computing histogram bins with insensitivity to domain scale

Currently, I'd like to use the Freedman-Diaconis rule for determine bin widths: $h=2\times\text{IQR}\times N^{-1/3}$ (where $h$ is the bin width). … The problem with this is that each dataset would have a different IQR, and thus a different recommendation for the bin width according to Freedman-Diaconis. …
widavies's user avatar
  • 101
1 vote
1 answer
554 views

R - Same Density but different QQ-Plot?

Error #meanlog 8.610446 0.008045692 #sdlog 0.931252 0.005689134 > >plotdist(amount,"lnorm",para=list(meanlog=f$estimate[1],sdlog=f$estimate[2])) You can find below the histogram drawn with the FreedmanDiaconis
Yohan Obadia's user avatar
1 vote
0 answers
548 views

To BIN or not to BIN a continuous data to get a Fragment Size Distribution?

I applied Freedman-Diaconis Rule trying to “bin” my data: Applying log scale for the y-axis: Freedman-Diaconis Rule: Gives high number of bins, distribution positively skewed, but the distribution does …
Joali's user avatar
  • 11
0 votes
0 answers
232 views

Distance Between 1-D Histograms and Binning

For example, suppose the Freedman-Diaconis estimator (or another estimator, e.g., Sturges' rule) yields a histogram A with 9 bins and a histogram B with 8 bins. …
Bruno's user avatar
  • 571
2 votes
0 answers
953 views

Knuth rule for number of bins of a histogram vs. chi2 fitting

The Knuth rule (I have some bimodal cases so I'm not using Freedman-Diaconis or Scott) gives me the following histogram (there are 914 data points): The problem is that there are two bins with less …
corey979's user avatar
  • 1,264
1 vote
0 answers
141 views

How Minitab calculate optimize number of bins of a normal distribution histogram

I used minitab to draw a normal distribution histogram and saw that the number of bins in that graph doesn't follow any rules to calculate bin size that I know of (sturge, square-root, rice, freedman-diaconis
nein_kariki's user avatar
3 votes
0 answers
147 views

How to compute optimal binning for two histograms

My current approach is to compute the mean of the optimal bin widths for each histogram according to the Freedman-Diaconis rule (for the purposes of this question, I am neglecting the possibility of variable …
Gavin Kirby's user avatar

15 30 50 per page