In mathematics and statistics, a probability vector or stochastic vector is a vector with non-negative entries that add up to one.
The positions (indices) of a probability vector represent the possible outcomes of a discrete random variable, and the vector gives us the probability mass function of that random variable, which is the standard way of characterizing a discrete probability distribution.[1]
Here are some examples of probability vectors. The vectors can be either columns or rows.
x0=\begin{bmatrix}0.5\ 0.25\ 0.25\end{bmatrix},
x1=\begin{bmatrix}0\ 1\ 0\end{bmatrix},
x2=\begin{bmatrix}0.65&0.35\end{bmatrix},
x3=\begin{bmatrix}0.3&0.5&0.07&0.1&0.03\end{bmatrix}.
Writing out the vector components of a vector
p
p=\begin{bmatrix}p1\ p2\ \vdots\ pn\end{bmatrix} or p=\begin{bmatrix}p1&p2& … &pn\end{bmatrix}
the vector components must sum to one:
n | |
\sum | |
i=1 |
pi=1
Each individual component must have a probability between zero and one:
0\lepi\le1
for all
i
(n-1)
n=1
n=2
n=3
n=4
1/n
1/n
\sigma2