visualizing time series data in r - amazon s3...visualizing time series data in r conclusions so far...

17
VISUALIZING TIME SERIES DATA IN R Case study presentation Arnaud Amsellem The R Trader

Upload: others

Post on 27-Aug-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

VISUALIZING TIME SERIES DATA IN R

Case study presentation

Arnaud Amsellem The R Trader

Page 2: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

Your savings

● Microso!

● Yahoo

● Apple

Invested in a portfolio with 3 stocks

You have some spare cash to invest

Page 3: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

Role of correlationNew portfolio

Page 4: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

Role of correlation● Rule number one in investment: capital protection

● Low correlation = protection from severe losses

● You will use the PerformanceAnalytics-package

Page 5: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

VISUALIZING TIME SERIES DATA IN R

Let’s practice!

Page 6: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

VISUALIZING TIME SERIES DATA IN R

New stocks

Arnaud Amsellem The R Trader

Page 7: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

Conclusions so far● The value increased by 100% over the course of 7 years

● Really good performance between 2010 and 2014

● No performance since end of 2014

Page 8: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

In what follows...● Goal: Choose one stock to invest your spare cash

● A new dataset

● Choose only one stock

● Compare old and new portfolio

Page 9: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

VISUALIZING TIME SERIES DATA IN R

Let’s practice!

Page 10: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

VISUALIZING TIME SERIES DATA IN R

Congratulations!

Arnaud Amsellem The R Trader

Page 11: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

Course wrap-up● Chapter 1: xts, plot() etc…

● Chapter 2: Univariate time series

● Chapter 3: Multivariate time series

● Chapter 4: Case study

Page 12: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

Going further in time series analysisDataCamp courses

Page 13: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

Going further in time series analysisCRAN Task View h"ps://cran.r-project.org/web/views/TimeSeries.html

Page 14: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

Going further in financeDataCamp "Quantitative Analyst with R" career track

Page 15: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

Going further in financeEmpirical Finance CRAN Task View h"ps://cran.r-project.org/web/views/Finance.html

Page 16: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

Visualizing Time Series Data in R

R-bloggersh"ps://www.r-bloggers.com/

Page 17: VISUALIZING TIME SERIES DATA IN R - Amazon S3...Visualizing Time Series Data in R Conclusions so far The value increased by 100% over the course of 7 years Really good performance

VISUALIZING TIME SERIES DATA IN R

Thank you!