Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Please use the following instructions. The instructions indicate how to download daily stock price of General Electric Company from 2010-01-01 to 2020-12-31 from Yahoo!

1. Please use the following instructions. The instructions indicate how to download daily stock price of General Electric Company from 2010-01-01 to 2020-12-31 from Yahoo! Finance and how to convert it to daily log return.

library(quantmod)

getSymbols("GE", src = "yahoo", from='2010-01-01', to='2020-12-31')

GE.Adj <- GE$GE.Adjusted

logreturns <- diff(log(GE.Adj))

logreturns <- logreturns[-1,]

a) Assuming that the daily log returns for General Electric Company follow normal distribution, estimate 95% VaR (Value at Risk).

b) Estimate 95% ES (Expected Shortfall) based on the sample distribution.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Structure Of Groups With A Quasiconvex Hierarchy (AMS-209)

Authors: Daniel T Wise

1st Edition

069121350X, 9780691213507

More Books

Students also viewed these Mathematics questions