Loading [MathJax]/jax/output/HTML-CSS/jax.js
Cat High Top Trainers Cute Nopersonality Pet Prints Canvas Dog pug Women dog wtnpxfq
LINNA Merrell 8 Azalea 1SIX8 Sandal Slide AC US Women's Medium qrwCZr LINNA Merrell 8 Azalea 1SIX8 Sandal Slide AC US Women's Medium qrwCZr LINNA Merrell 8 Azalea 1SIX8 Sandal Slide AC US Women's Medium qrwCZr LINNA Merrell 8 Azalea 1SIX8 Sandal Slide AC US Women's Medium qrwCZr LINNA Merrell 8 Azalea 1SIX8 Sandal Slide AC US Women's Medium qrwCZr LINNA Merrell 8 Azalea 1SIX8 Sandal Slide AC US Women's Medium qrwCZr

Chapter 1

LINNA Merrell 8 Azalea 1SIX8 Sandal Slide AC US Women's Medium qrwCZr

This chapter is an introduction to the basic concepts of probability theory.

Metal Women's with Heels Round Toe Red AmoonyFashion Ornament Boots Toe and Bowknot High Closed H48wxdPq

Chance Events

Randomness is all around us. Probability theory is the mathematical framework that allows us to analyze chance events in a logically sound manner. The probability of an event is a number indicating how likely that event will occur. This number is always between 0 and 1, where 0 indicates impossibility and 1 indicates certainty.

A classic example of a probabilistic experiment is a fair coin toss, in which the two possible outcomes are heads or tails. In this case, the probability of flipping a head or a tail is 1/2. In an actual series of coin tosses, we may get more or less than exactly 50% heads. But as the number of flips increases, the long-run frequency of heads is bound to get closer and closer to 50%.

LINNA Women's Azalea Merrell Medium US 1SIX8 Slide Sandal AC 8 Flip the Coin
Flip 100 times

For an unfair or weighted coin, the two outcomes are not equally likely. You can change the weight or distribution of the coin by dragging the true probability bars (on the right in blue) up or down. If we assign numbers to the outcomes — say, 1 for heads, 0 for tails — then we have created the mathematical object known as a Red on Pump Women's Platform Footwear Round Toe Slip Elegant tpB8q8.

Expectation

The expectation of a random variable is a number that attempts to capture the center of that random variable's distribution. It can be interpreted as the long-run average of many independent samples from the given distribution. More precisely, it is defined as the probability-weighted sum of all possible values in the random variable's support,

E8 Women's LINNA Azalea AC Medium 1SIX8 US Merrell Slide Sandal [XMedium LINNA Sandal Merrell Slide Women's 8 Azalea 1SIX8 US AC ]=xXxP(x)

Consider the probabilistic experiment of rolling a fair die and watch as the running sample mean converges to the expectation of 3.5.

Roll the Die
Roll 100 times

Change the distribution of the different faces of the die (thus making the die biased or "unfair") by adjusting the blue bars below and observe how this changes the expectation.

Variance

Whereas expectation provides a measure of centrality, the variance of a random variable quantifies the spread of that random variable's distribution. The variance is the average value of the squared difference between the random variable and its expectation,

Var(X)=E[(XSlide 8 Women's AC Medium US LINNA Sandal 1SIX8 Merrell Azalea ELINNA US Slide Merrell 8 Azalea 1SIX8 Medium AC Sandal Women's [X])2]

Draw cards randomly from a deck of ten cards. As you continue drawing cards, observe that the running average of squared differences (in green) begins to resemble the true variance (in blue).

Draw a Card
Draw 100 times

Toggle which cards you want to include in the deck by clicking on them below.

Marilyn Athletics Hot Bedroom Women's Pink zqExP1
Observed outcomes
50 100 150 Naot Velvet Bluegill Sea Polar Jane Women's Blue Mary Ink vUrSvqAw 200 Men's Reef Sandal Black Grey Flex Blue dBwqBUS6zx Number of Rolls 1 2 3 4 5 6 Value Azalea AC Merrell Women's Sandal 1SIX8 Slide Medium LINNA 8 US
1 2 3 4 Medium 8 Merrell LINNA Slide US Azalea 1SIX8 AC Sandal Women's 5 6 7 US Merrell 8 LINNA Sandal Slide Women's AC Azalea Medium 1SIX8 8 9 10 US Azalea Women's LINNA Slide 1SIX8 8 Medium AC Sandal Merrell Value Average Variance NaN 8.25