Skip to main content
HomeR

Course

Introduction to Portfolio Analysis in R

Beginner
4.7+
37 reviews
Updated 05/2025
Apply your finance and R skills to backtest, analyze, and optimize financial portfolios.
Start Course for Free

Included withPremium or Teams

RApplied Finance5 hours14 videos57 Exercises4,400 XP34,238Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

A golden rule in investing is to always test the portfolio strategy on historical data, and, once you are trading the strategy, to constantly monitor its performance. In this course, you will learn this by critically analyzing portfolio returns using the package PerformanceAnalytics. The course also shows how to estimate the portfolio weights that optimally balance risk and return. This is a data-driven course that combines portfolio theory with the practice in R, illustrated on real-life examples of equity portfolios and asset allocation problems. If you'd like to continue exploring the data after you've finished this course, the data used in the first three chapters can be obtained using the tseries-package.

Prerequisites

Intermediate R for Finance
1

The Building Blocks

Start Chapter
2

Analyzing Performance

Start Chapter
3

Performance Drivers

Start Chapter
4

Optimizing the Portfolio

Start Chapter
Introduction to Portfolio Analysis in R
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.7
from 37 reviews
78%
16%
5%
0%
0%
  • Micheal
    about 8 hours

  • Moyinoluwa Eniola
    about 11 hours

  • Monil
    3 days

    Got to learn more than i knew

  • Frank
    4 days

  • Prachi
    4 days

  • Amogh
    4 days

    very nice

Micheal

Moyinoluwa Eniola

"Got to learn more than i knew"

Monil

Join over 16 million learners and start Introduction to Portfolio Analysis in R today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.