Continuous r.v practice problems

Similar documents
STA 256: Statistics and Probability I

STAT 430/510: Lecture 16

Random Signals and Systems. Chapter 3. Jitendra K Tugnait. Department of Electrical & Computer Engineering. Auburn University.

Multivariate distributions

Homework 10 (due December 2, 2009)

Problem Y is an exponential random variable with parameter λ = 0.2. Given the event A = {Y < 2},

Homework 9 (due November 24, 2009)

ECE Lecture #9 Part 2 Overview

STAT/MA 416 Answers Homework 6 November 15, 2007 Solutions by Mark Daniel Ward PROBLEMS

HW4 : Bivariate Distributions (1) Solutions

ECE302 Exam 2 Version A April 21, You must show ALL of your work for full credit. Please leave fractions as fractions, but simplify them, etc.

Chapter 5 Joint Probability Distributions

Homework 5 Solutions

Perhaps the simplest way of modeling two (discrete) random variables is by means of a joint PMF, defined as follows.

p. 6-1 Continuous Random Variables p. 6-2

Chapter 4 Multiple Random Variables

STAT 430/510 Probability

Lecture 19: Properties of Expectation

f X, Y (x, y)dx (x), where f(x,y) is the joint pdf of X and Y. (x) dx

1 Solution to Problem 2.1

Continuous Random Variables

Class 8 Review Problems solutions, 18.05, Spring 2014

2 (Statistics) Random variables

18.440: Lecture 19 Normal random variables

SDS 321: Introduction to Probability and Statistics

Lesson 3: Linear differential equations of the first order Solve each of the following differential equations by two methods.

MATH/STAT 395 Winter 2013 This homework is due at the beginning of class on Friday, March 1.

Probability and Distributions

STAT 515 MIDTERM 2 EXAM November 14, 2018

STAT Chapter 5 Continuous Distributions

2 Functions of random variables

STAT 430/510: Lecture 15

Chapter 4. Chapter 4 sections

General Random Variables

we need to describe how many cookies the first person gets. There are 6 choices (0, 1,... 5). So the answer is 6.

Chapter 4 Multiple Random Variables

1 Random Variable: Topics

Random Variables. Random variables. A numerically valued map X of an outcome ω from a sample space Ω to the real line R

1 x 2 and 1 y 2. 0 otherwise. c) Estimate by eye the value of x for which F(x) = x + y 0 x 1 and 0 y 1. 0 otherwise

1 Review of di erential calculus

ENGG2430A-Homework 2

ECE353: Probability and Random Processes. Lecture 7 -Continuous Random Variable

Continuous Random Variables

ECE 302 Division 2 Exam 2 Solutions, 11/4/2009.

Conditional distributions. Conditional expectation and conditional variance with respect to a variable.

SUMMARY OF PROBABILITY CONCEPTS SO FAR (SUPPLEMENT FOR MA416)

Chapter 2. Some Basic Probability Concepts. 2.1 Experiments, Outcomes and Random Variables

Let X and Y denote two random variables. The joint distribution of these random

Stochastic Models of Manufacturing Systems

