{"id":{"repo_id":"wilfrid-laurier","oai_identifier":"oai:scholars.wlu.ca:etd-4153"},"canonical_url":"https://search.ndltd.org/etd/wilfrid-laurier/oai:scholars.wlu.ca:etd-4153","repository":{"repo_id":"wilfrid-laurier","name":"Wilfrid Laurier University","base_url":"https://scholars.wlu.ca/do/oai/"},"display":{"title":"Time Series Mediation Analysis with Non-Linear and Machine Learning Methods","abstract":"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.","abstract_html":"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.","abstract_has_math":false,"creators":["Marsh, Timothy"],"institution":"Wilfrid Laurier University","degree_name":"Master of Science (MSc)","degree_level":null,"degree_discipline":"Mathematics","degree_department":null,"school":null,"contributors":["Devan Becker","Mark Reesor","Wing Chan"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2027,"date_issued":"2027-01-01T08:00:00Z","date_published":"2027-01-01T08:00:00Z","updated_at":"2026-11-18T22:09:07Z","subjects":["Time Series","Mediation Analysis","Auto-Regressive Models","ARX","Longitudinal Data Analysis and Time Series"],"languages":["en"],"rights":["2 Publicly accessible"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://scholars.wlu.ca/etd/2999","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://scholars.wlu.ca/etd/2999","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","download_url":"https://scholars.wlu.ca/context/etd/article/4153/viewcontent/Timothy_Marsh_Master_s_Thesis.pdf","download_label":"Download PDF","download_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://scholars.wlu.ca/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholars.wlu.ca%3Aetd-4153","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Devan Becker","Mark Reesor","Wing Chan"]},{"key":"dc:contributor.role","label":"Dc Contributor Role","values":["Supervisor","Internal Examiner","Internal-External Examiner"]},{"key":"dc:creator","label":"Author","values":["Marsh, Timothy"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2027-01-01T08:00:00Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-09-29T07:00:00Z"]},{"key":"dc:publisher","label":"Institution","values":["Wilfrid Laurier University"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Mathematics"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MSc)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Wilfrid Laurier University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Time Series","Mediation Analysis","Auto-Regressive Models","ARX","Longitudinal Data Analysis and Time Series"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["2 Publicly accessible"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholars.wlu.ca/etd/2999","https://scholars.wlu.ca/context/etd/article/4153/viewcontent/Timothy_Marsh_Master_s_Thesis.pdf"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["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."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Time Series Mediation Analysis with Non-Linear and Machine Learning Methods"]}]}],"canonical_facts":{"dc:contributor":["Devan Becker","Mark Reesor","Wing Chan"],"dc:contributor.role":["Supervisor","Internal Examiner","Internal-External Examiner"],"dc:creator":["Marsh, Timothy"],"dc:date":["2027-01-01T08:00:00Z"],"dc:date.available":["2026-09-29T07:00:00Z"],"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."],"dc:format":["application/pdf"],"dc:identifier":["https://scholars.wlu.ca/etd/2999","https://scholars.wlu.ca/context/etd/article/4153/viewcontent/Timothy_Marsh_Master_s_Thesis.pdf"],"dc:language":["en"],"dc:publisher":["Wilfrid Laurier University"],"dc:rights":["2 Publicly accessible"],"dc:subject":["Time Series","Mediation Analysis","Auto-Regressive Models","ARX","Longitudinal Data Analysis and Time Series"],"dc:title":["Time Series Mediation Analysis with Non-Linear and Machine Learning Methods"],"dc:type":["Thesis"],"thesis:degree_discipline":["Mathematics"],"thesis:degree_name":["Master of Science (MSc)"],"thesis:institution_name":["Wilfrid Laurier University"]},"updated_at":"2026-11-18T22:09:07Z"}