Paragraph describing pdf from a book on stats is confusing me

I'm reading a book called "Naked statistics". It gives some intuitive explanations for stats and probability.

I have a beginner/ intermediate level of stats and probability. I understand the basics including expected val, variance, pdfs and CDFs and conditional prob etc

https://imgur.com/a/uySTTlV

The link above is the paragraph from the book. It's describing a pdf but to me it sounds wrong. Or maybe I'm getting confused by the different terminology: expected frequency, outcome, expected probability

For some context, in that section, the author is writing about the binomial distribution.

Is the book's description of a pdf correct or off?

EDIT: I wrote out the paragraph here to save time for others.

...a probability density function merely plots the assorted outcomes along the x-axis and the expected probability of each outcome on the y-axis; the weighted probabilities - each outcome multiplied by its expectd frequency - will add up to 1....

Posted Apr 17, 2022, 6:39 PM UTC · edited

13
AutoModeratorMOD•

Hi, u/cardflopper! This is an automated reminder:

  • What have you tried so far? (See Rule #2; to add an image, you may upload it to an external image-sharing site like Imgur and include the link in your post.)

  • Please don't delete your post. (See Rule #7)

We, the moderators of r/MathHelp, appreciate that your question contributes to the MathHelp archived questions that will help others searching for similar answers in the future. Thank you for obeying these instructions.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1
edderiofer•

The author is explaining this very imprecisely (which is par for the course for a pop-math book). Charitably, if we assume they mean:

...a probability density function is a function whose inputs are outcomes, and whose outputs are the probabilities of those outcomes; the sum of [each outcome multiplied by its probability] is equal to 1...

then the author is wrong on two counts. First, their definition of a probability density function only applies if the distribution is discrete (though this is an acceptable simplification in the context of binomial distributions); the correct definition is that the outputs are the probability densities of those outcomes. Second, it is the probabilities that add to 1; the sum of [each outcome multiplied by its probability] is instead the expected value of the distribution (assuming this sum converges), which is in general not equal to 1.

1
cardflopperOP•

I skimmed that paragraph and continued past it. But it was bugging me because it just sounded wrong.

Maybe I should avoid these pop-math style books in case I get some bad info heh.

Fortunately (so far) this one only has a bit of technical explanation. Most of it is general high level explanations.

thanks for clearing it up.

1