Back to search

Wilfrid Laurier University

Time Series Mediation Analysis with Non-Linear and Machine Learning Methods

Abstract

dc:description

Non-linearity in mediation analysis has been primarily studied in the context of binary variables which encode a treatment and control, estimating a `direct` and `indirect` effect of a covariate (a.k.a. treatment) X on a response Y, with a third variable M (the `mediator`) that is affected by X and in turn affects Y. The focus of mediation analysis in general is to quantify the overall effect of X on Y, including the effect through M. This presentation will focus on one or more continuous treatments and apply non-linear methods, including splines and machine learning models, to mediation analysis in a time series context. We first explore splines for each of the models, leveraging the additive basis structure with consistent bases to define a mediation model with as many mediators as there are basis functions. The differentiability of splines allows us to use a derivative definition of the indirect and direct effect to determine how X affects Y. We then explore ARX models, modeling X as an AR(p) model, and M, and Y as ARX models (with X and M as exogeneous variables in the definition of Y, and X as an exogenous variable in the definition of M), and find the associated covariances and autocovariances. With this structure, we note that the value of Y at time t depends on the value of X at time t-1 as well as M at time t-1, which in turn depends on X at time t-2; the effect of X on Y requires two time steps in order to go through M. Finally, the derivative definition of the direct and indirect effects can be approximated numerically using the output of a black box model where necessary, allowing our results to apply a broader class of machine learning models. Overall, we provide a framework by which mediation analysis can be performed when X, M, and Y are all continuous time series random variables. The inspiration of this approach is for using economic indicators that have an assumed causal effect on each other.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MSc)
Discipline thesis:degree_discipline
Mathematics
Grantor dc:publisher
Wilfrid Laurier University
Year dc:date.available
2027

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Marsh, Timothy
Contributors dc:contributor
  • Devan Becker
  • Mark Reesor
  • Wing Chan

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • 2 Publicly accessible
Language dc:language
en

Identifiers

dc:identifier.*
Repository record dc:identifier
https://scholars.wlu.ca/etd/2999

Chain of custody

source
Harvested from
Wilfrid Laurier University
Base URL
scholars.wlu.ca/do/oai/
Last updated
2026-11-18
Source record
OAI-PMH GetRecord
citation

Marsh, Timothy. Time Series Mediation Analysis with Non-Linear and Machine Learning Methods. Wilfrid Laurier University, 2027. https://scholars.wlu.ca/etd/2999