Cover
STA 112 Note.pdf
📚 STA 112 Note.pdf
Brief overview
This document introduces fundamental statistical concepts, covering probability theory, random variables, and their distributions. It provides the foundational knowledge required for statistical analysis and data interpretation.
Key points
- Introduction to probability theory and counting principles.
- Combinations of events and axioms of probability.
- Understanding random variables and their distributions.
- Properties of random variables and common probability distributions.
- Continuous distributions, sampling, and data analysis methods.
1. Introduction to probability and counting principles
1.1 Probability basics
- Probability: The logic of uncertainty, measuring how likely an event is to happen. It's also known as chance.
- Purpose: Probability provides tools to understand and explain variations in random or nondeterministic experiments.
- Applications: Useful in fields like physics, engineering, medicine, biology, finance, and political science.
- Foundation: Probability theory is built upon set theory 4.
1.1.1 Key definitions
- Experiment: A procedure to evaluate a hypothesis, investigate a phenomenon, or validate a theory.
- Random experiment: An experiment whose outcome cannot be predicted beforehand. It generates a set of possible outcomes.
- Sample space (S): The set of all possible outcomes of a random experiment.
- Sample point: A single outcome that is an element of the sample space.
- Event (A): A set of outcomes; a subset of the sample space.
- Elementary event: An event containing only one sample point.
- Impossible event (∅): The empty set, an event that cannot occur.
- Certain event (S): The sample space itself, an event that is sure to occur 5.
1.1.2 Visualizing outcomes
- Tree diagrams: Help find the product of sets, showing ordered triples of outcomes 6.
- Contingency tables: Also called cross-tabulations, they list all possible outcomes for two or more events.
📝 Example: Outcomes of tossing two coins.
COIN 1 COIN 2 H H HH T TH Sample space: S={HH,HT,TH,TT} 7.
1.1.3 Calculating probability
- The probability P(A) of an event A is the ratio of the number of ways A can occur to the total number of equally likely outcomes in the sample space. P(A)=na=number of elements in Snumber of elements in A 8.
- Equally likely: Implies fairness, meaning each outcome has an equal chance or probability.
📝 Example: Probability of rolling an even number on a fair die.
- Event E (even number) = {2, 4, 6}. Number of ways n(E)=3.
- Sample space S = {1, 2, 3, 4, 5, 6}. Number of ways n(S)=6.
- P(E)=n(S)n(E)=63=21 9.
1.2 Principles of counting
- Combinatorial analysis: Techniques to determine the number of possible outcomes without direct enumeration. This is crucial for calculating probabilities 10.
1.2.1 Factorial
- Factorial (n!): The product of all positive integers from 1 to n. n!=n×(n−1)×(n−2)×⋯×3×2×1
- By definition, 0!=1.
📝 Example:
- 5!=5×4×3×2×1=120
- 8!=8×7×6×5×4×3×2×1=40,320 11.
1.2.2 Permutations
- Permutation: An arrangement of objects in a specific order.
- n-permutation: An arrangement of all n objects.
- r-permutation: An arrangement of r objects chosen from n objects, where order matters. Denoted as nPr or P(n,r). nPr=(n−r)!n!.
🔑 Important: nPn=n!.








