Send Close Add comments: (status displays here)
Got it!  This site "robinsnyder.com" uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.  Note: This appears on each machine/browser from which this site is accessed.
Coin flips
by RS  admin@robinsnyder.com : 1024 x 640


1. Coin flips
To determine the probability that an event happens, one needs to know the sample space.

2. Sample space
The sample space consists of all the possible outcomes of an event. The sample space should be What are the possible outcomes from flipping a coin?

3. Result of flipping a coin
What are the possible results of flipping a coin? Here is one result. Coin flips: headsHere are two results of flipping a coin. Coin flips: tailsAre these the only possible results? Can a coin land in the edge? Try it with a nickel. Coin flips: sideAre these the only possible results? The value "bottom" is used to indicate these other possibilities. Here is a diagram including "bottom". Coin flips: bottomIn programming, the Null value can be used to indicate "bottom" or "no value".

4. Strings
In Python:

5. SQL

6. Information and statistics
The field of statistics has a deep connection to computer/information science though it may not be immediately obvious.

Flip a fair coin. What is the probability that it is heads? If you say it is one half, then that is the probability to you. I can see the coin and to me it is either zero or one - I know what it is. Information has a "point of view". The entire field of statistics is the concept of known and unknown information by an observer and determining a "best guess" at what the state of the actual information of interest.

Thus, a saying is that "statistics means nothing to a rock".

7. End of page

by RS  admin@robinsnyder.com : 1024 x 640