This exam is closed book and closed notes. (You will have access to a copy of the Table of Common Distributions given in the back of the text.

SOLUTION FOR HOMEWORK 11, ACTS 4306

Solution to Assignment 3

ECO220Y Continuous Probability Distributions: Uniform and Triangle Readings: Chapter 9, sections

1 Basic continuous random variable problems

Random Variables. Cumulative Distribution Function (CDF) Amappingthattransformstheeventstotherealline.

Math 3215 Intro. Probability & Statistics Summer 14. Homework 5: Due 7/3/14

STAT 516 Midterm Exam 3 Friday, April 18, 2008

STAT 509 Section 3.4: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

P (x). all other X j =x j. If X is a continuous random vector (see p.172), then the marginal distributions of X i are: f(x)dx 1 dx n

Chapter 4. Multivariate Distributions. Obviously, the marginal distributions may be obtained easily from the joint distribution:

Continuous distributions

Quantitative Methods in Economics Conditional Expectations

Review: mostly probability and some statistics

STT 441 Final Exam Fall 2013

STAT515, Review Worksheet for Midterm 2 Spring 2019

ECE 302: Probabilistic Methods in Engineering

Solution. This is a routine application of the chain rule.

Formulas for probability theory and linear models SF2941

4. CONTINUOUS RANDOM VARIABLES

Math438 Actuarial Probability

CHAPTER 8. Normal distribution Introduction. A synonym for normal is Gaussian. The first thing to do is show that this is a density.

Stat 366 A1 (Fall 2006) Midterm Solutions (October 23) page 1

Introduction to Probability and Stocastic Processes - Part I

A review of probability theory

Bivariate distributions

Math 416 Lecture 2 DEFINITION. Here are the multivariate versions: X, Y, Z iff P(X = x, Y = y, Z =z) = p(x, y, z) of X, Y, Z iff for all sets A, B, C,

Lecture 8: Channel Capacity, Continuous Random Variables

MATH 151, FINAL EXAM Winter Quarter, 21 March, 2014

Multiple Random Variables

Statistics 100A Homework 5 Solutions

Mathematics 426 Robert Gross Homework 9 Answers

4 Pairs of Random Variables

conditional cdf, conditional pdf, total probability theorem?

Practice Examination # 3

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH A Test #2 June 11, Solutions

Random Variables. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay

SDS 321: Introduction to Probability and Statistics

Solutions to Homework Set #5 (Prepared by Lele Wang) MSE = E [ (sgn(x) g(y)) 2],, where f X (x) = 1 2 2π e. e (x y)2 2 dx 2π

Statistics STAT:5100 (22S:193), Fall Sample Final Exam B

18.440: Lecture 28 Lectures Review

This does not cover everything on the final. Look at the posted practice problems for other topics.

UCSD ECE153 Handout #27 Prof. Young-Han Kim Tuesday, May 6, Solutions to Homework Set #5 (Prepared by TA Fatemeh Arbabjolfaei)

Review of Probability Theory

Math 201 Solutions to Assignment 1. 2ydy = x 2 dx. y = C 1 3 x3

1 Expectation of a continuously distributed random variable

2. Suppose (X, Y ) is a pair of random variables uniformly distributed over the triangle with vertices (0, 0), (2, 0), (2, 1).

We introduce methods that are useful in:

SDS 321: Practice questions

Random Variables and Probability Distributions

More than one variable

Transcription:

Continuous r.v practice problems SDS 321 Intro to Probability and Statistics 1. (2+2+1+1 6 pts) The annual rainfall (in inches) in a certain region is normally distributed with mean 4 and standard deviation 4. (a) What is the probability that, starting with this year, it will take over 1 years before a year occurs having a rainfall of over 5 inches? Let R denote the amount of rainfall. P (R 5) P ( R 4 4 2.5) 1 Φ(2.5).6. Let X be the number of years before we see over 5 inches of rainfall. P (X 1) P (None of the first 1 years have more than 5 inches of rain) (1.6) 1.94. 1 pt for getting P (R 5). 1 pt for correct calculation with geometric. (b) What is the probability that at least 4 out of the next 5 years will have a rainfall of over 5 inches? This is a binomial probability with n 5, p.6 and np.3. May be better to use X P oisson(3) where X denotes number of years with rainfall more than 5 inches. P (X 4) 1 ( 3 P (X i)) 1.9997.3 i 1 pt for understanding this is a binomial. 1 pt for the expression. OK if they dont evaluate it. (c) What is the expected number of years with over 5 inches of rainfall in the next 5 years? Expectation of a Poisson: 5.6.3. 1 pt for using the expectation of a binomial. (d) What assumptions are you making? The rainfall on each day is independent of each other. 1 pt for correct answer. 2. (2+1+3+1+3 1pts) The joint pdf of two random variables X and Y are given by: 24xy x, y [, 1], x + y 1 f X,Y (x, y) otherwise (a) Show that f X,Y (x, y) is a valid joint probability density function. x 24xydxdy 12 x(1 x) 2 dx 12 (x 2x 2 + x 3 ) 1 1 pt for correct limits on y (or x) and 1 pt for seeing it integrates to one. 1

(b) Find f X (x). f X (x) y f X,Y (x, y)dxdy x 24xydy 12x(1 x) 2 When x and zero otherwise. same as before. (c) Find E[X] and var(x). E[X] 12 xf X (x)dx 12 var(x) E[X 2 ] E[X] 2 12 x 2 (1 x) 2 dx (x 2 2x 3 + x 4 )dx 12(1/3 1/2 + 1/5) 2/5 x 2 f X (x)dx (2/5) 2 x 3 (1 2x + x 2 )dx 4/25 12 (x 3 2x 4 + x 5 )dx 4/25.4 Any consistent rubric would do as long as they know the definitions of E and Var and know how to integrate x i. (d) Find f Y (y). By symmetry, this is f Y (y) 12y(1 y) 2 when y and zero otherwise. Like the corresponding rubric for X. (e) Find E(Y ) and var(y ). Since the pdf s are the same, the expectation and variances are too. 3. (2+1+1+2+28pts) The random variables X and Y have joint density function cxy(1 x) < x < 1, < y < 1 f X,Y (x, y) otherwise (a) Find c. c xy(1 x)dxdy c c 12 x(1 x)dx ydy c 12 1 (b) Find E[X]. f X (x) f X,Y (x, y)dy 6x(1 x). So E[X] 6x2 (1 x)dx.5 (c) Find E[Y ]. f Y (y) f X,Y (x, y)dx 2y. So E[Y ] 2y2 dy 2/3. (d) Find V ar(x). var(x) E[X 2 ].25 6x3 (1 x)dx.25 3/1 1/4 1/2 (e) Find V ar(y ). var(y ) E[Y 2 ] 4/9 2y3 dy 4/9 1/2 4/9 1/18 2

4. The random variables X and Y have a joint density function given by: 2e 2x /x x <, y x f(x, y) otherwise (a) What are f X (x) and f Y (y)? (b) What are E[X] and E[Y ]? We have: f X (x) y f X,Y (x, y)dy x 2e 2x /xdy 2e 2x. So And So, E[Y ] f Y (y) E[X] yf Y (y)dy 2e 2x x ( x x x2e 2x dx 1/2 f X,Y (x, y)dx y( ydy)dx y 2e 2x x y dx)dy 2e 2x /xdx xe 2x dx 1/4 ve v dv 1/4 In the last step, we changed the order of the integrals. Originally the outer integral was over y < and inner was over y x <. But for ease of integration, the outer integral is now over x < and the inner is over y x. 5. f X (x) C(2x x 3 ) < x < 5/2 x Could f be a probability density function? If so find C. We want 1 5/2 C(2x x 3 )dx C(2.5 2 (2.5) 4 /4) C2.5 2 (1 25/16) 3.51C. Now say we use C 1/3.51.28. If f(x) > for all x and integrates to one, then we call it a valid pdf. If you can find a x where it is negative then this is not. f(1) C(x 2 x 4 /4) 3C/4. If C < then this is negative and thats not okay. So no, this cannot be a probability density function. 6. Consider the density function f X (x) C(2 x) < x < 2 x Could f be a probability density function? If so find C. We know that 2 C(2 x)dx 1 and so C(4 (2) 2 /2) 2C 1 and so C 1/2. Also (2 x)/2 for < x < 2. So this is a valid pdf. (a) We know that 2 C(2 x)dx 1 and so C(4 (2)2 /2) 2C 1 and so C 1/2. (b) Also (2 x)/2 for < x < 2. (c) So this is a valid pdf. 3

7. Let U be an uniform [, 1] r.v and let a < b be constants. Show that: (a) If b > then bu Uniform([, b]). (b) a + U Uniform([a, a + 1]) (c) What function of U is distributed as Uniform([a, b]) (d) Show that min(u, 1 U) Uniform(, 1/2) (a) Let X bu. Fist note the values X bu can take. X [, b] When F X (x) P (X x) P (bu x) For x < F X (x) P (U x/b) x/b du u/b For x/b 1 1 For x/b > 1 So f X (x) 1/b when x [, b] and otherwise. But this is the pdf of a Uniform([, b]). (b) First note that a + U [a, a + 1]. Now, F a+u (x) P (a + U x) P (U x a) (x a), when x [a, a + 1], when x < a and 1 when x > a. So f a+u (x) 1 when x [a, a + 1] and otherwise. This is Uniform[a, a + 1]. (c) From the last two exercises we see that adding a constant shifts the Uniform distribution, and multiplying by a constant stretches it. To convert U nif orm([, 1]) to U nif orm([a, b]) we need both shifting and stretching. Let X αu + β Uniform([a, b]). X [β, α + β]. β a and α + β b and so α b a. So (b a)u + a Uniform([a, b]) (d) Let X min(u, 1 U). First note that X has to lie in [, 1/2]. F X (x) P (min(u, 1 U) x) 1 P (U x, 1 U x) 1 P (x U 1 x) 1 (1 2x) 2x If x 1/2 and otherwise And f X (x) 2 if x [, 1/2]. This is Uniform([, 1/2]). 8. The joint density of X and Y are given by: xe (x+y) x >, y > f X,Y (x, y) otherwise (a) Are X and Y independent? (b) What are f X (x) and f Y (y)? (c) What is P (X + Y 2)? (a) Check if the joint factorizes for all x, y? Yes. So independent. Always remember, check if the bounds on x involve y, that can lead to dependence. Here it does not. (b) f X (x) y xe (x+y) dy xe x (c) f Y (y) x xe (x+y) dy e y xe x dx e y. 4

(d) This is convolution, because the random variables are independent. P (X + Y 2) x 2 x 2 x 2 x y f X (x)f Y (y)dxdy 2 x xe x e y dydx y xe x (1 e (2 x) )dx 2 x 2 xe x dx e 2 xdx (1 3/e 2 ) 2/e 2 1 5/e 2 Note that after you plug in f Y (y), you basically say that 2 x so x 2 and that changes the limits on x. 9. The joint density function of X and Y is: x + y < x < 1, < y < 1 f X,Y (x, y) otherwise (a) Are X and Y independent? (b) Find f X (x) (c) Find P (X + Y < 1) (a) No, the joint density does not factorize into a product of functions of x and y. (b) f X (x) y (x + y)dy x + 1/2 and f Y (y) y + 1/2 (c) P (X + Y 1) f X,Y (x, Y )dxdy (x,y):x+y 1 x x y (x + y)dxdy (x(1 x) + (1 x) 2 /2)dx (x x 2 + 1/2 x + x 2 /2) (1/2 x 2 /2) 1/2 1/6 1/3 1. The running time in seconds of an algorithm on a medium sized data set is approximately normally distributed with mean 3 and variance 25. (a) What is the probability that the running time of a run selected at random will exceed 25 seconds? (b) What is the probability that the running time of at least one of four randomly selected runs will exceed 25 seconds? 5

(c) What is the probability that the running time of all runs will exceed 25 seconds given at least one of four randomly selected runs will exceed 25 seconds? (a).8413 (b) 1 (1.8413) 4 (c).8413 4 /(1 (1.8413) 4 ) 11. (2+2+1+1 + 1+1 8pts) The joint density of X and Y is given by c < x < y, < y < 1 f X,Y (x, y) otherwise (a) What is c? (b) What is f Y (y)? (c) What is E[Y ]? (d) What is the conditional pdf f X Y (x y)? (e) Are X and Y independent? (a) The pdf has to normalize to one. xy f X,Y (x, y)dxdy c 2 x yx cdxdy c (1 x)dx c/2 1 x (b) f Y (y) x f X,Y (x, y)dx y x 2dx 2y When < y < 1 Otherwise (c) E[Y ] yf Y (y)dy 2y 2 dy 2/3 (d) f X Y (x y) f X,Y (x, y) f Y (y) 2 2y 1 y When < x < y, < y < 1 and otherwise. (e) f X (x) y f X,Y (x, y)dy yx 2dy 2(1 x) When < x < 1. otherwise No, since < x < y < 1, there are values such as x.5, y.1, where the pdf is zero but f X (x) and f Y (y) is nonzero. 6

.1.2.3.4.5.6.7.8.9.5.54.58.512.516.5199.5239.5279.5319.5359.1.5398.5438.5478.5517.5557.5596.5636.5675.5714.5753.2.5793.5832.5871.591.5948.5987.626.664.613.6141.3.6179.6217.6255.6293.6331.6368.646.6443.648.6517.4.6554.6591.6628.6664.67.6736.6772.688.6844.6879.5.6915.695.6985.719.754.788.7123.7157.719.7224.6.7257.7291.7324.7357.7389.7422.7454.7486.7517.7549.7.758.7611.7642.7673.774.7734.7764.7794.7823.7852.8.7881.791.7939.7967.7995.823.851.878.816.8133.9.8159.8186.8212.8238.8264.8289.8315.834.8365.8389 1.8413.8438.8461.8485.858.8531.8554.8577.8599.8621 1.1.8643.8665.8686.878.8729.8749.877.879.881.883 1.2.8849.8869.8888.897.8925.8944.8962.898.8997.915 1.3.932.949.966.982.999.9115.9131.9147.9162.9177 1.4.9192.927.9222.9236.9251.9265.9279.9292.936.9319 1.5.9332.9345.9357.937.9382.9394.946.9418.9429.9441 1.6.9452.9463.9474.9484.9495.955.9515.9525.9535.9545 1.7.9554.9564.9573.9582.9591.9599.968.9616.9625.9633 1.8.9641.9649.9656.9664.9671.9678.9686.9693.9699.976 1.9.9713.9719.9726.9732.9738.9744.975.9756.9761.9767 2.9772.9778.9783.9788.9793.9798.983.988.9812.9817 2.1.9821.9826.983.9834.9838.9842.9846.985.9854.9857 2.2.9861.9864.9868.9871.9875.9878.9881.9884.9887.989 2.3.9893.9896.9898.991.994.996.999.9911.9913.9916 2.4.9918.992.9922.9925.9927.9929.9931.9932.9934.9936 2.5.9938.994.9941.9943.9945.9946.9948.9949.9951.9952 2.6.9953.9955.9956.9957.9959.996.9961.9962.9963.9964 2.7.9965.9966.9967.9968.9969.997.9971.9972.9973.9974 2.8.9974.9975.9976.9977.9977.9978.9979.9979.998.9981 2.9.9981.9982.9982.9983.9984.9984.9985.9985.9986.9986 3.9987.9987.9987.9988.9988.9989.9989.9989.999.999 7