Bivariate: Difference between revisions
From Rice Wiki
No edit summary |
|||
Line 12: | Line 12: | ||
= Bivariate Normal = | = Bivariate Normal = | ||
The '''bivariate normal''' is one special type of continuous random | The '''bivariate normal''' (aka. bivariate gaussian) is one special type | ||
variable. | of continuous random variable. | ||
<math>(X, Y)</math> is ''bivariate normal'' if | |||
# The marginal PDF of both X and Y are normal | |||
# For any <math>x</math>, the condition PDF of <math>Y</math> given <math>X = x</math> is Normal | |||
** Works the other way around: Bivariate gaussian means that condition is satisfied | |||
== Predicting Y given X == | |||
Given bivariate normal, we can predict one variable given another. | |||
Let us try estimating the expected Y given X is x | |||
<math> | |||
E(Y| X = x) | |||
</math> | |||
There are three main methods | |||
* Scatter plot approximation | |||
* Joint PDF | |||
* 5 statistics | |||
=== 5 Parameters === | |||
We need to know 5 parameters about <math>X</math> and <math>Y</math> | |||
<math>E(X), sd(X), E(Y), sd(Y), \rho</math> | |||
If <math>X, Y</math> follows bivariatte normal distribution, then we | |||
have | |||
<math> | |||
\left( \frac{E(Y|X = x) - E(Y)}{sd(Y)} \right) = \rho \left( \frac{x - | |||
E(X)}{sd(X)} \right) | |||
</math> |
Revision as of 17:57, 18 March 2024
Consider two numerica random variables and . We can measure their covariance.
The correlation of two random variables measures the line dependent between and
Bivariate Normal
The bivariate normal (aka. bivariate gaussian) is one special type of continuous random variable.
is bivariate normal if
- The marginal PDF of both X and Y are normal
- For any , the condition PDF of given is Normal
- Works the other way around: Bivariate gaussian means that condition is satisfied
Predicting Y given X
Given bivariate normal, we can predict one variable given another. Let us try estimating the expected Y given X is x
There are three main methods
- Scatter plot approximation
- Joint PDF
- 5 statistics
5 Parameters
We need to know 5 parameters about and
If follows bivariatte normal distribution, then we have