Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

INDIVIDUAL PRACTICAL ASSIGNMENT in PYTHON Course FIN30200 Academic Year 2021/2022 This assignment is composed of two parts

Computer Science Oct 25, 2021

INDIVIDUAL PRACTICAL ASSIGNMENT in PYTHON

Course FIN30200 Academic Year 2021/2022

This assignment is composed of two parts. The first part is about the estimation of the Capital Asset Price Model (CAPM) and testing hypotheses. The second part is about the estimation and selection of ARIMA models.

You have to return a PDF file with answers to all questions, reporting tables with results, plots, and in Appendix you should add PYTHON codes. Remember to add your name and your ID number on the first page! There is not word count or page limitations.

PART 1 - CAPM

A fundamental idea of modern finance is that an investor needs a financial incentive to take a risk. In other words, the expected return on a risky investment, R, must exceed the return on a safe, or risk-free, investment, Rf. Thus the expected excess return, R Rf, on a risky investment, like owing stock in a company, should be positive. At first, it might seem like the risk of a stock should be measured by its variance. Much of that risk, however, can be reduced by holding other stock in a ”portfolio” (i.e. by diversifying your financial holdings). This means that the right way to measure the risk of a stock is not by its variance but rather by its covariance with the market. The Capital Asset Pricing Model (CAPM) formalizes this idea. According to this model, the expected excess return on an asset is proportional to the expected excess return on a portfolio of all available assets (”the market portfolio”). The CAPM says:     

(Rit Rft) = αj + βj(Rmt Rft)            (1)

where Rit is the expected return of the firm j, Rft measures the expected of

return of a risk-free asset during period t (the Federal Funds Rate, FFR), and Rmt is the expected return on the market portfolio t (SP500).

According to the CAPM, a stock with a β < 1 has less risk than the market portfolio and therefore has a lower expected excess return than the market portfolio. Meanwhile, a stock with β > 1 is riskier than the market portfolio and thus commands a higher expected excess return. For more details see Brooks, pages 134 and 648.

The purpose of this assignment is to use the CAPM model to cryptocurrencies (as reference, see Shen, Urquhart, and Wang, 2020, Finance Research Letters. The model they use is a little different. Please use the standard CAPM model in your assignment.).

  1. Using https://finance.yahoo.com/cryptocurrencies, download the prices of 10cryptocurrencies from September 2015 (or the oldest release) to August 2021 (in historical data). Tranform them adequately to have log return x 100 (rt=ln(Pt/Pt−1)x 100). Using dataset maintened by Federal Reserve of St. Louis https://fred.stlouisfed.org/, download SP500 and risk free interest rate (FFR) for the same sample period.
  2. Transform SP500 in order to have a growth return (taking the logarithmic first difference and multiply it by 100).
  3. Estimate model 1) on the overall sample. Report results and comment sta-tistical indicators. Check if residuals are normally distributed, serially correlated, and/or heteroscedastic. Comment the results.
  4. Re-estimate point c) using robust standard errors. Did something change? Comment.
  5. For each cryptocurrency, test the null hypothesis that α = 0 against alternative hypothesis α 6= 0, using a significance level of 95%. Would rejection of this null hypothesis imply that the CAPM has been invalidated? Comment.
  6. Split your sample in two parts. Repeat point c). Do you have the same results?

Comment.

  1. Repeat point c) without including the constant. Do you have the same results?

Comment.

PART 2 - ARIMA

Using FRED St. Louis dataset (https://fred.stlouisfed.org/), download a macroeconomic series. Select monthly or quarterly frequency and extract the series from January 1995 until today.

  1. Report the plot of the series. Comment.
  2. Report the correlogram of the series. Comment.
  3. Is the series stationary? Comment.
  4. Transform adequately the series.
  5. Estimate several ARIMA models according to correlogram, model diagnostic(significance, tests on residuals, and information criteria). Comment.
  6. Compare the estimated models. Which is the best one? Comment.

Expert Solution

Archived Solution
Unlocked Solution

You have full access to this solution. To save a copy with all formatting and attachments, use the button below.

Already a member? Sign In
Important Note: This solution is from our archive and has been purchased by others. Submitting it as-is may trigger plagiarism detection. Use it for reference only.

For ready-to-submit work, please order a fresh solution below.

Or get 100% fresh solution
Get Custom Quote
Secure Payment