write my assignment 11169

Problem 1: We are interested to understand the relationship between the stock price of a listedcompany and the S&P500 Index. We collect prices for the two assets from Yahoo!Finance.

We first create the returns of the stock and the index, where the return is defined here as the dailypercentage change. We then create the following two variables:

Y: equal to 1 if the stock return in day t is larger or equal to zero, and equal to 0 if thestock return was negativeX: equal to 1 if the market return in day t is larger or equal to zero, and equal to 0 if themarket return was negative

The joint probability density function of X and Y is given in the following Table_Y=0 Y=1X = 0 0.307 0.167X = 1 0.179 0.347

Answer the following questions:

a. What does each number in the four cells represent?b. Calculate the marginal distribution of X and Yc. Calculate the probability density function of Y conditional on X=0 and X=1d. Calculate the expected value of Y conditional on X=0e. Calculate the expected value of Y conditional on X=1f. Are X and Y independent? Justify your statement

 
"Not answered?"
Get the Answer