CS540 Midterm 1 - Probability and Math

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

1/43

encourage image

There's no tags or description

Looks like no tags are added yet.

44 Terms

1
New cards

What is the definition of an outcome in probability?

set of results of an experiment

2
New cards

How do you mathematically define an outcome?

Ω = {1,2,3,4}

3
New cards

What are events?

subsets of outcomes we’re interested in essentially (powerset)

4
New cards

How do you mathematically define an event?

∅,{1},{2},{3},{4}

5
New cards

Axioms: For all events E, ___

P(E) ≥ 0

6
New cards

Axioms: Always P(∅) = P(Ω) = ___

0, 1

7
New cards

Axioms: For disjoint events, P(E1 U E2) =

P(E1) + P(E2)

8
New cards

Axioms: For nondisjoint events, P(E1 U E2) =

P(E1) + P(E2) - (P(E1) ∩ P(E2))

9
New cards

What is a Random Variable?

a function that maps random outcomes to real values

10
New cards

What is a CDF and what is it used for?

Cumulative Distribution Function, basically evaluating what is the chance of rolling a target value or anything lower?

11
New cards

CDF formula:

FX(x):=P(X≤x)F_X(x) := P(X \le x)

12
New cards

What is a PDF/PMF and what is it used for?

Probability density function/ Probability mass function used to tell you how likely different outcomes are

13
New cards

What is the formula for a PDF/PMF?

knowt flashcard image
14
New cards

Explain the Expectation of an RV formula : E[X]=∑aa⋅P(X=a)E[X] = \sum_a a \cdot P(X = a)

Take every possible outcome, multiply its value by the odds of it happening, and add them all together.

15
New cards

Explain the Expectation of a Function formula: E[f(X)]=∑af(a)⋅P(X=a)E[f(X)] = \sum_a f(a) \cdot P(X = a)

Take every possible outcome, multiply its value (with whatever rule or modification applied first) by the odds of it happening, and add them all together

16
New cards

What is variance? Var[X]=E[(X−E[X])2]Var[X] = E[(X - E[X])^2]

Variance is simply a measure of how spread out and wild the results are compared to the average.

17
New cards

What is a Joint Distribution? P(X=a,Y=b)P(X = a, Y = b)

What are the chances of two (or more) things happening together at the exact same time?

18
New cards

What is Marginal Probability? P(X=a)=∑bP(X=a,Y=b)P(X = a) = \sum_b P(X = a, Y = b)

to find the total chance of one variable, add across all possibilities of the other variable.

19
New cards

What does Independence mean? P(X,Y)=P(X)P(Y)P(X, Y) = P(X)P(Y)

Independence means two events have zero effect on each other.

20
New cards

What is Conditional Probability? P(X=a∣Y=b)=P(X=a,Y=b)P(Y=b)P(X = a \mid Y = b) = \frac{P(X = a, Y = b)}{P(Y = b)}

Conditional Probability is the chance of something happening after you already learn a clue.

21
New cards

Conditional Independence: P(X,Y∣Z)=P(X∣Z)P(Y∣Z)P(X, Y \mid Z) = P(X \mid Z) P(Y \mid Z)

Example: Ice-cream sales and drownings are correlated, but conditionally independent given the weather.

22
New cards

Chain Rule explained: P(A1,A2,…,An)=P(A1)⋅P(A2∣A1)⋅P(A3∣A2,A1)…P(An∣An−1,…,A1)P(A_1, A_2, \dots, A_n) = P(A_1) \cdot P(A_2 \mid A_1) \cdot P(A_3 \mid A_2, A_1) \dots P(A_n \mid A_{n-1}, \dots, A_1)

a way to calculate the probability of a whole sequence of events happening by taking them one link at a time.

23
New cards

Bayes Rule: P(A∣B)=P(B∣A)⋅P(A)P(B)P(A \mid B) = \frac{P(B \mid A) \cdot P(A)}{P(B)}

Given that I see this clue, what are the chances the condition is actually true?

24
New cards

Law of Total Probability P(A)=∑i=1nP(A∣Bi)P(Bi)P(A) = \sum_{i=1}^n P(A \mid B_i) P(B_i)

The Law of Total Probability is a method for finding the overall chance of an event by slicing the world into separate scenarios, calculating the odds in each slice, and adding them all together.

25
New cards

Bayesian Inference: P(H∣E)=P(E∣H)P(H)P(E)P(H \mid E) = \frac{P(E \mid H) P(H)}{P(E)}

Bayesian Inference is just using clues to update your confidence in a theory. H is hypothesis E is evidence. So you’re evaluating H given E.

26
New cards
27
New cards
28
New cards
29
New cards
30
New cards
31
New cards
32
New cards
33
New cards
34
New cards
35
New cards
36
New cards
37
New cards
38
New cards
39
New cards
40
New cards
41
New cards
42
New cards
43
New cards
44
New cards