1.3.7 · HinglishProbability & Statistics

Cumulative distribution functions

2,236 words10 min readRead in English

1.3.7 · AI-ML › Probability & Statistics


Cumulative Distribution Function kya hota hai?

Key properties jo har CDF mein honi chahiye:

  1. Monotonically non-decreasing: Agar hai, toh
  2. Limits: aur
  3. Right-continuous:

CDF ko First Principles se Derive karna

Discrete Random Variables ke liye

PMF se shuru karo: Maano humara ek discrete random variable hai jiska probability mass function hai.

Step 1 — ka matlab kya hai?
Hum tak aur shamil karke saare outcomes ki total probability chahte hain. Kyunki disjoint events ki probabilities add hoti hain:

Yeh step kyun? Hum individual point probabilities accumulate kar rahe hain. Har woh value jo hai, apni probability mass contribute karti hai.

Continuous Random Variables ke liye

PDF se shuru karo: Continuous ke liye jiska probability density function hai, probabilities curve ke neeche areas hoti hain.

Step 1 — Probability as an integral:
Kyunki hai, se tak ki cumulative probability hai:

Yeh step kyun? Hum point tak, bilkul left se, saare infinitesimal probability "slices" integrate (accumulate) kar rahe hain.

Step 2 — CDF se PDF recover karna:
Fundamental Theorem of Calculus se:

Yeh relationship kyun? PDF cumulative probability ki rate of change hai. CDF antiderivative hai.

Figure — Cumulative distribution functions

CDF se Probabilities Compute karna


Quantiles aur Percentiles se Connection

ML mein hum kyun care karte hain?

  • Confidence intervals: "95% predictions is threshold se neeche hain"
  • Random sampling: ke through samples generate karo jahan
  • Outlier detection: 99th percentile se aage ke data points flag karo

Properties aur Relationships


Machine Learning mein Applications

  1. Model Evaluation:

    • Prediction intervals compute karna:
    • Calibration curves predicted CDF ko empirical CDF se compare karti hain
  2. Data Preprocessing:

    • Quantile normalization: CDF ke through data ko uniform distribution par map karo
    • Outlier detection: woh points flag karo jahan ya ho
  3. Generative Models:

    • Inverse transform sampling: Uniform random numbers use karke kisi bhi distribution se samples generate karo
    • Copulas: Marginal CDFs combine karke joint distributions model karo
  4. Statistical Tests:

    • Kolmogorov-Smirnov test empirical CDF ko theoretical CDF se compare karta hai
    • p-values tail probabilities hain:

Recall Ek 12-Saal ke Bachche ko Explain karo

Socho tum Pokémon cards collect kar rahe ho, aur track kar rahe ho ki har card kitna rare hai.

Probability density ek bar chart ki tarah hai jo dikhata hai ki har card level kitna common hai. CDF alag hai — yeh answer karta hai: "Agar main ek random card uthata hoon, toh kya chance hai ki woh itna rare ya kam rare ho?"

Imagine karo ki tum cards mein se least rare se most rare ki taraf chal rahe ho, aur running count rakh rahe ho "Abhi tak kitne dekh liye?" Woh running percentage hi CDF hai.

Jab tum end tak pahunchte ho (sabse rare card), tumhara CDF 100% hit karta hai kyunki tumne saare cards count kar liye.

Yeh useful kyun hai? Agar koi puche "Kya chance hai ki main woh card pull karun jo bottom 75% mein hai?", tum bas CDF ko 75% mark par dekho. Koi complicated addition nahi chahiye!



Connections

  • Probability Distributions — CDF, PDF ka integral hai
  • Random Variables — CDF kisi bhi random variable ke liye define hota hai
  • Expected Value and Variance — CDF use karke compute kar sakte hain
  • Inverse Transform Sampling — Random samples generate karne ke liye use karta hai
  • Quantile Functions — CDF ka inverse
  • Empirical Distribution — CDF ka sample-based estimate
  • Kolmogorov-Smirnov Test — Goodness-of-fit ke liye CDFs compare karta hai
  • Copulas — Dependence model karne ke liye marginal CDFs join karta hai
  • Survival Analysis — Survival function use karta hai

#flashcards/ai-ml

CDF kya represent karta hai? :: Woh probability ki random variable se less than or equal to ho:

CDF ki range aur domain kya hain?
Domain: saare real numbers . Range: (probabilities).
Sahi ya Galat: Ek CDF badhne ke saath decrease ho sakti hai.
Galat. CDFs monotonically non-decreasing hote hain.
CDF use karke kaise compute karte hain?
Ek continuous random variable ke liye, PDF aur CDF mein kya relationship hai?
aur
Ek discrete random variable ke liye, PMF se CDF kaise compute hoti hai?
( se ≤ saare outcomes ki probabilities ka sum)
Quantile function kya hai?
Inverse CDF , jo woh value deta hai jaise ki ho.
kya kehlaata hai?
Distribution ka median.
Ek continuous random variable ke liye kya hai?
Zero. Continuous variables ke liye, .
CDF use karke kaise compute karte hain?
Ek CDF ki limit properties kya hain?
aur
ke liye, kya hai?
(CDF hai for )
Ek discrete CDF ki kya shape hoti hai?
Ek staircase (step function) jo har possible value par jump karti hai.
Inverse transform sampling kaise ki jaati hai?
generate karo, phir compute karo.
95th percentile ka kya matlab hai?
Woh value jiske neeche distribution ka 95% hai, matlab .

Concept Map

sum up to x

integrate to x

defined as

domain

range

must be

limits

property

discrete shape

enables

used for

applies to

applies to

PMF discrete

CDF F_X x

PDF continuous

P X leq x

all real numbers

0 to 1

Monotonic non-decreasing

0 at neg-inf, 1 at inf

Right-continuous

Staircase function

Percentiles and thresholds

Random sampling

ML probabilistic models