Appendix B. Random Variables