Name for binning a variable with respect to another variable(s)

  • Thread starter Ahmes
  • Start date
  • Tags
    Variable
In summary, the speaker is asking for the term for a 2D map that shows the average or distribution of z values in a 2D bin around specific gridpoints. This could potentially be referred to as binning or histogram binning.
  • #1
Ahmes
78
1
Hi,

Sorry if it's not the right place as this question is a bit generic.

Let say we have N datapoint triplets xi, yi, zi.
If we ask "how many points" there are in the interval X < x < XX and Y < y < YY (where X and Y are some gridpoints) -- then this is a 2D histogram.

But in each such 2D bin there is some distribution of z values. How would you call a 2D map of the average (or whatever distribution moment) of the z values in the 2D bin around (X,Y)? I just can't think of the right term! It's not what I would usually consider interpolation.

I'll be very happy if someone knows the name of this procedure.
 
Physics news on Phys.org
  • #2
Hi, this is a great question! You could be looking for something called binning or histogram binning. This is when you divide a dataset into multiple bins and calculate the average or other statistic of the data in each bin. In your case, you are trying to calculate the average of the z values in the 2D bin around (X,Y). I hope this helps!
 

What does it mean to "bin" a variable?

"Binning" a variable means grouping values of that variable into categories or intervals. This is often done to simplify data analysis and make it easier to interpret the results.

How do you choose the number of bins for a variable?

The number of bins for a variable is typically chosen based on the size of the dataset and the range of values for the variable. Common methods for choosing the number of bins include using the square root or the Sturges formula.

Can you bin multiple variables at the same time?

Yes, it is possible to bin multiple variables at the same time. This is often done when there are multiple variables that are related and need to be analyzed together.

What is the purpose of binning a variable with respect to another variable(s)?

Binning a variable with respect to another variable(s) allows for a more detailed analysis of the relationship between the variables. It helps to identify any patterns or trends that may not be apparent when looking at the variables individually.

What are some common methods for binning variables?

Some common methods for binning variables include equal width binning, equal frequency binning, and quantile binning. These methods differ in how they group the values of the variable, and the most appropriate method will depend on the specific dataset and research question.

Similar threads

  • Programming and Computer Science
Replies
3
Views
324
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
2K
  • Introductory Physics Homework Help
Replies
11
Views
2K
  • Programming and Computer Science
Replies
1
Views
5K
  • Math Proof Training and Practice
3
Replies
100
Views
7K
  • Introductory Physics Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
  • Calculus
Replies
1
Views
2K
Back
Top