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 (Estimated 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 Cyber Attack Survival Manual

Authors: Heather Vescent ,Nick Selby

1st Edition

1681886545, 978-1681886541

More Books

Students also viewed these Finance questions