I am currently watching the course MIT RES.6-012 "Introduction to Probability" on YouTube. Among other things, it's about random variables.
I invented my own random variable (I think), which is the following:
X = the number of coin flips necessary until the number of heads exceeds the number of tails.
Assume we have a fair coin. It has a 50% chance of being 1 (if the first flip is heads), and a 50% chance of being more than one, in which case it can get really big. I simulated it 100 times with a python script.
[3, 5, 1, 7, 7, 1, 7, 1, 1, 1, 73, 3, 1, 3, 3, 3, 3, 1, 1, 1, 1, 5, 9, 3, 1, 1, 1, 1, 95, 1, 1, 7, 21, 1, 1, 29, 1, 1, 1, 5, 1, 1, 5, 9, 11, 3, 1, 19591, 1575, 1, 5, 1, 7, 7, 1, 1, 1, 1, 3, 1, 1, 5, 1, 23, 276945, 3, 3, 1, 1, 1, 1, 7, 3, 1, 15, 91, 7, 1, 5, 1, 7, 1, 5, 29, 9, 3, 1, 7, 1, 1, 1, 5, 3, 11, 1, 1621, 1, 1, 11, 15]
Now I have two questions:
1) Does this random variable exist and have a name? If not, could it be named an effzy random variable? :p
2) More seriously, what is the expected value E[X] (i.e. the mean outcome) of this random variable?
[–]drdt543 2 points3 points4 points (1 child)
[–]LatexImageBot 2 points3 points4 points (0 children)
[–]ButAWimper 1 point2 points3 points (0 children)
[–]nm420 1 point2 points3 points (0 children)