{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

160a09_mid

# 160a09_mid - Name PSTAT 160A Winter 09 Midterm Exam Problem...

This preview shows pages 1–3. Sign up to view the full content.

Name: PSTAT 160A Winter 09 Midterm Exam Problem 1. (30 points) In this problem, we want to simulate the random variable X with pdf given by p X ( k ) = p 2 k (1 - p ) k - 1 , k = 1 , 2 , · · · 1) Show that this is a valid pdf (hint: the mean of a Geometric( p ) is 1 /p ) 2) Give the simple algorithm seen in class to simulate from a Geometric distribution 3) We want to simulate X with rejection method, using a Geometric ( p 0 ) random variable Y . Set-up the method in this example. Give the values of p and p 0 that can work. Hint: the function xr x , x 0 , 0 < r < 1 fixed, has a maximum at x o = - 1 /log ( r ). 4) What is the expected number of steps required to generate a value for X ? 5) What should be the optimal choice for p 0 ? (you should work on this question once you’re done with the rest of your exam)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 Problem 2. (30 points) (very short, very simple questions!!!!) Let ( X, Y ) have joint pdf such that the points (0 , 0) , (0 , 1) , (1 , 0) have the same probability. a) Are X and Y independent and why?
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern