import React from 'react'; import { Settings, X } from 'lucide-react'; import 'katex/dist/katex.min.css'; import { BlockMath, InlineMath } from 'react-katex'; interface EconometricsBlueprintModalProps { isOpen: boolean; onClose: () => void; } export default function EconometricsBlueprintModal({ isOpen, onClose }: EconometricsBlueprintModalProps) { React.useEffect(() => { const handleKeyDown = (e: KeyboardEvent) => { if (e.key === 'Escape') { onClose(); } }; if (isOpen) { window.addEventListener('keydown', handleKeyDown); } return () => { window.removeEventListener('keydown', handleKeyDown); }; }, [isOpen, onClose]); if (!isOpen) return null; return (
System User Manual & Interface Mechanics
Operational details of the econometric event study solver, timeline configuration, and abnormal returns calculations.
Allows defining the timeline partitions for analysis. The **120-day Estimation Window** serves to isolate market beta (
The **10-day Gap Window** acts as a strict mathematical **Isolation Shield** to prevent information leakage, pre-event front-running, or insider-related abnormal volatility from contaminating the baseline parameters.
Computes daily differences between the actual stock return (
where
Integrates and sums the daily abnormal returns across the specified event window to track the cumulative market shocks:
where
Event Parameters Input Mask: Edit estimation days, gap days, event horizons, and click **"Run Event Study Solver"**. Initiates server-side calculations.
CAR Event Charts: Renders a Recharts line chart illustrating the trajectory of Cumulative Abnormal Returns (