Question
Using: tinytex on r markdown file in R STUDIO 1) Import the adjusted stock prices for the three stocks which you have been assigned. See
Using: tinytex on r markdown file in R STUDIO
1) Import the adjusted stock prices for the three stocks which you have been assigned. See the Markdown file for hints.
2) Plot the prices of each asset over time separately. Succinctly describe in words the evolution of each asset over time. (limit: 100 words for each time series).
3) Calculate the daily percentage returns of each asset using the following formula: rt = 100 ∗ ln Pt Pt−1 Where Pt is the asset price at time t. Then plot the returns for each asset over time.
4) Create a histogram for each of the returns series (explain how you determined the number of bins to use).
5) Report the descriptive statistics in a single table which includes the mean, median, variance, standard deviation, skewness and kurtosis for each series. What conclusions can you draw from these descriptive statistics?
6) Under the assumption that the returns of each asset are drawn from an independently and identically distributed normal distribution, are the expected returns of each asset statistically dierent from zero at the 1% level of significance? Provide details for all 5 steps to conduct a hypothesis test, including the equation for the test statistic. Calculate and report all the relevant values for your conclusion and be sure to provide an interpretation of the results.
7) Assume the returns of each asset are independent from each other. With this assumption, are the mean returns statistically dierent from each other at the 1% level of significance? Provide details for all 5 steps to conduct each of the hypothesis tests using what your have learned in the unit. Calculate and report all the relevant values for your conclusion and be sure to provide and interpretation of the results. (Hint: You need to discuss the equality of variances to determine which type of test to use.)
8) Calculate and present the correlation matrix of the returns. Discuss the direction and strength of the correlations.
9) Is the assumption of independence of stock returns realistic? Provide evidence (the hypothesis test including all 5 steps of the hypothesis test and the equation for the test statistic) and a rationale to support your conclusion
10) Suppose that an investor has asked you to assist them in choosing two of these three stocks to include in their portfolio. The portfolio is defined by r = w1r1 + w2r2 Where r1 and r2 represent the returns from the first and second stock, respectively, and w1 and w2 represent the proportion of the investment placed in each stock. The entire investment is allocated between the two stocks, so w + 1 + w2 = 1. The investorfavours the combination of stocks that provides the highest return, but dislikes risk. Thus the investor’s happiness is a function of the portfolio, r: h(r) = E(r) − Var(r) 2 Where E(r) is the expected return of the portfolio, and Var(r) is the variance of the portfolio.1 Given your values forE(r1), E(r2), Var(r1), Var(r2) and Cov(r1, r2) which portfolio would you recommend to the investor? What is the expected return to this portfolio? Provide evidence to support your answer, including all the steps undertaken to arrive at the result. (*Hint: review your notes from tutorial 6 on portfolio optimisation. A complete answer will include the optimal weights for each possible portfolio (pair of stocks) and the expected return for each of these portfolios.)
11) Two significant financial events have occurred in recent history. On September 15, 2008 Lehman Brothers declared bankruptcy and a Global Financial Crisis started. On March 11, 2020 the WHO declared COVID-19 a pandemic. Use linear regression to determine if a. Any of the stocks in your data exhibit positive returns over time. b. Either of the two events had a significant impact on returns. Report the regression output for each stock and interpret the results to address these two questions. How would you interpret this information in the context of your chosen portfolio?
Step by Step Solution
3.50 Rating (173 Votes )
There are 3 Steps involved in it
Step: 1
To import the adjusted stock prices for the three stocks in R Markdown using the tinytex package you can follow these steps First ensure that the tinytex package is installed in your R environment by ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started