Augmented Dickey-Fuller Test - Quant Researcher Interview Question
Difficulty: Hard
Category: statistical_analysis
Asked at: D.E. Shaw, WorldQuant, Two Sigma, AQR Capital Management, G-Research
Topics: statistics, time_series, regression, numpy, pandas
Problem Description
Stationarity is a fundamental property in time series analysis, essential for validating mean-reversion strategies and pairs trading models in quantitative finance. The Augmented Dickey-Fuller (ADF) test evaluates this property by testing for the presence of a unit root in a univariate process using an autoregressive model.
Task
Implement a function solution(timeseries, lag) that calculates the t-statistic for the coefficient $\gamma$ in the Augmented Dickey-Fuller regression model. The specifi
Practice this hard researcher interview question on MyntBit - the LeetCode for quants with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.