Lesson 4: Probability Review
Interpret joint, marginal and conditional probabilities and explain their relationship to one another
Demonstrate and understanding of independence and conditional independence
Interpret conditional expectations as subgroup-specific means
Identify the connection between conditional means and regression
In groups of two; go to www.stitchfix.com and complete the “Style Profile” quiz
We are interested in learning something by gathering some data on some people.
Some people = experimental population, target population, super population
Something = target parameter, parameter, estimand
Data may be (but not necessarily!) drawn from target population
The target population describes who you are trying to learn about.
A hypothetical construct: data that would be generated if n = \(\infty\).
Example: All potential StitchFix users who could complete the Style Profile quiz.
The target parameter(s) describes what you are trying to learn about. - A summary describing some aspect of the population.
Example: the differences in style preferences between the two gender groups.
Example: average preferences in clothing styles, preferred colors, fit preferences, and other fashion-related choices.
In general, probabilities can be interpreted as sampling proportions.
Example 1:
A = Gender chosen for the Style Profile quiz (1 if men, 0 if women);
Y = Preference for a specific style attribute (1 if preferred, 0 if not preferred)
Example 2:
W = Age of the participant;
A = Gender chosen for the Style Profile quiz (1 if men, 0 if women);
Y = Preference for a specific style attribute (1 if preferred, 0 if not preferred)
Add (integrate) to go from joint probability to marginal probability.
Example 1: Proportion of participants preferring a specific style attribute is the sum of those preferring the attribute when selecting ‘men’ in the quiz, plus those who selected ‘women’,
\[P(A=1) = \sum_{y=0}^1P(A=1,Y=y).\] \[= P(A=1,Y=0) + P(A=1,Y=1)\]
Here, A represents the gender chosen in the quiz (1 for men, 0 for women),
Y represents the preference for a specific style attribute (1 if preferred, 0 if not).
Example 2:
Proportion of participants who are 22 years old and chose ‘men’ in the quiz:
\[P(W=22,A=1) = \sum_{y=0}^1P(W=22, A=1, Y=y)\]
And, the proportion of participants who are 22 years old:
\[P(W=22)= \sum_{a=0}^1\sum_{y=0}^1P(W=22, A=a, Y=y)\]
Divide joint probability by marginal probability to get a conditional probability. Key idea: Conditional probability = proportion of a subgroup. \[P(\text{characteristic} \mid \text{subgroup)}\]
Example 1: Proportion of participants preferring a specific style attribute amongst those who chose ‘men’ in the quiz:
\[ P(Y = 1 \,|\, A = 1) = \frac{P(Y = 1, A = 1)}{P(A = 1)} \] Here, Y represents the preference for a specific style attribute (1 if preferred, 0 if not), and A represents the gender chosen in the quiz (1 for men, 0 for women).
Example 2: Proportion of participants preferring a specific style attribute amongst those who are 22 years old and chose ‘men’ in the quiz:
\[ P(Y = 1 \,|\, W = 22, A = 1) = \frac{P(Y = 1, A = 1, W = 22)}{P(A = 1, W = 22)} \] In this case, W represents the age of the participant, A is the gender choice in the quiz, and Y is the preference for a specific style attribute.
Do audience scores differ from critic scores?