2
$\begingroup$

Given a histogram and the following quantities

v_i = the bin value.
c_i = the number of elements in the bin.
w_i = the width of the bin.
N   = the number of elements in the input data. 

Is the following terminology correct in Statistics?

  1. By normalizing the histogram by v_i = c_i / N, I would get the "Relative Frequency Histogram"

  2. By normalizing the histogram by v_i = c_i / N, I would get an "empirical estimate of the Probability Mass Function"

  3. By normalizing the histogram by v_i = c_i / N, I would get an "empirical discrete probability distribution"

  4. By normalizing the histogram by v_i = c_i / (N * w_i), I would get an "empirical estimate of the Probability Density Function"

$\endgroup$
5
  • 1
    $\begingroup$ Only method 4 even produces a true histogram. The others are all bar charts. $\endgroup$
    – whuber
    Commented Jul 14, 2023 at 13:10
  • $\begingroup$ What is a true histogram? $\endgroup$
    – Ommo
    Commented Jul 14, 2023 at 13:53
  • 1
    $\begingroup$ Also note that besides what terminology the field of Statistics uses, there is also the terminology used by software packages. For example, in the hist function of R one uses freq = TRUE to get the counts (c_i) and freq = FALSE to get v_i = c_i / (N * w_i). In Mathematica the Histogram function has the choices of "Count", "Probability", "Intensity", and "PDF" (and just because a particular option is available doesn't mean you want to use it). $\endgroup$
    – JimB
    Commented Jul 14, 2023 at 14:04
  • 1
    $\begingroup$ A bar chart represents values by the length of a rectangular symbol. A histogram, in contrast, represents values by areas of rectangular symbols or, more generally, by areas beneath a curve. When the bars have no gaps between them and have equal bases, their areas are proportional to their lengths and the distinction is not relevant: but it's useful to know the distinction anyway. See these posts for examples and further explanation. $\endgroup$
    – whuber
    Commented Jul 14, 2023 at 15:29
  • 1
    $\begingroup$ thanks a lot @whuber!! $\endgroup$
    – Ommo
    Commented Jul 14, 2023 at 15:43

1 Answer 1

1
$\begingroup$

Choice of terminology can reflect personal taste as well as each writer's idea of technical correctness, and what is considered correct should depend on the details of the application.

I doubt that there could be strong objections to #1, relative frequency histogram. Many would be happy to say fraction, proportion or even probability instead of "relative frequency", with the understanding that what is shown may be empirical estimates.

I don't find the terms normalize or normalization (whether z or s) attractive, if only because they can mean so many different things. In my readings in statistical and data science they imply typically scaling in one of various different ways, but occasionally some kind of transformation intended to bring a distribution closer to Gaussian (normal) in shape. Conversely, either could be a fine term to use if people in your field use that term often and (as here) you always explain with a formula or other recipe precisely what normalization means in each application.

The terminology discrete and probability mass function I would commend if and only if the underlying variable was discrete, in which case bin width would usually reflect discreteness, most commonly by being 1 if the distinct values of the variable were integers. These comments qualify your usages #2 and #3.

Conversely, the term probability density function applies most comfortably to continuous variables. The term probability mass function was introduced precisely to stress the difference between probability distributions for continuous and discrete variables. But many writers, including several with a strong sense of mathematical correctness, are happy to use density generally, each version of density being calculated given some measure, which could be counting measure as well as some continuous measure. So, many statistical people would be happy with the idea of a histogram (for any kind of variable) showing an empirical binned estimate of probability density in this wider sense.

I think it's germane to underline that the term density was in general use long before it became standard in probability and statistics. Across physics, chemistry, demography, ecology, hydrology, and other sciences, there are uses for density as amount of stuff in some space, regardless of whether the space is one, two or three dimensional, or the stuff is continuous or discrete. Thus in physical science density is mass/volume, in population studies it is number of people or other organisms/area, in hydrology it can be drainage density (stream length/area), and so on.

$\endgroup$
5
  • $\begingroup$ Given that the bin widths are explicitly referenced, we must contemplate the possibility that they vary. In such a case 1 - 3 (which all appear to be identical treatments of the data) do not even deserve to be called "histograms:" they are just bar charts of frequencies or relative frequencies. $\endgroup$
    – whuber
    Commented Jul 14, 2023 at 13:12
  • $\begingroup$ Thanks a lot @NickCox!!! $\endgroup$
    – Ommo
    Commented Jul 14, 2023 at 13:54
  • $\begingroup$ @whuber, why do I often find posts and articles where people use the word "histogram" to describe a distribution of counts (actually frequencies) of some quantity, and after one of the "normalizations" described in this post, they call the resulting output as "relative frequency histograms" (still "histograms"), or "empirical estimates of probability mass function or probability distribution"? $\endgroup$
    – Ommo
    Commented Jul 14, 2023 at 13:59
  • 1
    $\begingroup$ There is a lot of misinformation and many misconceptions about statistics out there, especially in posts and articles. I don't think that requires further explanation! In this case the dictionaries get it right -- see merriam-webster.com/dictionary/histogram for instance -- but even they are not consistently reliable for the meanings of statistical terms. A very good authority for the definition of a histogram is (any edition of) Freedman, Pisani, & Purves, Statistics. $\endgroup$
    – whuber
    Commented Jul 14, 2023 at 15:34
  • 1
    $\begingroup$ Many thanks for your comment @whuber! I am already checking the Freedman, Pisani, & Purves, Statistics $\endgroup$
    – Ommo
    Commented Jul 14, 2023 at 15:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.