Hi quick question:(adsbygoogle = window.adsbygoogle || []).push({});

Suppose you have a function of random variables given in the following way

Z=X if condition A

Z=Y if condition B

where both X and Y are random variables, and conditions A & B are disjoint.

Then would the expectation of Z be

E[Z]=E[X]*Pr(A)+E[Y]*Pr(B)?

Thanks in advance.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# E[f(X)] - Expectation of function of rand. var.

Loading...

Similar Threads - Expectation function rand | Date |
---|---|

B The expectation value of superimposed probability functions | Sep 9, 2017 |

A Conditional expectation and covariance of function of RVs | Jun 26, 2016 |

How can I find the CDF and PDF of Y? | Oct 6, 2015 |

Formula for the expected value of a function | Oct 27, 2012 |

Convergence of the Expected Value of a Function | Sep 29, 2012 |

**Physics Forums - The Fusion of Science and Community**