Đại học Kinh tế Quốc dân – National Economics UniversityMICRO4ASIA
🏆 Arena
Sign inSign up
MICRO4ASIAThe six micro-credentials

Courses are delivered on the Limio learning platform. Limio

← Mathematical Foundations for Data Science

You are viewing a public preview

Sign in to save your progress, do assignments, join discussions and get feedback.

Sign in
Part III — Probability and Statistics

Topic 11 · Random Variables and Distributions

Print / Save as PDF
Lecture video — Topic 11: Random Variables and Distributions

Random variables, mass and density functions, cumulative distribution functions, and the Bernoulli, binomial, Poisson, uniform, exponential and normal distributions.

Flashcards · Random Variables and Distributions

9 words
WordMeaningExample
  • Random variable

    A function X from the sample space to the real numbers: one number per outcome.

    Number of heads: TT → 0, HT → 1, TH → 1, HH → 2.

  • Probability mass function

    p(x) = P(X = x) for a discrete variable; the values are probabilities and sum to 1.

  • Probability density function

    f(x) ≥ 0 with P(a ≤ X ≤ b) = ∫ f over [a, b]; heights are not probabilities and can exceed 1.

    Uniform(0, 0.5) has density 2.

  • Cumulative distribution function

    F(x) = P(X ≤ x); nondecreasing, from 0 to 1; P(a < X ≤ b) = F(b) − F(a).

  • Binomial(n, p)

    Number of successes in n independent trials with common p: P(K = k) = C(n, k) p^k (1 − p)^(n−k).

    Bin(5, 0.2): P(K = 2) = 0.2048.

  • Poisson(λ)

    Count of events per fixed exposure; P(X = x) = e^(−λ) λ^x / x!.

    λ = 3: P(X = 0) = e^(−3) ≈ 0.0498.

  • Uniform(a, b)

    Constant density 1/(b − a) on [a, b]; probability = interval length / (b − a).

  • Exponential(β)

    Waiting time with scale (mean) β; P(X > t) = e^(−t/β).

    β = 2: P(X > 2) = e^(−1) ≈ 0.3679.

  • Standardization

    If X ~ N(μ, σ²) then Z = (X − μ)/σ ~ N(0, 1), and P(a ≤ X ≤ b) = Φ((b − μ)/σ) − Φ((a − μ)/σ).

    N(100, 225): 100 → 0 and 130 → 2.

Practice in Python

Work through Section 2 of Lab 3 (Probability and Statistics, MFDS_Lab3_Probability_Statistics.ipynb), attached to the Part III materials lesson at the start of this part.