Fintech: Theory and Practice in Python, R and Excel

Risk modeling, optimization, factor analysis and regression in Python, R and Excel

What's Inside

This course lies at the intersection of 4 areas - math, finance, computer science and business. That's a lot going on, but each of these disciplines has a role to play in fintech.

Four modules are covered:

1. Risk Modeling

2. Factor Analysis

3. Numerical Optimization

4. Linear and Logistic Regression

Risk Modeling

A financial portfolio is almost always modeled as the sum of correlated random variables. Measuring the risk of this portfolio accurately is important for all kinds of applications: the financial crisis of 2007, the failure of the famous hedge fund LTCM and many other mishaps are attributable to poor risk modeling.

In this course, we cover the theory and practice of robust risk modeling:

  • Model risk using covariance matrices and historical returns
  • Refine this approach using factor models for dimensionality reduction and robustness
  • Generate realistic stress-test scenarios using these factor model
  • Calculate Value-at-Risk and understand the implications, strengths and weaknesses of this approach
  • Implement all of this in Python, Excel and R

Factor Analysis:

Factor analysis helps to cut through the clutter when you have a lot of correlated variables to explain a single effect.

This course will help you understand Factor analysis and it’s link to linear regression. See how Principal Components Analysis is a cookie cutter technique to solve factor extraction and how it relates to Machine learning .

What's covered?

Principal Components Analysis

  • Understanding principal components
  • Eigen values and Eigen vectors
  • Eigenvalue decomposition
  • Using principal components for dimensionality reduction and exploratory factor analysis.

Implementing PCA in Excel, R and Python

  • Apply PCA to explain the returns of a technology stock like Apple
  • Find the principal components and use them to build a regression model

Numerical Optimization:

Optimization techniques are used everywhere, but until recently they were not that important in software. With the rising importance of machine learning that is changing, because training ML models requires optimization in parameter training.

This course focuses on the theory and implementation of optimization in Python, R and Excel.

  • Understand the classic linear programming problem setup and the primal and dual problems
  • Really understand the simplex method - intuition, mechanics and implementation
  • Study various extensions to the Simplex method, including K-of-N constraints and quadratic objective functions
  • Understand what integer programming is, and how the LP-relaxation problem can be helpful
  • Be aware of the dangers of blindly using the LP-relaxation and then rounding off the solutions
  • Implement portfolio optimization for risk minimization in Python, Excel and R

Linear and Logistic Regression:

This course will teach you how to build robust linear models and do logistic regression in Excel, R and Python.

Linear Regression is a powerful method for quantifying the cause and effect relationships that affect different phenomena in the world around us. This course will teach you how to build robust linear models that will stand up to scrutiny when you apply them to real world situations.

Logistic regression: Logistic regression has many cool applications : analyzing consequences of past events, allocating resources, solving binary classification problems using machine learning and so on. This course will help you understand the intuition behind logistic regression and how to solve it using cookie-cutter techniques.

Simple Regression :

  • Method of least squares, Explaining variance, Forecasting an outcome
  • Residuals, assumptions about residuals
  • Implement simple regression in Excel, R and Python
  • Interpret regression results and avoid common pitfalls

Multiple Regression :

  • Implement Multiple regression in Excel, R and Python
  • Introduce a categorical variable

Logistic Regression :

  • Applications of Logistic Regression, the link to Linear Regression and Machine Learning
  • Solving logistic regression using Maximum Likelihood Estimation and Linear Regression
  • Extending Binomial Logistic Regression to Multinomial Logistic Regression
  • Implement Logistic regression to build a model stock price movements in Excel, R and Python


Course Curriculum

Get started now!



Certificate Available
1201+ Students
131 Lectures
0+ Hours of Video
Lifetime Access
24/7 Support
Instructor Rating
Loonycorn

Loonycorn is comprised of a couple of individuals —Janani Ravi and Vitthal Srinivasan—who have honed their tech expertises at Google and Stanford. The team believes it has distilled the instruction of complicated tech concepts into funny, practical, engaging courses, and is excited to be sharing its content with eager students.

Popular Bundles