Probability > Prior Probability: Uniformative, Conjugate

## What is Prior Probability?

Prior probability is a probability distribution that expresses established beliefs about an event before (i.e. prior to) new evidence is taken into account. When the new evidence is used to create a new distribution, that new distribution is called *posterior *probability.

For example, you’re on a quiz show with three doors. A car is behind one door, while the other two doors have goats. You have a 1/3 chance of winning the car. This is the **prior probability.** Your host opens door C to reveal a goat. Since doors A and B are the only candidates for the car, the probability has increased to 1/2. The prior probability of 1/3 has now been adjusted to 1/2, which is a **posterior probability.**

In order to carry our Bayesian inference, **you must have a prior probability distribution**. How you choose a prior is dependent on what type of information you’re working with. For example, if you want to predict the temperature tomorrow, a good prior distribution might be a normal distribution with this month’s mean temperature and variance.

## Uninformative Priors

An uninformative prior gives you **vague information** about probabilities. It’s usually used when you don’t have a suitable prior distribution available. However, you could *choose* to use an uninformative prior if you don’t want it to affect your results too much.

The uninformative prior isn’t really “uninformative,” because any probability distribution will have *some* information. However, it will have** little impact on the posterior distribution** because it makes minimal assumptions about the model. For the temperature example, you could use a uniform distribution for your prior, with the minimum values at the record low for tomorrow and the record high for the maximum.

## Conjugate Prior

A conjugate prior has the **same distribution** as your posterior prior. For example, if you’re studying people’s weights, which are normally distributed, you can use a normal distribution of weights as your conjugate prior.

If you prefer an online interactive environment to learn R and statistics, this *free R Tutorial by Datacamp* is a great way to get started. If you're are somewhat comfortable with R and are interested in going deeper into Statistics, try *this Statistics with R track*.

*Facebook page*and I'll do my best to help!