Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Download the daily adjusted closing prices of Citigroup (Ticker: C) and the SPDR (ticker: SPY) from 2010-01-01 until the latest closing. a. Compute the standard

Download the daily adjusted closing prices of Citigroup (Ticker: C) and the SPDR (ticker: SPY) from 2010-01-01 until the latest closing.

a. Compute the standard deviation of daily returns of C and SPY.

b. Compute the correlation between C and SPY C returns.

c. Generate a scatter plot of Citigroup returns on the y-axis vs. SPY returns on the x-axis.

d. Using the library statsmodels, run a regression of daily returns of Citigroup stock on SPY and report the beta and the R-square of the regression.

Provide Python code please.

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

Securitisation Derivatives A Practioner's Handbook

Authors: Mark Aarons, Vlad Ender, Andrew Wilkinson

1st Edition

1119532272, 978-1119532279

More Books

Students also viewed these Finance questions

Question

=+(8.56) P"=A, + LA"A. H~2 and IA| Answered: 1 week ago

Answered: 1 week ago