2.4. Mean and variance propagation laws#
Here, will only consider the propagation of the mean (= expectation) and (co-)variances, and not the transformation of the full PDF or CDF.
The general form of our problem will be given as follows. Consider the single function of \(m\) random variables
with the mean and covariance matrix of \(Y\) known:
Video#
In this video the first part of this chapter is explained. You can also first read this section, and only watch the video if you like someone to explain it.
What are the mean and variance of \(X\)?#
Let’s start with the mean for the case that the function is linear:
with the \(a_i\) and \(c\) deterministic constants. Since the expectation operator is a linear operator, we have:
But what if the function is non-linear? Then we can use the Taylor series approximation of \(q(Y)\).
Function of one random variable#
We will first look at the simplest case, where we have a function of a single random variable, \(X=q(Y)\), with the Taylor approximation:
where we take the mean \(y_0=\mu_Y\) as the logical initial guess of the random vector \(Y\). (H.O.T. stands for higher-order terms). The subscript \(_0\) indicates that the partial derivatives are evaluated at \(y_0=\mu_Y\).
Due to the linearity of the expectation we then find as a second-order approximation of \(\mathbb{E}(q(Y))\), known as mean propagation law:
where in order to arrive at the last equation we should recognize that:
\(\mathbb{E}(q(\mu_Y))=q(\mu_Y)\) (since \(\mu_Y\) is deterministic and known)
\(\mathbb{E}(Y-\mu_Y)=\mathbb{E}(Y)-\mu_Y= 0\)
\(\mathbb{E}\left((Y-\mu_Y)^2\right)=\sigma_Y^2\).
For the variance of \(X=q(Y)\) it generally suffices to use a first-order approximation. The result follows as:
and is referred to as the variance propagation law.
Function of two random variables#
Let’s consider the case that we have one function of two random variables, \(Y = [Y_1\; \;Y_2]^T\) with known mean and covariance matrix:
The Taylor series approximations of \(X=q(Y_1,Y_2)\) follow as:
These are thus the mean and variance propagation laws for a function of two random variables. Pay attention to the \(\approx\)-sign.
If \(Y_1\) and \(Y_2\) are independent, we have that \(Cov(Y_1,Y_2)=0\), such that the last term in both equations disappears.
We will measure the period on one oscillation \(T\) of a pendulum, and also the length \(L\) of the pendulum. Both measurements are affected by random errors, and therefore the ‘calculated’ gravitational acceleration \(G\) is a function of two random variables:
\(G=q(L,T)= 4\pi^2 \frac{L}{T^2}\)
Apply the mean and variance propagation laws to approximate the mean and variance of \(G\) given that the expectations \(\mathbb{E}(L)= \mu_L\) and \(\mathbb{E}(T)= \mu_T\), as well as the variances \(\sigma^2_L\) and \(\sigma^2_T\) are known, and the covariance \(Cov(L,T)=0\).
Solution
First determine the first- and second-order partial derivatives of the function \(q(L,T)\) to obtain:
Functions of \(n\) random variables#
The propagation laws for functions of \(n\) random variables are as follows:
We have the following equation, corresponding to the wind loading equation \(F\),
Assume \(A\), \(P\), and \(C_d\) are independent random variables.
What is the covariance matrix of the random vector \(Y=[A, P, C_d]^T\)?
Solution
What is the approximation of the mean \(\mu_F\)?
Solution
(second-order partial derivatives are all 0, and also the covariances are all 0)
What is the approximation of \(\sigma^2_F\)?
Solution
The evaporation \(Q\) is given as function of net radiation \(R_n\), ground heat flux \(G\) and Bowen ratio \(B\):
Assume that the random variables \(R_n\), \(G\), \(B\) are independent.
What is the approximation of \(\sigma^2_Q\):
Solution
Video#
In this video the functions of \(n\) random variables is discussed, as well as the linear propagation laws is explained.
Attribution
This chapter was written by Sandra Verhagen. Find out more here.