Probability and Statistics wk 1

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:13 AM on 9/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

28 Terms

1
New cards

A bernoulli random variable

Any random variable whose only possible values are 0 and 1

2
New cards

Random Variable

any rule that associates a number with a value in S. In mathematical language, a random variable is a function whose domain is the sample space and whose range is the set of real numbers

3
New cards

Discrete random variable

a random variable whose possible values either constitute a finite set or else can be listed in an infinite sequence in which there is a first element, a second element, so on (“countably” infinite)

4
New cards

Continuous random value

A random value is continuous if both of the following apply:

  1. Its set of possible values consists of either all numbers on the number line (possibly infinite in extent e.g. -infinity to +infinity) or all numbers in a disjoint union of such intervals e.g ([0,10] U [20,30])

  2. No possible value of the variable has a positive probability. That is P(x = c) = 0 for any possible value of c


5
New cards

Probability Distribution/Probability mass function (PMF)

Defined for every number xxby p(x)p(x)= P(X=x)P(X = x)= P(allwS:X(w)=x)P(allw\in S:X(w)=x).

6
New cards

a family of probability distributions

The collection of all probability distributions for different values of the parameter is called a family of probability distributions

7
New cards

Parameter of a distribution

Suppose p(x)p(x) depends on a quantity that can be assigned any one of a number of possible values, with each different value determining a different probability distribution.

8
New cards

cumulative distribution function (cdf), F(x)F(x)

F(x)=P(Xx)=y:yxp(y)F(x) = P(X \le x) = \sum_{y: y \le x} p(y)

  • Key Idea: It accumulates (adds up) all individual probabilities p(y)p(y)for values up to and including xx.

  • Intuition: While p(x)p(x) gives the probability of hitting exactly xx, F(x)F(x)gives the probability of getting at most xx.


9
New cards

Expected Value (Mean)


  • Notation: E(X)E(X), μX\mu_X, or μ\mu

  • Definition: The long-run average outcome of a discrete random variable if the experiment is repeated many times.

  • Formula:

    E(X)=μX=xDxp(x)E(X) = \mu_X = \sum_{x \in D} x \cdot p(x)

  • Formula Breakdown:

    • E(X)E(X) / μX\mu_X: The expected value (mean) of the random variable XX.

    • xD\sum_{x \in D}: Sum over every possible value xx in the domain set DD.

    • xx: A specific value that XX can take.

    • \cdot: Multiplication operator.

    • p(x)p(x): The probability of XX taking the value xx (the PMF).


10
New cards

Expected Value of a Function of XX


  • Notation: E[h(X)]E[h(X)]or μh(X)\mu_{h(X)}

  • Definition: The long-run average value of a transformation/function h(X)h(X)applied to a random variable.

  • Formula:

    E[h(X)]=Dh(x)p(x)E[h(X)] = \sum_{D} h(x) \cdot p(x)

  • Formula Breakdown:

    • E[h(X)]E[h(X)]: The expected value of the transformed function h(X)h(X).

    • D\sum_{D}: Sum across all values in the set of possible outcomes DD.

    • h(x)h(x): The function applied to the specific outcome value xx(e.g., x2x^2, 3x+13x + 1).

    • p(x)p(x): The original probability of obtaining that specific outcome xx.


11
New cards

Variance and Standard Deviation of XX

  • Definition:

    • Variance: The average squared distance of each outcome from the mean μ\mu.

    • Standard Deviation: The square root of variance, measuring spread in the original units of measurement.

  • Formulas:

    Variance: V(X)=D(xμ)2p(x)=E[(Xμ)2]\text{Variance: } V(X) = \sum_{D} (x - \mu)^2 \cdot p(x) = E[(X - \mu)^2]

    Standard Deviation: σX=σX2\text{Standard Deviation: } \sigma_X = \sqrt{\sigma_X^2}

  • Formula Breakdown:

    • V(X)V(X) / σX2\sigma_X^2: Variance of XX.

    • D\sum_{D}: Sum over all possible outcomes in domain DD.

    • (xμ)(x - \mu): The deviation of an individual value xxfrom the mean μ\mu.

    • (xμ)2(x - \mu)^2: The squared deviation (ensures negative distances become positive).

    • p(x)p(x): The probability weight of that specific outcome xx.

    • E[(Xμ)2]E[(X - \mu)^2]: Equivalent expected value expression (the average of squared differences).

    • σX\sigma_X: Standard deviation of $X$.

    • x\sqrt{\phantom{x}}: Square root function.


12
New cards

Binomial Experiment

A probability experiment composed of repeated trials that meet four specific conditions.

  • Key Conditions Breakdown:

    • Fixed number (nn): The number of trials is decided beforehand.

    • Dichotomous: Each trial has exactly two possible outcomes (Success or Failure).

    • Independent: The outcome of one trial has no effect on another.

    • Homogeneous: The probability of success (pp) remains constant across all trials.


