Random Variable: Difference between revisions

From Rice Wiki
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Statistics]]
A '''random''' variable is a numerical variable whose outcome is the result of a random process (i.e. we don't know what will happen for certain). Notably, the numerical interpretation of the outcome of an [[Probability#Experiment and Events|experiment]] is a random variable. They come in two types, deserving their own pages. See  
A '''random''' variable is a numerical variable whose outcome is the result of a random process (i.e. we don't know what will happen for certain). Notably, the numerical interpretation of the outcome of an [[Probability#Experiment and Events|experiment]] is a random variable. They come in two types, deserving their own pages. See  


Line 52: Line 54:


The expectation is
The expectation is


<math>
<math>
E(aX + bY) = aE(X) + bE(Y)
E(aX + bY) = aE(X) + bE(Y)
</math>
</math>
whereas the variance is


<math>
<math>
Var(aX + bY) = a^2 Var(X) + ab Cov(X,Y) + b^2 Var(Y)
Var(aX + bY) = a^2 Var(X) + ab Cov(X,Y) + b^2 Var(Y)
</math>
</math>
I'm sleepy so I'm not gonna derive this one.

Latest revision as of 19:35, 17 May 2024


A random variable is a numerical variable whose outcome is the result of a random process (i.e. we don't know what will happen for certain). Notably, the numerical interpretation of the outcome of an experiment is a random variable. They come in two types, deserving their own pages. See

Statistics

Random variables has several statistics that we care about. See pages Continuous Random Variable and Discrete Random Variable for how to calculate these values.

When we are interested in the average outcome of a random variable, we look at the expected value (mean): a weighted average of the possible outcomes.

When we are interested in the variability of a random variable, we look at the variance and the standard deviation: the latter being the expected difference from mean, and the former being the square of the latter (not really used for interpretation, more for math).

Properties of Statistics

I'm just gonna start writing equations.

Cool name for this: the law of the unconscious statistician for how obvious it is

Linear Combinations

A linear combination of random variables and is given as

where a and b are constants. They are not bivariate

The expectation is

whereas the variance is

I'm sleepy so I'm not gonna derive this one.