SPB Git

Repository Public

hf-event-study.ts 38.7 KB 330 lines typescript

1import type { Locale, SheetInput } from "@/schema";2import type { TemplateDef } from "../types";3import { T, doiSource, r, urlSource } from "./shared";45/** Hand-chosen log-price path (basis points, relative to the pre-event price) around an announcement at minute 0. */6const PRICE_PATH: [number, number][] = [7  [-20, 1], [-18, -1], [-16, 0], [-14, 1], [-12, 0], [-10, 0], [-8, -1], [-6, 1], [-4, 0], [-2, -1], [-1, 0],8  [0, 0], [1, 14], [2, 22], [3, 19], [4, 21], [6, 20], [8, 21], [10, 19], [12, 20], [14, 21], [16, 20], [18, 19], [20, 20], [24, 21], [28, 20], [30, 21],9];1011function build(locale: Locale): SheetInput {12  const t = T(locale);13  return {14    schemaVersion: 1,15    metadata: {16      title: t("L'étude d'événement à haute fréquence", "The high-frequency event study"),17      locale,18      summary: t(19        "Mesurer l'effet causal d'une annonce sur un prix d'actif en comparant le prix quelques minutes avant et quelques minutes après, et en le rapportant à la composante non anticipée de l'annonce.",20        "Measuring the causal effect of an announcement on an asset price by comparing the price a few minutes before and a few minutes after, and relating the change to the unanticipated component of the announcement.",21      ),22      topics: [t("Économétrie", "Econometrics"), "Finance", t("Politique monétaire", "Monetary policy")],23      tags: [t("étude d'événement", "event study"), t("haute fréquence", "high frequency"), t("surprise", "surprise"), t("rendement anormal", "abnormal return"), "CAR", t("bruit de microstructure", "microstructure noise")],24      level: "intermediate",25      kind: "method",26      objectives: [27        t("Définir la fenêtre d'événement, la fenêtre d'estimation et le rendement anormal cumulé.", "Define the event window, the estimation window and the cumulative abnormal return."),28        t("Mesurer une surprise à partir de prix de marché plutôt qu'à partir de l'annonce brute.", "Measure a surprise from market prices rather than from the raw announcement."),29        t("Expliquer pourquoi une fenêtre étroite identifie l'effet de l'annonce, et ce qui limite son étroitesse.", "Explain why a narrow window identifies the effect of the announcement, and what limits how narrow it can be."),30        t("Formuler et tester l'hypothèse nulle d'absence d'effet.", "State and test the null hypothesis of no effect."),31      ],32      example: true,33    },34    theme: { preset: "finance", accent: "amber" },35    blocks: [36      { id: "title", type: "heading", level: 1, eyebrow: t("Identification à haute fréquence", "High-frequency identification"), text: t("L'étude d'événement à haute fréquence", "The high-frequency event study") },37      {38        id: "lead", type: "paragraph", lead: true,39        text: t(40          "Si les marchés intègrent rapidement l'information publique, l'effet d'un événement se lit dans les prix au moment où il survient[^mackinlay-1997]. L'étude d'événement à haute fréquence pousse cette logique à l'extrême : en ne regardant qu'une **fenêtre de quelques minutes** autour d'une annonce datée à la minute près, on isole la réaction à cette annonce de tout ce qui fait bouger les prix le reste de la journée.",41          "If markets incorporate public information quickly, the effect of an event shows in prices when it occurs[^mackinlay-1997]. The high-frequency event study takes this logic to the limit: by looking only at a **window of a few minutes** around an announcement time-stamped to the minute, it isolates the reaction to that announcement from everything else that moves prices during the rest of the day.",42        ),43      },4445      { id: "sec-windows", type: "heading", level: 2, eyebrow: t("Le dispositif", "The design"), text: t("Les fenêtres autour de l'annonce", "The windows around the announcement") },46      {47        id: "timeline-windows", type: "timeline", orientation: "horizontal",48        items: [49          { when: t("Bien avant τ", "Well before τ"), title: t("Fenêtre d'estimation", "Estimation window"), text: t("Sert à estimer le rendement « normal » et la variance du rendement hors événement. Elle ne chevauche pas la fenêtre d'événement.", "Used to estimate the \"normal\" return and the variance of returns outside events. It does not overlap the event window."), tone: "neutral" },50          { when: "τ − δ₁", title: t("Prix avant l'annonce", "Pre-announcement price"), text: t("Dernière cotation fiable avant l'annonce : elle reflète les anticipations du marché.", "Last reliable quote before the announcement: it reflects market expectations."), tone: "blue" },51          { when: "τ", title: t("Annonce", "Announcement"), text: t("Instant de publication, connu à la minute près (communiqué, statistique, décision).", "Release time, known to the minute (statement, data release, decision)."), tone: "amber" },52          { when: "τ + δ₂", title: t("Prix après l'annonce", "Post-announcement price"), text: t("Assez tard pour que le prix ait intégré la nouvelle, assez tôt pour qu'aucune autre nouvelle ne s'y ajoute.", "Late enough for the price to have absorbed the news, early enough for no other news to pile on."), tone: "green" },53          { when: t("Après τ + δ₂", "After τ + δ₂"), title: t("Hors fenêtre", "Outside the window"), text: t("Les mouvements ultérieurs ne sont pas attribués à l'annonce.", "Later moves are not attributed to the announcement."), tone: "neutral" },54        ],55      },56      {57        id: "eq-window-return", type: "equation", span: 6, label: t("Variation de prix dans la fenêtre", "Price change in the window"),58        latex: r`\Delta p_j \;=\; p_{\tau_j+\delta_2} - p_{\tau_j-\delta_1}`,59        explanation: t(60          "Sur quelques minutes, le rendement attendu en l'absence de nouvelle est négligeable : la variation brute du log-prix sert directement de rendement anormal. Gürkaynak, Sack et Swanson retiennent par exemple une fenêtre « étroite » de 30 minutes, de 10 minutes avant à 20 minutes après l'annonce[^gss-2005].",61          "Over a few minutes the expected return absent news is negligible: the raw change in the log price serves directly as the abnormal return. Gürkaynak, Sack and Swanson, for instance, use a \"tight\" 30-minute window, from 10 minutes before to 20 minutes after the announcement[^gss-2005].",62        ),63        variables: [64          { symbol: r`p_s`, meaning: t("logarithme du prix (ou rendement à l'échéance d'une obligation) à l'instant $s$", "log price (or bond yield) at time $s$") },65          { symbol: r`\tau_j`, meaning: t("instant de l'annonce $j$", "time of announcement $j$") },66          { symbol: r`\delta_1,\ \delta_2`, meaning: t("demi-largeurs de la fenêtre avant et après l'annonce", "half-widths of the window before and after the announcement"), unit: t("minutes", "minutes") },67          { symbol: r`\Delta p_j`, meaning: t("réaction du prix à l'annonce $j$", "price reaction to announcement $j$"), unit: t("points de base", "basis points") },68        ],69      },70      {71        id: "chart-window", type: "chart", span: 6, kind: "line", dataKind: "illustrative",72        title: t("Un prix autour d'une annonce", "A price around an announcement"),73        caption: t(74          "Trajectoire dessinée à la main pour montrer la forme attendue : bruit avant, saut à l'annonce, léger dépassement puis stabilisation. Ce ne sont pas des données de marché.",75          "Path drawn by hand to show the expected shape: noise before, a jump at the announcement, a slight overshoot and then a plateau. These are not market data.",76        ),77        alt: t(78          "Courbe du log-prix de la minute −20 à la minute +30. Elle oscille autour de zéro avant l'annonce, saute d'environ 20 points de base dans les deux minutes qui suivent, dépasse légèrement puis se stabilise autour de 20.",79          "Log-price curve from minute −20 to minute +30. It hovers around zero before the announcement, jumps by about 20 basis points within the two minutes that follow, overshoots slightly and then settles around 20.",80        ),81        x: { label: t("Minutes depuis l'annonce", "Minutes from the announcement"), unit: "min", min: -20, max: 30 },82        y: { label: t("Log-prix relatif", "Relative log price"), unit: t("points de base", "basis points") },83        series: [{ name: t("Log-prix (illustratif)", "Log price (illustrative)"), tone: "amber", points: PRICE_PATH.map(([x, y]) => ({ x, y })) }],84        annotations: [85          { x: 0, label: t("annonce τ", "announcement τ") },86          { x: -10, label: "τ − δ₁" },87          { x: 20, label: "τ + δ₂" },88        ],89      },9091      { id: "sec-surprise", type: "heading", level: 2, eyebrow: t("La variable explicative", "The regressor"), text: t("Mesurer la surprise", "Measuring the surprise") },92      {93        id: "callout-surprise", type: "callout", span: 4, tone: "definition", title: t("Surprise", "Surprise"),94        text: t(95          "La **surprise** est la partie de l'annonce que le marché n'anticipait pas : valeur annoncée moins valeur attendue juste avant. Seule cette composante devrait faire bouger les prix ; la composante anticipée y est déjà intégrée[^kuttner-2001].",96          "The **surprise** is the part of the announcement the market did not expect: announced value minus the value expected just before. Only this component should move prices; the anticipated component is already priced in[^kuttner-2001].",97        ),98      },99      {100        id: "eq-kuttner", type: "equation", span: 8, label: t("Surprise de politique monétaire tirée des contrats à terme (Kuttner)", "Monetary policy surprise from futures (Kuttner)"), sourceIds: ["kuttner-2001"],101        latex: r`s_j \;=\; \frac{D}{D-d}\,\left(f_{d} - f_{d-1}\right)`,102        explanation: t(103          "Le contrat à terme sur les fonds fédéraux se dénoue sur la **moyenne mensuelle** du taux effectif. Une décision prise le jour $d$ ne modifie donc que les $D-d$ jours restants du mois : la variation du taux implicite est remise à l'échelle par $D/(D-d)$. Kuttner applique cette mesure à des données quotidiennes ; la version intrajournalière remplace $f_d-f_{d-1}$ par la variation dans la fenêtre[^gss-2005].",104          "The federal funds futures contract settles on the **monthly average** of the effective rate. A decision taken on day $d$ therefore only changes the remaining $D-d$ days of the month: the change in the implied rate is rescaled by $D/(D-d)$. Kuttner applies this measure to daily data; the intraday version replaces $f_d-f_{d-1}$ with the change inside the window[^gss-2005].",105        ),106        variables: [107          { symbol: r`s_j`, meaning: t("composante non anticipée de la variation du taux cible", "unanticipated component of the change in the target rate"), unit: t("points de base", "basis points") },108          { symbol: r`f_d`, meaning: t("taux implicite du contrat du mois courant, le jour $d$", "rate implied by the current-month contract on day $d$"), unit: "%" },109          { symbol: r`D`, meaning: t("nombre de jours du mois", "number of days in the month") },110          { symbol: r`d`, meaning: t("jour du mois où tombe l'annonce", "day of the month on which the announcement falls") },111        ],112      },113      {114        id: "diagram-identification", type: "diagram", span: 8, kind: "flow", direction: "LR", routing: "curved",115        title: t("De l'annonce à l'effet estimé", "From the announcement to the estimated effect"),116        caption: t(117          "Deux sources de variation du prix cohabitent dans la fenêtre : la surprise, que l'on veut mesurer, et le bruit, que l'étroitesse de la fenêtre réduit.",118          "Two sources of price variation coexist in the window: the surprise, which we want to measure, and the noise, which the narrowness of the window shrinks.",119        ),120        alt: t(121          "Diagramme de flux. À gauche, les anticipations du marché et l'annonce se combinent pour donner la surprise ; la composante anticipée n'a pas d'effet. Au centre, le prix avant et le prix après l'annonce donnent la variation dans la fenêtre, qui reçoit aussi, en pointillé, les autres nouvelles et le bruit de microstructure. À droite, la régression de la variation de prix sur la surprise, répétée sur de nombreuses annonces, donne le coefficient bêta puis l'inférence.",122          "Flow diagram. On the left, market expectations and the announcement combine into the surprise; the anticipated component has no effect. In the centre, the price before and the price after the announcement give the change in the window, which also receives, as dotted arrows, other news and microstructure noise. On the right, regressing the price change on the surprise across many announcements gives the coefficient beta and then inference.",123        ),124        groups: [125          { id: "g-news", label: t("Information", "Information"), tone: "amber" },126          { id: "g-price", label: t("Prix dans la fenêtre", "Price in the window"), tone: "blue" },127          { id: "g-noise", label: t("Bruit", "Noise"), tone: "red" },128          { id: "g-est", label: t("Estimation", "Estimation"), tone: "green" },129        ],130        nodes: [131          { id: "n-expect", label: t("Anticipations du marché", "Market expectations"), sublabel: t("contrats à terme, enquêtes", "futures, surveys"), shape: "round", tone: "neutral", icon: "users", group: "g-news" },132          { id: "n-announce", label: t("Annonce à l'instant τ", "Announcement at time τ"), shape: "hexagon", tone: "amber", icon: "bolt", group: "g-news" },133          { id: "n-surprise", label: t("Surprise s", "Surprise s"), sublabel: t("annoncé − attendu", "announced − expected"), shape: "round", tone: "amber", icon: "target", group: "g-news" },134          { id: "n-anticipated", label: t("Composante anticipée", "Anticipated component"), sublabel: t("déjà dans les prix", "already priced in"), shape: "note", tone: "neutral", group: "g-news" },135          { id: "n-before", label: "p(τ − δ₁)", sublabel: t("prix avant", "price before"), shape: "rect", tone: "blue", group: "g-price" },136          { id: "n-after", label: "p(τ + δ₂)", sublabel: t("prix après", "price after"), shape: "rect", tone: "blue", group: "g-price" },137          { id: "n-delta", label: "Δp", sublabel: t("variation dans la fenêtre", "change in the window"), shape: "round", tone: "blue", icon: "trend", group: "g-price" },138          { id: "n-other", label: t("Autres nouvelles", "Other news"), sublabel: t("croît avec la largeur", "grows with the width"), shape: "round", tone: "red", icon: "globe", group: "g-noise" },139          { id: "n-micro", label: t("Bruit de microstructure", "Microstructure noise"), sublabel: t("fourchette, cotations figées", "spread, stale quotes"), shape: "round", tone: "red", icon: "warning", group: "g-noise" },140          { id: "n-reg", label: "Δp = a + β·s + η", sublabel: t("sur N annonces", "across N announcements"), shape: "round", tone: "green", icon: "calculator", group: "g-est" },141          { id: "n-beta", label: t("β estimé", "Estimated β"), sublabel: t("effet par unité de surprise", "effect per unit of surprise"), shape: "rect", tone: "green", icon: "check", group: "g-est" },142          { id: "n-test", label: t("Inférence", "Inference"), sublabel: t("écarts-types robustes", "robust standard errors"), shape: "diamond", tone: "green", group: "g-est" },143        ],144        edges: [145          { id: "e-expect", from: "n-expect", to: "n-surprise", label: "−", tone: "neutral" },146          { id: "e-announce", from: "n-announce", to: "n-surprise", label: "+", tone: "amber" },147          { id: "e-anticipated", from: "n-expect", to: "n-anticipated", style: "dashed", tone: "neutral" },148          { id: "e-surprise-after", from: "n-surprise", to: "n-after", label: t("fait bouger", "moves"), tone: "amber" },149          { id: "e-before", from: "n-before", to: "n-delta", label: "−", tone: "blue" },150          { id: "e-after", from: "n-after", to: "n-delta", label: "+", tone: "blue" },151          { id: "e-other", from: "n-other", to: "n-delta", label: "η", style: "dotted", tone: "red" },152          { id: "e-micro", from: "n-micro", to: "n-delta", label: "η", style: "dotted", tone: "red" },153          { id: "e-delta-reg", from: "n-delta", to: "n-reg", tone: "green" },154          { id: "e-surprise-reg", from: "n-surprise", to: "n-reg", tone: "green" },155          { id: "e-reg-beta", from: "n-reg", to: "n-beta", tone: "green" },156          { id: "e-beta-test", from: "n-beta", to: "n-test", tone: "green" },157        ],158        legend: [159          { label: t("Ambre : le signal (surprise)", "Amber: the signal (surprise)"), tone: "amber", shape: "square" },160          { label: t("Bleu : prix observés", "Blue: observed prices"), tone: "blue", shape: "square" },161          { label: t("Flèche pointillée rouge : perturbations à minimiser", "Red dotted arrow: disturbances to minimise"), tone: "red", shape: "dashed" },162          { label: t("Vert : estimation et inférence", "Green: estimation and inference"), tone: "green", shape: "square" },163        ],164      },165      {166        id: "cards-ingredients", type: "cards", span: 4, columns: 2,167        items: [168          { icon: "clock", title: t("Horodatage", "Time stamp"), tone: "amber", text: t("L'instant exact de publication ; une erreur de quelques minutes place la réaction hors de la fenêtre.", "The exact release time; an error of a few minutes puts the reaction outside the window.") },169          { icon: "target", title: t("Anticipation", "Expectation"), tone: "neutral", text: t("Une mesure de ce que le marché attendait : prix de contrats à terme ou consensus d'enquête.", "A measure of what the market expected: futures prices or a survey consensus.") },170          { icon: "trend", title: t("Prix intrajournaliers", "Intraday prices"), tone: "blue", text: t("Cotations à la minute, de préférence le milieu de fourchette d'un marché liquide.", "Minute-by-minute quotes, preferably midquotes from a liquid market.") },171          { icon: "layers", title: t("Plusieurs événements", "Many events"), tone: "green", text: t("L'effet moyen s'estime sur un ensemble d'annonces du même type.", "The average effect is estimated over a set of announcements of the same type.") },172        ],173      },174175      { id: "sec-ar", type: "heading", level: 2, eyebrow: t("Le cadre classique", "The classical framework"), text: t("Rendement anormal et rendement anormal cumulé", "Abnormal return and cumulative abnormal return") },176      {177        id: "eq-ar", type: "equation", span: 6, label: t("Rendement anormal (modèle de marché)", "Abnormal return (market model)"), sourceIds: ["mackinlay-1997"],178        latex: r`AR_{i\tau} \;=\; R_{i\tau} - \left(\hat\alpha_i + \hat\beta_i R_{m\tau}\right)`,179        explanation: t(180          "Le rendement anormal est l'écart entre le rendement observé et le rendement « normal », prédit par un modèle estimé sur la fenêtre d'estimation[^mackinlay-1997]. À haute fréquence, le terme entre parenthèses est proche de zéro.",181          "The abnormal return is the gap between the observed return and the \"normal\" return predicted by a model fitted on the estimation window[^mackinlay-1997]. At high frequency the term in brackets is close to zero.",182        ),183        variables: [184          { symbol: r`R_{i\tau}`, meaning: t("rendement du titre $i$ à la période $\\tau$ de la fenêtre d'événement", "return on security $i$ in period $\\tau$ of the event window") },185          { symbol: r`R_{m\tau}`, meaning: t("rendement du portefeuille de marché", "return on the market portfolio") },186          { symbol: r`\hat\alpha_i,\ \hat\beta_i`, meaning: t("coefficients du modèle de marché, estimés hors événement", "market-model coefficients, estimated outside the event") },187        ],188      },189      {190        id: "eq-car", type: "equation", span: 6, label: t("Rendement anormal cumulé et statistique de test", "Cumulative abnormal return and test statistic"), sourceIds: ["mackinlay-1997"],191        latex: r`CAR_i(\tau_1,\tau_2) = \sum_{\tau=\tau_1}^{\tau_2} AR_{i\tau}, \qquad \frac{CAR_i(\tau_1,\tau_2)}{\sqrt{(\tau_2-\tau_1+1)\,\hat\sigma_{\varepsilon_i}^2}} \;\overset{a}{\sim}\; \mathcal{N}(0,1) \ \text{ sous } H_0`.replace("sous", locale === "fr" ? "sous" : "under"),192        explanation: t(193          "Sous l'hypothèse nulle d'absence d'effet, avec des rendements anormaux gaussiens indépendants et une fenêtre d'estimation longue, la variance du CAR est la somme des variances de chaque période[^mackinlay-1997].",194          "Under the null of no effect, with independent Gaussian abnormal returns and a long estimation window, the variance of the CAR is the sum of the per-period variances[^mackinlay-1997].",195        ),196        variables: [197          { symbol: r`\tau_1,\ \tau_2`, meaning: t("première et dernière périodes de la fenêtre d'événement", "first and last periods of the event window") },198          { symbol: r`\hat\sigma_{\varepsilon_i}^2`, meaning: t("variance résiduelle du modèle de marché, estimée sur la fenêtre d'estimation", "residual variance of the market model, estimated on the estimation window") },199          { symbol: r`H_0`, meaning: t("l'événement n'a aucun effet sur la moyenne ni sur la variance des rendements", "the event has no effect on the mean or variance of returns") },200        ],201      },202203      { id: "sec-identification", type: "heading", level: 2, eyebrow: t("Identification", "Identification"), text: t("Pourquoi une fenêtre étroite identifie", "Why a narrow window identifies") },204      {205        id: "eq-regression", type: "equation", span: 6, label: t("Régression d'étude d'événement", "Event-study regression"),206        latex: r`\Delta p_j = a + \beta\, s_j + \eta_j, \qquad j = 1,\dots,N, \qquad \operatorname{Cov}(s_j,\eta_j)=0`,207        explanation: t(208          "Le coefficient $\\beta$ s'interprète comme l'effet causal d'une unité de surprise si, dans la fenêtre, rien d'autre n'est systématiquement lié à la surprise. Rigobon et Sack montrent que cela revient à supposer que, dans la fenêtre, la variance du choc d'annonce domine celle de tous les autres chocs[^rigobon-sack-2004].",209          "The coefficient $\\beta$ reads as the causal effect of one unit of surprise if, within the window, nothing else is systematically related to the surprise. Rigobon and Sack show this amounts to assuming that, within the window, the variance of the announcement shock dominates that of all other shocks[^rigobon-sack-2004].",210        ),211        variables: [212          { symbol: r`\beta`, meaning: t("réaction du prix par unité de surprise", "price response per unit of surprise") },213          { symbol: r`\eta_j`, meaning: t("tout ce qui fait bouger le prix dans la fenêtre hormis la surprise", "everything that moves the price in the window other than the surprise") },214          { symbol: r`N`, meaning: t("nombre d'annonces", "number of announcements") },215        ],216      },217      {218        id: "comparison-window", type: "comparison", span: 6,219        caption: t("L'arbitrage sur la largeur de la fenêtre.", "The trade-off in window width."),220        columns: [221          { title: t("Fenêtre trop large", "Window too wide"), tone: "red" },222          { title: t("Fenêtre étroite", "Narrow window"), tone: "green", badge: t("visé", "target") },223          { title: t("Fenêtre trop étroite", "Window too narrow"), tone: "amber" },224        ],225        rows: [226          { label: t("Autres nouvelles", "Other news"), cells: [t("Nombreuses : la variance de $\\eta$ croît avec la durée.", "Plenty: the variance of $\\eta$ grows with the length."), t("Rares.", "Rare."), t("Quasi absentes.", "Almost none.")] },227          { label: t("Causalité inverse", "Reverse causality"), cells: [t("Possible : la décision peut réagir aux prix de la journée.", "Possible: the decision may react to the day's prices."), t("Exclue : la décision est arrêtée avant la fenêtre.", "Ruled out: the decision is set before the window."), t("Exclue.", "Ruled out.")] },228          { label: t("Réaction complète ?", "Full reaction?"), cells: [t("Oui.", "Yes."), t("Oui si le marché est liquide.", "Yes if the market is liquid."), t("Pas toujours : l'ajustement peut prendre quelques minutes.", "Not always: adjustment can take a few minutes.")] },229          { label: t("Bruit de microstructure", "Microstructure noise"), cells: [t("Négligeable face au signal.", "Negligible relative to the signal."), t("Faible.", "Small."), t("Important face à une variation mesurée sur un intervalle très court.", "Large relative to a change measured over a very short interval.")] },230        ],231        verdict: t(232          "On choisit la fenêtre la plus étroite qui laisse au prix le temps de s'ajuster ; puis on vérifie que les résultats résistent à une fenêtre un peu plus large.",233          "Choose the narrowest window that leaves the price time to adjust; then check that results survive a somewhat wider window.",234        ),235      },236      {237        id: "callout-noise", type: "callout", span: 6, tone: "warning", title: t("Bruit de microstructure", "Microstructure noise"),238        text: t(239          "Le prix observé est le prix efficient **plus** un bruit dû à la mécanique des échanges : fourchette acheteur-vendeur, pas de cotation, cotations figées. Ce bruit ne diminue pas quand l'intervalle raccourcit, alors que le signal, lui, diminue : échantillonner le plus finement possible n'est donc pas optimal[^amz-2005]. En pratique : milieux de fourchette, marchés liquides, fenêtre de quelques minutes plutôt que de quelques secondes.",240          "The observed price is the efficient price **plus** noise due to trading mechanics: bid–ask spread, tick size, stale quotes. That noise does not shrink as the interval shortens, whereas the signal does: sampling as finely as possible is therefore not optimal[^amz-2005]. In practice: midquotes, liquid markets, a window of a few minutes rather than a few seconds.",241        ),242      },243      {244        id: "callout-info", type: "callout", span: 6, tone: "assumption", title: t("Ce que la surprise contient vraiment", "What the surprise really contains"),245        text: t(246          "Une fenêtre étroite garantit que la variation vient de l'annonce, non qu'elle représente un choc « pur ». Une surprise de politique monétaire peut aussi révéler l'information de la banque centrale sur l'état de l'économie : c'est l'**effet d'information** étudié par Nakamura et Steinsson[^nakamura-steinsson-2018]. L'interprétation de $\\beta$ dépend de cette hypothèse.",247          "A narrow window guarantees that the change comes from the announcement, not that it is a \"pure\" shock. A monetary policy surprise may also reveal the central bank's information about the state of the economy: this is the **information effect** studied by Nakamura and Steinsson[^nakamura-steinsson-2018]. How $\\beta$ is read depends on that assumption.",248        ),249      },250      {251        id: "sim-event", type: "simulation", kind: "event-study", params: { jump: 1, drift: 0, sigma: 2, events: 50 }, config: { window: 10 }, seed: 11,252        title: t("Faire varier l'effet, le bruit et le nombre d'événements", "Vary the effect, the noise and the number of events"),253        caption: t(254          "Données synthétiques : rendements simulés autour de l'événement, avec un saut à la date 0 et un bruit réglable, tirés avec une graine fixe. La simulation compte en périodes de part et d'autre de l'événement ; la logique est la même que la période soit un jour ou une minute.",255          "Synthetic data: simulated returns around the event, with a jump at date 0 and adjustable noise, drawn with a fixed seed. The simulation counts periods on each side of the event; the logic is the same whether a period is a day or a minute.",256        ),257        alt: t(258          "Simulation interactive : rendement anormal moyen puis rendement anormal cumulé moyen autour de l'événement, chacun avec sa bande de confiance ; des curseurs règlent le saut à la date 0, la dérive après l'événement, la volatilité et le nombre d'événements ; la bande du CAR s'élargit avec l'horizon et se resserre quand le nombre d'événements augmente.",259          "Interactive simulation: average abnormal return and average cumulative abnormal return around the event, each with its confidence band; sliders set the jump at date 0, the post-event drift, the volatility and the number of events; the CAR band widens with the horizon and tightens as the number of events grows.",260        ),261      },262263      { id: "sec-practice", type: "heading", level: 2, eyebrow: t("En pratique", "In practice"), text: t("Dérouler une étude et éviter les pièges", "Running a study and avoiding the pitfalls") },264      {265        id: "steps-protocol", type: "steps", span: 6,266        items: [267          { icon: "document", title: t("Dresser la liste des événements", "List the events"), text: t("Dates et heures exactes de toutes les annonces du type étudié, y compris celles sans surprise.", "Exact dates and times of every announcement of the type studied, including those with no surprise.") },268          { icon: "target", title: t("Construire la surprise", "Build the surprise"), text: t("À partir d'un prix de marché observé dans la même fenêtre, ou d'un consensus relevé avant l'annonce.", "From a market price observed in the same window, or a consensus recorded before the announcement.") },269          { icon: "clock", title: t("Fixer la fenêtre à l'avance", "Fix the window in advance"), text: t("Choisir $\\delta_1$ et $\\delta_2$ avant de regarder les résultats ; prévoir une fenêtre plus large comme test de robustesse.", "Choose $\\delta_1$ and $\\delta_2$ before looking at results; plan a wider window as a robustness check.") },270          { icon: "calculator", title: t("Estimer", "Estimate"), text: t("Régresser $\\Delta p_j$ sur $s_j$ ; écarts-types robustes à l'hétéroscédasticité.", "Regress $\\Delta p_j$ on $s_j$; heteroskedasticity-robust standard errors.") },271          { icon: "search", title: t("Mettre à l'épreuve", "Stress-test"), text: t("Fenêtres placebo sans annonce, exclusion des événements coïncidant avec d'autres publications, sensibilité aux observations extrêmes.", "Placebo windows without announcements, dropping events that coincide with other releases, sensitivity to extreme observations.") },272        ],273      },274      {275        id: "accordion-mistakes", type: "accordion", span: 6,276        items: [277          { title: t("Régresser sur l'annonce brute plutôt que sur la surprise", "Regressing on the raw announcement instead of the surprise"), text: t("La composante anticipée ne fait pas bouger les prix ; l'inclure atténue le coefficient estimé[^kuttner-2001].", "The anticipated component does not move prices; including it attenuates the estimated coefficient[^kuttner-2001].") },278          { title: t("Choisir la fenêtre après avoir vu les résultats", "Choosing the window after seeing the results"), text: t("Parcourir les largeurs jusqu'à obtenir un effet significatif invalide les seuils de test.", "Searching over widths until an effect is significant invalidates the test's significance levels.") },279          { title: t("Ignorer les annonces simultanées", "Ignoring simultaneous announcements"), text: t("Si deux publications tombent à la même minute, la fenêtre étroite ne les sépare pas.", "If two releases come out in the same minute, the narrow window cannot separate them.") },280          { title: t("Utiliser des prix de transaction sur un marché peu liquide", "Using transaction prices from an illiquid market"), text: t("Le dernier prix échangé peut dater de plusieurs minutes : le « prix avant » et le « prix après » ne sont alors pas ceux que l'on croit.", "The last traded price may be several minutes old: the \"price before\" and \"price after\" are then not what they seem.") },281          { title: t("Extrapoler l'effet à des horizons longs", "Extrapolating the effect to long horizons"), text: t("L'étude mesure la réaction dans la fenêtre. La persistance de l'effet est une autre question, qui demande d'autres hypothèses.", "The study measures the reaction inside the window. Whether the effect persists is another question, requiring other assumptions.") },282        ],283      },284      {285        id: "quiz-window", type: "quiz",286        question: t(287          "Une banque centrale annonce une hausse de taux que les contrats à terme anticipaient entièrement. Que prédit le cadre de l'étude d'événement pour le prix d'une obligation dans la fenêtre de 30 minutes ?",288          "A central bank announces a rate increase that futures had fully priced in. What does the event-study framework predict for a bond price in the 30-minute window?",289        ),290        choices: [291          { text: t("Aucune réaction systématique : la surprise est nulle.", "No systematic reaction: the surprise is zero."), correct: true, explanation: t("Seule la composante non anticipée fait bouger les prix ; ici $s_j=0$, il ne reste que le bruit $\\eta_j$.", "Only the unanticipated component moves prices; here $s_j=0$, leaving only the noise $\\eta_j$.") },292          { text: t("Une baisse du prix proportionnelle à la hausse annoncée.", "A price fall proportional to the announced increase."), correct: false, explanation: t("Ce serait vrai si la hausse était entièrement inattendue.", "That would hold if the increase were entirely unexpected.") },293          { text: t("Une hausse du prix, car l'incertitude est levée.", "A price rise, because uncertainty is resolved."), correct: false, explanation: t("Le cadre de base ne prédit rien de tel ; un tel effet relèverait d'une autre hypothèse.", "The baseline framework predicts no such thing; such an effect would need another assumption.") },294          { text: t("On ne peut rien dire sans élargir la fenêtre à la journée.", "Nothing can be said without widening the window to the day."), correct: false, explanation: t("Élargir la fenêtre ajouterait du bruit sans ajouter de signal.", "Widening the window would add noise without adding signal.") },295        ],296      },297      { id: "refs", type: "references", title: t("Références", "References") },298    ],299    sources: [300      urlSource("mackinlay-1997", "article", "Event Studies in Economics and Finance", ["A. Craig MacKinlay"], 1997, "Journal of Economic Literature, 35(1), 13–39", "https://ideas.repec.org/a/aea/jeclit/v35y1997i1p13-39.html"),301      doiSource("kuttner-2001", "article", "Monetary policy surprises and interest rates: Evidence from the Fed funds futures market", ["Kenneth N Kuttner"], 2001, "Journal of Monetary Economics, 47(3), 523–544", "10.1016/S0304-3932(01)00055-1"),302      urlSource("gss-2005", "article", "Do Actions Speak Louder Than Words? The Response of Asset Prices to Monetary Policy Actions and Statements", ["Refet S Gürkaynak", "Brian Sack", "Eric T Swanson"], 2005, "International Journal of Central Banking, 1(1)", "https://www.ijcb.org/journal/ijcb05q2a2.htm"),303      doiSource("rigobon-sack-2004", "article", "The impact of monetary policy on asset prices", ["Roberto Rigobon", "Brian Sack"], 2004, "Journal of Monetary Economics, 51(8), 1553–1575", "10.1016/j.jmoneco.2004.02.004"),304      doiSource("nakamura-steinsson-2018", "article", "High-Frequency Identification of Monetary Non-Neutrality: The Information Effect", ["Emi Nakamura", "Jón Steinsson"], 2018, "The Quarterly Journal of Economics, 133(3), 1283–1330", "10.1093/qje/qjy004"),305      doiSource("amz-2005", "article", "How Often to Sample a Continuous-Time Process in the Presence of Market Microstructure Noise", ["Yacine Aït-Sahalia", "Per A. Mykland", "Lan Zhang"], 2005, "Review of Financial Studies, 18(2), 351–416", "10.1093/rfs/hhi016"),306    ],307    claims: [308      { id: "c-principle", text: t("L'étude d'événement repose sur l'idée que l'effet d'un événement se reflète rapidement dans les prix des titres.", "The event study rests on the idea that the effect of an event is quickly reflected in security prices."), status: "sourced", sourceIds: ["mackinlay-1997"], blockId: "lead" },309      { id: "c-car", text: t("Sous l'hypothèse nulle, le rendement anormal cumulé standardisé suit approximativement une loi normale centrée réduite.", "Under the null, the standardised cumulative abnormal return is approximately standard normal."), status: "sourced", sourceIds: ["mackinlay-1997"], blockId: "eq-car" },310      { id: "c-kuttner", text: t("La surprise de taux cible se déduit de la variation du taux implicite du contrat à terme du mois courant, remise à l'échelle par D/(D−d).", "The target-rate surprise is derived from the change in the rate implied by the current-month futures contract, rescaled by D/(D−d)."), status: "sourced", sourceIds: ["kuttner-2001"], blockId: "eq-kuttner" },311      { id: "c-gss-window", text: t("Gürkaynak, Sack et Swanson mesurent les réactions dans une fenêtre intrajournalière étroite de 30 minutes autour des annonces.", "Gürkaynak, Sack and Swanson measure reactions in a tight 30-minute intraday window around announcements."), status: "sourced", sourceIds: ["gss-2005"], blockId: "eq-window-return" },312      { id: "c-rs", text: t("L'estimateur d'étude d'événement suppose que, dans la fenêtre, la variance du choc d'annonce domine celle des autres chocs.", "The event-study estimator assumes that, within the window, the variance of the announcement shock dominates that of other shocks."), status: "sourced", sourceIds: ["rigobon-sack-2004"], blockId: "eq-regression" },313      { id: "c-noise", text: t("En présence de bruit de microstructure, échantillonner à la fréquence la plus élevée possible n'est pas optimal.", "In the presence of microstructure noise, sampling at the highest possible frequency is not optimal."), status: "sourced", sourceIds: ["amz-2005"], blockId: "callout-noise" },314      { id: "c-info", text: t("Les surprises de politique monétaire mesurées à haute fréquence peuvent véhiculer de l'information sur l'état de l'économie (effet d'information).", "Monetary policy surprises measured at high frequency may convey information about the state of the economy (information effect)."), status: "sourced", sourceIds: ["nakamura-steinsson-2018"], blockId: "callout-info" },315      { id: "c-narrow", text: t("La variance des nouvelles étrangères à l'annonce croît avec la durée de la fenêtre ; la réduire améliore la précision de β.", "The variance of news unrelated to the announcement grows with the window length; shrinking it improves the precision of β."), status: "derived", sourceIds: ["rigobon-sack-2004"], blockId: "comparison-window" },316    ],317  };318}319320export const hfEventStudy: TemplateDef = {321  id: "hf-event-study",322  title: { fr: "Étude d'événement à haute fréquence", en: "High-frequency event study" },323  description: {324    fr: "Fenêtre d'événement, mesure de la surprise, rendement anormal cumulé, inférence, bruit de microstructure et identification par fenêtre étroite.",325    en: "Event window, surprise measurement, cumulative abnormal return, inference, microstructure noise and identification through narrow windows.",326  },327  category: "finance",328  build,329};330
Files main
Menu

Theme