Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Conditional expectation
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Example 1: Dice rolling === Consider the roll of a fair die and let ''A'' = 1 if the number is even (i.e., 2, 4, or 6) and ''A'' = 0 otherwise. Furthermore, let ''B'' = 1 if the number is prime (i.e., 2, 3, or 5) and ''B'' = 0 otherwise. {| class="wikitable" |- ! !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 |- | A || 0 || 1 || 0 || 1 || 0 || 1 |- | B || 0 || 1 || 1 || 0 || 1 || 0 |} The unconditional expectation of A is <math>E[A] = (0+1+0+1+0+1)/6 = 1/2</math>, but the expectation of A ''conditional'' on ''B'' = 1 (i.e., conditional on the die roll being 2, 3, or 5) is <math>E[A\mid B=1]=(1+0+0)/3=1/3</math>, and the expectation of A conditional on ''B'' = 0 (i.e., conditional on the die roll being 1, 4, or 6) is <math>E[A\mid B=0]=(0+1+1)/3=2/3</math>. Likewise, the expectation of B conditional on A = 1 is <math>E[B\mid A=1]= (1+0+0)/3=1/3</math>, and the expectation of ''B'' conditional on ''A'' = 0 is <math>E[B\mid A=0]=(0+1+1)/3=2/3</math>.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)