
Learn the course structure and hands-on Excel workflow for financial econometrics, covering prices and returns, probability, copulas, ARMA, cointegration, and volatility modeling with GARCH.
Access the resources zip file with Excel files and the Discord channels for Crypto Wizards or Code Raiders. Engage respectfully in the q&a, noting that long-term support is limited.
Click here for access to course resources
Explore how to model financial returns using ln returns, build histograms to visualize distributions, and interpret tails and density for probability-based forecasting.
Discover reliable sources for financial time series data, including Kaggle datasets and crypto exchange APIs, exportable to Excel with OHLCV fields for consistent course analysis.
This lecture offers a ready-to-use financial modeling template with data for the S&P, cryptos, and Apple/Google stocks, saving chart formatting so you focus on probability and the method of moments.
Learn to compute discrete probability densities for S&P 500 log returns from historical data, convert densities to percentage probabilities, and interpret the cumulative density function and pdf versus distribution.
Clarifies population versus sample in financial time series and presents mu, sigma, x-bar, s, variance, and standard deviation for inferring population parameters.
Explain the second central moment as variance (sigma squared), show population and sample variance formulas using deviations from the mean, and justify the t minus one adjustment.
Explore the standard normal distribution and its density function, standardize data to zero mean and unit variance, and use the area under the curve to assess probabilities.
Learn to build and analyze a normal distribution from scratch in Excel, using density and cumulative distribution functions, standard normal concepts, and a probability integral transform.
Practice skewness and kurtosis from sample data in Excel using mean, standard deviation, and z-scores; apply skew and kurtosis functions and note excess kurtosis.
Compare the empirical CDF and PDF of financial returns with the normal and Student t densities, highlighting how the Student t better fits tail risk and real data.
Compare the empirical pdf of standardized returns with the normal pdf and the student t pdf, overlay the curves, and discuss scaling, degrees of freedom, and verification.
Learn to compute an empirical cumulative distribution function (ECDF) from sorted returns, adjust for ties, and compare it to the normal CDF to reveal leptokurtic tails and nonlinearity.
Learn how to use a q-q plot to compare empirical data to a normal distribution by plotting quantiles, handling boundary issues, and interpreting deviations in tails.
Explore the meanings of the pdf and cdf, their parameters mu and sigma, and how to read left-hand side notation, area integrals, and inverse cdf in normal distributions.
Explore covariance and Pearson's correlation coefficient to understand how Bitcoin and Ethereum move together in time series, using variances, standard deviations, joint distributions, and copulas.
Explore how copulas link different marginal distributions to a joint distribution using Sklar's theorem, focusing on Gaussian, Student-t, and empirical copulas for risk and arbitrage.
Model the dependency between two assets with a gaussian copula, converting log returns to uniform marginals and applying inverse standard normal transforms. Explore conditional probabilities and model selection.
Compute the Gaussian copula conditional probability of one asset’s return given another’s, using the standard normal distribution and rho, with Bitcoin and Ethereum illustrating statistical arbitrage.
Explore how financial econometrics uses linear regression to model asset relationships in time series, estimate parameters with ordinary least squares or maximum likelihood, and test hypotheses with statistical tests.
Explore simple ordinary least squares with ANOVA concepts, deriving alpha and beta, calculating residuals, SSR, SSE, RSS, and R-squared, and assessing statistical significance with standard errors.
Test hypotheses in simple linear regression for time series analysis using t statistics, null hypothesis that beta equals zero, and a two-tailed approach with degrees of freedom and p-values.
Execute a simple ordinary least squares regression, compute t statistics for alpha and beta with the residuals' degrees of freedom, assess significance with an f statistic and p-values using linest.
Explore multiple OLS as an extension of simple regression, using lagged predictors with an X matrix; learn transpose, dot product, inverse, and Excel linest for coefficients and standard errors.
Estimate a multiple OLS model for S&P 500 returns using Nasdaq, Apple, Google, and a constant; verify coefficients with matrix algebra, standard errors, and significance tests.
Explore maximum likelihood estimation using a normal density in Excel, computing the pdf, log probabilities, and joint probability under independence, then optimize mu and variance via gradient descent.
Build and maximize the log-likelihood for a linear regression with normal density. Compare homoscedastic assumptions and MLE versus OLS, then note variance modeling with GARCH.
Estimate an ma1 model with maximum likelihood, solving for alpha, phi, and variance using starting values and Excel solver. See how crypto returns XC, USDt respond to prior shocks.
Understand autoregressive and moving average components in arma models, including ar(p) and ma(q) with corresponding phi and theta coefficients. Learn to estimate arma(p,q) in excel with ar1, ma1 examples.
Explore AR1 vs MA1 adaptation in ARMA, compare OLS and maximum likelihood estimation, and show AR1 OLS matching MLE results for phi and constant using log-likelihood.
learn to perform full ARMA estimation with maximum likelihood, estimate AR (phi) and MA (theta) parameters, compute x hat and epsilon, and compare resulting fits.
Explore the Gauss-Markov theorem and why ordinary least squares is the blue, best linear unbiased estimator under linearity, random sampling, no multicollinearity, zero conditional means, and homoscedasticity.
Explore the partial autocorrelation function as a diagnostic tool to isolate each lag's contribution in autoregressive models and compare with ACF, guiding PACF-informed AR order amid multicollinearity.
Explore how to convert prices into stationary returns for XECUSDT and compute the autocorrelation function across lags one to three, including a note on log returns and potential trading signals.
Explore the autocorrelation function for XECUSDT in time series analysis, using up and down day states to infer transitions and test a short-sell approach with prior positive returns.
Learn how weak stationarity, with a constant mean, variance, and autocovariance, underpins integration and cointegration, and how differencing or returns help avoid spurious regressions in financial time series.
Identify unit roots to assess stationarity by ensuring roots lie within the unit circle. Explore i(0) versus i(1) and how differencing and the augmented dickey-fuller test relate to ar models.
Apply the Dickey-Fuller and augmented Dickey-Fuller tests to assess stationarity in time series, using delta y, y lag, and optional trend or constant, and interpret t-stats against critical values.
Explore cointegration and mean reversion by testing integration, constructing the stationary spread from residuals of a linear regression, and applying Engle-Granger two-step and error correction models for pairs trading.
Explore the error correction model, cointegration, and residuals, measuring the speed of adjustment (gamma) and mean reversion in changes of x and y with lagged effects.
Explore how volatility, as a derived variance, varies over time with conditional heteroskedasticity. Learn the symmetrical GARCH model, its autoregressive structure, and how maximum likelihood estimation captures volatility dynamics.
Explore garch (symmetrical) volatility modelling using Bitcoin and Ethereum daily prices, estimating conditional variance with mean-corrected returns and maximum likelihood, and compare annualized volatility between assets.
Construct an agarch model by including gamma and estimating via maximum likelihood with a solver; interpret positive gamma as greater volatility reaction to negative shocks, with annualized volatility around 94.2%.
Congratulate students on finishing the course and guide essential reading for financial time series topics like cointegration, copulas, and GARCH, with books by Brooks, Tse, and Alexander.
Explore granger causality in time series, noting that one asset tends to precede yet not cause changes, with lag selection, p-values, and mean-reverting spread concepts like Ornstein-Uhlenbeck.
Embark on a Journey into Financial Econometrics and Time Series Analysis
This comprehensive learning experience will equip you with the skills to master financial econometrics, with a particular emphasis on the intricacies of time series analysis. Get ready to delve into both the theoretical underpinnings and practical applications, all while wielding the power of Excel.
Here's a glimpse into the terrain we'll explore:
1. Foundations: Building Your Statistical Arsenal
Data Acquisition: Begin your journey by discovering prime sources for financial data, such as Kaggle and direct exchanges. While you'll have access to diverse sources, we'll primarily use the provided course data to ensure a smooth, consistent learning experience.
Statistical Essentials: Grasp the core statistical measures—mean, variance, standard deviation—and unlock their power in deciphering data distributions. The exploration will extend to central moments, including the intriguing skewness and kurtosis.
Probability Distributions: Dive into the world of probability density functions (PDFs) and cumulative distribution functions (CDFs). Discover the nuances between discrete and continuous data, and master the art of representing probabilities using histograms and cumulative sums. We'll also uncover the secrets of the ubiquitous normal distribution.
Random Variables: Unravel the concept of random variables and their intimate relationship with probability functions.
2. Hands-On Data Mastery: Transforming Raw Data into Insights
Empirical vs. Theoretical: Construct empirical PDFs and CDFs from real-world data and engage in a fascinating comparison with theoretical distributions, like the elegant normal and the robust Student's T. This hands-on experience will involve sorting returns, standardizing data, and scaling empirical PDFs using Z-scores.
QQ Plots: Master the art of visual comparison using QQ plots, pitting empirical distributions against their theoretical counterparts. Quantiles will become your new best friends as you gain deeper insights into the distribution of financial returns.
Data Transformation: Equip yourself with essential data transformation techniques. Learn to calculate log returns and standardise your data, preparing it for rigorous analysis.
3. Statistical Modelling: Unveiling the Patterns Within
The Normal Distribution: Delve deeper into the fascinating properties of the normal distribution, examining it both as a density function and a cumulative distribution. Discover how to expertly fit this fundamental distribution to your data.
Mixture Densities: Expand your modelling toolkit by exploring mixture densities. Learn to blend multiple density functions, crafting mixed distributions that capture complex real-world scenarios.
Linear Regression: Explore the world of linear regression, both simple and multiple. Understand the foundational concepts of intercepts and slopes, and master the calculation of these crucial parameters using Ordinary Least Squares (OLS).
ANOVA Metrics: Get acquainted with essential ANOVA metrics: Residual Sum of Squares (RSS), Total Sum of Squares (TSS), Explained Sum of Squares (ESS), and the ever-important R-squared.
Hypothesis Testing: Develop a solid grasp of hypothesis testing, framing null and alternative hypotheses with precision. Statistical tests, including t-tests and the insightful p-values, will become your trusted tools for determining the significance of your findings.
Maximum Likelihood Estimation (MLE): Embrace Maximum Likelihood Estimation (MLE) as a powerful technique for estimating model coefficients. Delve into the concepts of likelihood and log-likelihood functions, and harness numerical methods to unlock their potential.
Time Series Models: Enter the realm of time series with Autoregressive (AR), Moving Average (MA), and ARMA models. Decode their components and master their estimation. We'll also touch upon the versatile ARIMA models.
4. Multivariate Analysis: Exploring Relationships in Higher Dimensions
Bivariate Joint PDFs: Venture into the realm of bivariate joint probability density functions. Learn to combine two normal distributions, understanding the crucial role of correlation in shaping their joint behaviour.
Copulas: Discover the power of copulas in modelling the intricate dependency structures between random variables. The Gaussian copula will be a key focus, and you'll learn how to calculate copula density using empirical CDFs.
5. Advanced Time Series Concepts: Mastering the Nuances
Stationarity: Unpack the concept of stationarity, both strict and weak. This understanding is the bedrock of robust time series modelling, and you'll see why using stationary data is so critical.
Unit Roots: Confront the concept of unit roots and their relationship to stationarity. Experiment by generating both stationary and non-stationary data to solidify your understanding.
ACF and PACF: Harness the power of the Autocorrelation Function (ACF) and Partial Autocorrelation Function (PACF) to dissect and analyse your time series data.
Dickey-Fuller Tests: Learn to deploy the Dickey-Fuller and Augmented Dickey-Fuller (ADF) tests, essential tools for rigorously assessing stationarity.
Cointegration and the Engel-Granger Test: Unlock the secrets of cointegration and use the Engel-Granger test to reveal if two time series share a long-run equilibrium relationship.
Error Correction Model (ECM): Dive into the Error Correction Model (ECM), a powerful tool that integrates both the short-term and long-term dynamics of cointegrated time series.
Volatility Modelling: Explore the dynamic world of Generalized Autoregressive Conditional Heteroskedasticity (GARCH) models, specifically designed for modelling volatility. We'll also venture into Asymmetric GARCH (AGARCH) models for a more nuanced approach.
6. Practical Implementation: Putting Theory into Action with Excel
Excel as Your Tool: Leverage the familiar power of Excel to implement all the models and calculations we'll explore.
Software Savvy: Develop a critical eye for understanding software assumptions. Learn to meticulously verify your results, ensuring accuracy and reliability.
Templates and Examples: Benefit from provided templates designed to guide you through each step, and compare your work against completed examples for enhanced understanding.
This comprehensive learning journey will empower you with both the theoretical knowledge and the practical skills needed to excel in financial econometrics and the analysis of financial time series data. Get ready to transform data into actionable insights!