__maths__>__Statistics and Probability__>__Basics of Probability__### Probability of an Event in Random Experiments

In this page, learn how statistical data can be used to predict an outcome of a random experiment.

Such prediction requires large effort and small variations in the data can cause errors.

So the possible outcomes are theorized as having equal chances and the probability of an outcome is defined.

*click on the content to continue..*

A person is tossing a coin for `40` times, and recording the data. The data is shown in tabular form for `4` different trials.

If the coin is tossed once, what is the probability of 'tails'? Is it `21//40`, `18//40`, `20//40`, or `19//40`?

The data is more or less `1//2`, so the probability = `1//2`.

This is not a precise explanation, though broadly it is correct. The next page provides the precise explanation for taking the probability as `1//2`.

A person is tossing a coin for `40` times, and recording the data. The data is shown in tabular form for `4` trials. The nature of random experiments is that, there is always some variation in outcome. The occurrence of 'tails' is `21//40`, `18//40`, `20//40`, or `19//40` in four trials.

But, we understand that the 'heads' and 'tails' have equal chance and so *we theorize that the probability of 'tails' is `1/2`*. The data from experiments is used to verify if the result of the experiment is approximately `1/2`.

Note: We started with collecting data and representing that.

Then we learned using data to predict result of random experiments.

Now, as the data is not accurate, (that is data varies little in small number of experiments), we try to *learn parameters of the experiment and make a call on predicting the results*. In such prediction, data helps to validate the prediction. This is further explained with examples in pages to follow.

Considering tossing a coin, and the sample space is 'heads' and 'tails'.

Consider tossing a coin. In the sample space 'heads' and 'tails', the result can be either one with equal chance.

Knowing that the sample space has equal chance, the probability of "heads" is `1//2`, where

• numerator `1` is the count of outcomes in the event

• denominator `2` is the count of outcomes in the sample-space.

The number of outcomes in the sample space is `n`.

The outcomes in sample space have equal chance to be the result.

The desired event is one of `p` outcomes.

The probability = `p//n`.

In tossing a coin for 'heads':

• The sample space is 'heads' and 'tails'. That is a count of `2`.

• The desired event is the outcome 'heads'. That is a count of `1`.

• The Probability of event 'heads' = `text(count of desired outcome)/text(count of sample-space)` `=1/2`.

Consider rolling a dice. The sample space of this experiment is '`1`', '`2`', '`3`', '`4`', '`5`', and '`6`'.

*Consider rolling a dice. The sample space is '`1`', '`2`', '`3`', '`4`', '`5`', and '`6`'.*

The outcomes in the sample-space have equal chance.

*Consider rolling a dice. The sample space is '`1`', '`2`', '`3`', '`4`', '`5`', and '`6`' and all outcomes in the sample space have equal chance.*

The probability of `4` is `1//6`, where

• numerator `1` is the count of outcomes in the event

• denominator `6` is the count of outcomes in the sample-space.

The number of outcomes in the sample space is `n`.

The outcomes in the sample space have equal chance.

The desired event is one of `p` outcomes.

The probability = `p//n`.

In rolling a dice for `4`:

• The sample space is '`1`', '`2`', '`3`', '`4`', '`5`', and '`6`'. That is a count of `6`.

• The desired event is the outcome '`4`'. That is a count of `1`.

• The Probability of event '`4`' = `text(count of desired outcome)/text(count of sample-space)` `=1/6`.

*Consider rolling a dice. The sample space is '`1`', '`2`', '`3`', '`4`', '`5`', and '`6`' and all outcomes in the sample space have equal chance.*

The probability of an odd number is `3//6` where

• numerator `3` is the count of outcomes in the event (1, 3, 5)

• denominator `6` is the count of outcomes in the sample-space.

In rolling a dice for an odd number:

• The sample space is '`1`', '`2`', '`3`', '`4`', '`5`', and '`6`'. That is a count of `6`.

• The desired event is an odd number which is the outcomes '`1`', '`3`', or '`5`'. That is a count of `3`.

• The Probability of event "odd number" = `text(count of desired outcome)/text(count of sample-space)` `= 3/6`.

**Probability in Equal Chance Experiments** : The number of outcomes in the sample space is `n`.

The outcomes in sample space have equal chance.

The desired event is one of `p` outcomes.

The probability = `p//n`.

*switch to interactive version*