TGViewer
Data Science & Machine Learning Data Science & Machine Learning @datasciencefun ยท 77.8K subscribers
Post #4526 2.36K
This tells us the probability that the score is 80 or less.

๐Ÿ”น 8. PMF vs PDF vs CDF

PMF: Used for Discrete data. Represents Probability of an exact outcome

PDF: Used for Continuous data. Represents Probability density

CDF: Used for Discrete & continuous. Represents Probability up to a value

A simple way to remember:

PMF โ†’ Exact probability for discrete outcomes

PDF โ†’ Density across continuous values

CDF โ†’ Cumulative probability up to a value

๐Ÿ”น 9. Example: Discrete Distribution

Suppose a machine produces defective products.

Let: X = Number of defective products

Possible values: 0, 1, 2, 3

Suppose:

P(X=0) = 0.50

P(X=1) = 0.30

P(X=2) = 0.15

P(X=3) = 0.05

Check: 0.50 + 0.30 + 0.15 + 0.05 = 1.00

Therefore, this is a valid probability distribution.

๐Ÿ”น 10. Example: Continuous Distribution

Suppose: X = Customer waiting time

Waiting time could be: 2.1 minutes, 2.15 minutes, 2.157 minutes, 2.1578 minutes...

Because there are infinitely many possible values, we treat it as a continuous random variable.

A PDF can describe how densely the waiting times are distributed.

๐Ÿ”น 11. Normal Distribution โญ

One of the most important probability distributions in Data Science is the Normal Distribution.

It is often called the bell curve because of its shape.

A normal distribution is characterized by: Mean, Standard deviation

Many natural and measurement-related variables can be approximately normally distributed under suitable conditions.

Examples: Measurement errors, Certain biological measurements, Standardized test scores

๐Ÿ”น 12. Properties of Normal Distribution

For a perfectly symmetric normal distribution: Mean = Median = Mode

The distribution is symmetric around its mean.

A common rule of thumb is the 68โ€“95โ€“99.7 rule:

Within 1 Standard Deviation: Approximately 68%

Within 2 Standard Deviations: Approximately 95%

Within 3 Standard Deviations: Approximately 99.7%

๐Ÿ”น 13. Binomial Distribution

The Binomial Distribution is a discrete probability distribution used when:

There are a fixed number of trials, Each trial has two possible outcomes, The probability of success is constant, Trials are independent.

Examples: Number of successful predictions, Number of heads in coin tosses, Number of defective products in a fixed sample

Example: 10 coin tosses. X = Number of Heads. Possible values: 0, 1, 2, ..., 10

๐Ÿ”น 14. Poisson Distribution

The Poisson Distribution is commonly used to model the number of events occurring within a fixed interval when events occur at a certain average rate under appropriate assumptions.

Examples: Number of customer calls per hour, Number of website visits per minute, Number of machine failures per month, Number of support tickets per day

๐Ÿ”น 15. Why Probability Distributions Matter in Data Science?

Probability distributions help Data Scientists:

โœ… Understand data patterns

โœ… Detect unusual observations

โœ… Model uncertainty

โœ… Perform statistical tests

โœ… Build predictive models

โœ… Simulate data

โœ… Estimate probabilities

๐Ÿ”น 16. Python Example

import numpy as np

data = np.random.normal(
loc=50,
scale=10,
size=1000
)

print(data[:5])
  • โค 6
More from @datasciencefun
  1. Oct 7, 2026ORDER BY salary DESC LIMIT 5; Mistake 3 โ€” Forgetting that LIMIT applies after sorting Forโ€ฆ
  2. Oct 7, 2026๐Ÿš€ Data Science Roadmap 2026 ๐Ÿ“ Phase 3: SQL for Data Science ๐Ÿ“– Topic 4 โ€” LIMIT LIMIT isโ€ฆ
  3. Oct 7, 2026๐Ÿš€๐—ฃ๐—ฎ๐˜† ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐—ฃ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด | ๐—•๐—ฒ๐—ฐ๐—ผ๐—บ๐—ฒ ๐—ฎ ๐—™๐˜‚๐—น๐—น๐˜€๐˜๐—ฎ๐—ฐโ€ฆ
  4. Oct 7, 2026๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ ๐—•๐—œ ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜! ๐Ÿ”ฅ Learn Power BI through these FREE learninโ€ฆ
  5. Oct 2, 2026Data Visualisation tips for beginners
  6. Sep 29, 2026๐—™๐—ฅ๐—˜๐—˜ ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ ๐—ง๐—ผ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—”๐—œ ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ๐Ÿš€ โ€‹ Explore 6 free resourceโ€ฆ
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’