Rolling Jarque-Bera Normality 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, hypothesis_testing, rolling_window, quant_finance, pandas
Problem Description
The assumption of normality in asset returns is a foundational simplification in quantitative finance, yet real-world market data often exhibits skewness and excess kurtosis known as fat tails. The Jarque-Bera test provides a statistical method to evaluate goodness-of-fit by comparing sample skewness and kurtosis against those of a normal distribution, allowing analysts to identify regimes where standard models may fail.
Task
Implement a function solution that performs a rolling Jarque-Bera tes
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.