Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [binning]

Binning means grouping a continuous variable into discrete categories. It is particularly used in reference to histograms

Filter by
Sorted by
Tagged with
2
votes
0answers
464 views

On the uniform convergence of relative frequencies of events to their probabilities

I have read the article by Vapnik, Chervonenkis "On the uniform convergence of relative frequencies of events to their probabilities" Theory of Probability and Its Applications, vol XVI, n. , 1971. ...
0
votes
0answers
888 views

Equal frequency vs. equal weight discretization

How does one choose between the two? How do you decide which one is more appropriate for your data? I have a numeric data and I would like to discretize it using one of these. I know what they do ...
2
votes
2answers
140 views

Issues with tritomising and dichotomising variable

I see that the issue of splitting a variable into two categories has been discussed on this forum and I understand pros, cons as well as some ways of performing it. The issue that I am interested and ...
10
votes
2answers
9k views

How to 'intelligently' bin a collection of sorted data?

I am trying to intelligently bin a sorted collection. I have a collection of $n$ pieces of data. But I know that this data fits into $m$ unequally sized bins. I don't know how to intelligently choose ...
7
votes
1answer
181 views

How can I compare my model to a technically invalid model?

I've created nice little nonlinear model relating survival probability to length in salmon. I fit it assuming binomial errors and minimizing the negative log likelihood. I've been asked to compare it ...
1
vote
0answers
2k views

SAS optimal binning

In SAS enterprise miner we have the optimal binning feature which allows you to transform continuous variables into an ordered set of bins. The binning, as I read from one of their docs, is done so ...
3
votes
0answers
2k views

Combining errors in a histogram (binned data)

I'm processing some data that requires binning before it goes through a regression algorithm. The script is in Python and uses the Numpy histogram function, but ...
2
votes
3answers
4k views

Counts of binned data by group

I have continuous data $A$ and categorical data $O$. I need counts of $A$ in bins by group $O$. I'm working in R. I know how to bin data (using cut2) and how to ...
14
votes
3answers
5k views

Best way to put two histograms on same scale?

Let's say I have two distributions I want to compare in detail, i.e. in a way that makes shape, scale and shift easily visible. One good way to do this is to plot a histogram for each distribution, ...