Alex John Quijano
10/25/2021
Population parameters vs Sample statistics
Performing hypothesis testing using difference in proportions examples
Computing confidence intervals (CIs) and how to interpret them
Performing simple linear regression (SLR) and how to interpret the slope and intercept (sample statistics), and performing basic residual analysis for the SLR
Learned about basic probability rules.
We will be focusing on the mathematical details of the concepts we learned.
We will do more applications using “by-hand” computations and R computations.
Putting probability and statistics together - the fusion of art and science!
Statistical decisions are always subjective - frequentist vs bayesian approaches.
Why do we want to learn probability and Statistics?
What is independence, again?
What are Permutations and Combinations?
Take-home message: Becoming an expert-beginner on basic probability.
Rule 1: For any event \(A\),
\[0 \le P(A) \le 1.\]
Rule 2: The sum of the probabilities of all possible outcomes in the sample space \(\Omega\) is \(1\).
\[P(\Omega) = 1\]
Rule 3: The Complement Rule.
\[P(A^c) = 1 – P(A).\]
Rule 4: Involving events \(A\) and \(B\).
If events A and B are disjoint (\(A \cap B = \emptyset\) meaning \(P(A \cap B) = 0\)), then \[P(A \cup B) = P(A) + P(B).\] If events A and B are joint (\(A \cap B \ne \emptyset\) meaning \(P(A \cap B) \ne 0\)), then in general \[P(A \cup B) = P(A) + P(B) - P(A \cap B).\]
Rule 5: For independent events \(A\) and \(B\), \(P(A \cap B) = P(A)P(B).\)
Independence
Independent events means that the occurrence of one event does not impact (and is not influenced by) the occurrence of another event(s).
\[P(A \cap B) = P(A)P(B)\]
\[P(A \cup B) = P(A) + P(B) - P(A)P(B)\]
Mutual Exclusivity
If two events cannot occur at the same time, they are said to be mutually exclusive. Mutually exclusive events never have a common outcome.
\[P(A \cap B) = 0\] \[P(A \cup B) = P(A) + P(B)\]
If the two events are mutually exclusive, they can NOT be independent.
If two events are independent, they cannot be mutually exclusive.A combination is a grouping of outcomes in which the order does not matter.
A permutation is an arrangement of outcomes in which the order does matter.
Question - Flip a coin 3 times, how many possible outcomes with exactly 2 heads? Is this a combination or permutation problem? Hint: \({n \choose x} = \frac{n!}{x!(n-x)!}\) or choose(n,k)
in R.
Answer - The order of outcomes are not important, so this situation involves combinations. The number of possible outcomes with exactly 2 heads is \[{3 \choose 2} = \frac{3!}{2!(3-2)!} = 3.\]
Why? You can use Pascal’s triangle as a bridge to the binomial theorem.
Other Example: Taste Testing by Khan Academy
Image Source: Wiki
Image Source: Wiki
Image Source: Wiki
Image Source: Pascal’s Triangle by Reaghan Willison & Caitlin Kinser
choose(n,k)
in R.03:33
Now, let’s consider another classic problem in probability: rolling a die with six sides, numbered from 1 to 6.
03:33
\(A\) and \(A^c\) are disjoint sets
Example 1
Example 2
\[(A \cup B)^c = A^c \cap B^c\]
\[(A \cap B)^c = A^c \cup B^c\]
Consider rolling a six-sided die and these defined events.
Today, we discussed the following:
Revisited basic probability rules
Combinations and DeMorgan’s laws
Next, we will discuss:
More examples of probability and more on permutations and combinations
Conditional probability