

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Eric Zivot Econ 424 Fall 2008
Problem Set #2 Part I Working with Random Variables and Probability Distributions Due: Wednesday 10/8/08 at the beginning of class
Readings
Programs and Data
Instructions
In this lab you will become more familiar with random variables and probability distributions. Try to do all of the calculations and plots in R. You will find the examples in probReview.R to be helpful for some of the exercises that follow.
Exercises
Hint : you can use the R functions pnorm and qnorm to answer these questions.
X/Y 1 2 3 1 0.1 0.2 0 2 0.1 0 0. 3 0 0.1 0.
a. Find the marginal distributions of X and Y. Using these distributions, compute E[X], var(X), SD(X), E[Y], var(Y) and SD(Y). b. Compute COV(X,Y) and CORR(X,Y) f. Are X and Y independent? Fully justify your answer.
Yahoo!)
a. What are the simple monthly returns for the two stocks?
b. What are the continuously compounded returns for the two stocks?