13
New cards

Expected Value of a Linear Function

  • Notation: E(aX+b)E(aX + b) or μaX+b\mu_{aX + b}

  • Definition: The expected value scales linearly—multiplying the variable by a constant aamultiplies the mean by aa, and adding a constant shift bb shifts the mean by bb.

  • Formula:

    E(aX+b)=aE(X)+borμaX+b=aμX+bE(aX + b) = a \cdot E(X) + b \quad \text{or} \quad \mu_{aX+b} = a \cdot \mu_X + b

  • Formula Breakdown:

    • E(aX+b)/μaX+bE(aX+b)/\mu_{aX+b} : The expected value of the transformed variable (aX+b)(aX + b).

    • aa: A constant multiplier (scaling factor).

    • XX: The random variable.

    • E(X)$ / $\mu_X : The original expected value (mean) of XX.

    • bb: A constant added to every outcome (offset/shift).


14
New cards

Computational / Shortcut Formula for Variance

  • Notation: V(X)V(X) or σ2\sigma^2

  • Definition: An easier way to compute variance by subtracting the square of the mean from the expected value of X2X^2, avoiding individual distance subtractions.

  • Formula:

    V(X)=σ2=[Dx2p(x)]μ2=E(X2)[E(X)]2V(X) = \sigma^2 = \left[ \sum_{D} x^2 \cdot p(x) \right] - \mu^2 = E(X^2) - [E(X)]^2

  • Formula Breakdown:

    • V(X)V(X)/ σ2\sigma^2: Variance of X.

    • Dx2p(x)\sum_{D} x^2 \cdot p(x): Sum of each squared value x2x^2multiplied by its probability p(x)p(x).

    • E(X2)E(X^2): The expected value of X2X^2("the mean of the squares").

    • μ2\mu^2 / [E(X)]2[E(X)]^2: The square of the original mean ("the square of the mean").


15
New cards

Variance and Standard Deviation of a Transformed Variable (aX+b)(aX + b)

  • Notation: Variance: $$v(ax + b) or $$\sigma_{ax+b}^2|

  • Standard Deviation: σaX+b\sigma_{aX+b}

  • Definition:

    • Multiplying X by aaincreases variance by a2a^2and standard deviation by a\vert{}a\vert{}.

    • Adding a constant b does not change variance or standard deviation because shifting all numbers leaves their spread unchanged.

  • Formulas:

    V(aX+b)=σaX+b2=a2σX2V(aX + b) = \sigma_{aX+b}^2 = a^2 \cdot \sigma_X^2

    σaX+b=aσX\sigma_{aX+b} = \vert{}a\vert{} \cdot \sigma_X

    Special cases: σaX=aσXandσX+b=σX\text{Special cases: } \sigma_{aX} = \vert{}a\vert{} \cdot \sigma_X \quad \text{and} \quad \sigma_{X+b} = \sigma_X

  • Formula Breakdown:

    • V(aX+b)V(aX + b): Variance of the transformed variable.

    • a2a^2: The scaling factor squared (squaring removes any negative signs).

    • σX2\sigma_X^2: The original variance of X.

    • σaX+b\sigma_{aX+b}: Standard deviation of the transformed variable.

    • a\vert{}a\vert{}: The absolute value of a (ensures standard deviation is always positive).

    • σX\sigma_X: The original standard deviation of $X$.

    • bb: Disappears in the calculation because adding a constant shift does not affect spread.


16
New cards

A distribution

a distribution is a model of how an uncertain numerical quantity behaves.

17
New cards

What does random mean in this instance

Individual outcomes are uncertain. The pattern of outcomes can still be modelled.

18
New cards

What does PMF ask you

At one value: P(X = x)

19
New cards

What does CDF tell you

Up to one value: P(X ≤ x)

20
New cards

What does the Complement tell you

Above one value: P(X > x) = 1 − F(x)

21
New cards

What does higher variance mean

Higher variance means greater spread around the expected value.

22
New cards

Discrete

A countable set of numerical values. Example: number of alerts in one hour.

23
New cards

Continuous

Measurements on a scale. Example: latency, sensor error, response time.

24
New cards

Trap 1

Confusing one observed value x with the random variable X.

25
New cards

Trap 2

Reading a PMF as if it were a cumulative probability

26
New cards

Trap 3

Interpreting expected value as the next guaranteed outcome.

27
New cards

Calculation checklist before every equation

  1. What is the random experiment?

  2. What is the sample space

  3. What is the random variable X

  4. Which event is being talked about

  5. Do I need the PMF, CDF, Expectation, or variance


28
New cards

Difference between PMF and CDF

PMF gives probability at a value, CDF gives probabilities up to values