+++
date = "2016-04-26"
draft = true
title = """Probability"""
slug = "probability"
tags = []
banner = ""
aliases = ['/probability/']
+++
Probability is about events. Events are the outcomes of processes and can either be certain, impossible, or random. The set of all possible outcomes of a process is known as the **sample space**. Note that not all events need to have the same probability.
A probability function *p* for a sample space S {s1, s2, s3, ..,sn} is p:S → [0,1] such that p(s1) + p(s2) + p(s3) + .. + p(sn) = 1.