Probability theory: Basic concepts

This is part of the course “Probability Theory and Statistics for Programmers”.

Image for post
Image for post
Probability Theory For Programmers

Probability theory is a significant branch of mathematics that has numerous real-life applications, such as weather forecasting, insurance policy, risk evaluation, sales forecasting and many more. Central subjects in probability theory include discrete and continuous random variables, probability distributions, stochastic processes, which provide mathematical abstractions of uncertain processes and good knowledge of those subjects will help you with understanding other related areas such as statistics, finance, artificial intelligence/machine learning, game theory.

In the first part of the course, we will go through the basics definitions of probability theory.

Event — is a set of outcomes of an experiment to which a probability is assigned. For example, when we tossing the coin there are two possible outcomes — observe and reverse. Thus we have two possible events.

Image for post
Image for post
two possible events in case of tossing the coin

Probability is a measure of a likelihood that event will occur — a number from 0 to 1. For example, if we roll the dice probability of getting 3 points will be 1/6, since there are 6 possible outcomes and each has the same likelihood.

Image for post
Image for post
probability of an event

Collectively exhaustive events — a set of events where at least one of the events will occur. For example, when rolling dice, the outcomes 1, 2, 3, 4, 5, and 6 are collectively exhaustive, because they encompass the entire range of possible outcomes.

Mutually exclusive events — are events that cannot both occur. For example, when rolling dice, there is no possibility of getting both 2 and 3 points.

Equally likely events — are events that have the same probability to occur. If we take our dice, all outcomes have the same probability. You can’t say that more likely you will get 3 points rather than 2.

Now, with an understanding of an event and probability let’s go to the next part and see how we can make operations on events.

Next part ->

Reach the next level of focus and productivity with increaser.org.

Image for post
Image for post
Increaser

Written by

Software engineer, creator of increaser.org. More at geekrodion.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store