InterventionAnalysisOptions<T, TInput, TOutput>

Options & Configuration · AiDotNet.Models.Options

Configuration options for Intervention Analysis, which is a time series modeling technique used to assess the impact of specific events or interventions on a time series.

Inheritance: ModelOptions → RegressionOptions<T> → TimeSeriesRegressionOptions<T> → InterventionAnalysisOptions<T, TInput, TOutput>

For Beginners

Intervention Analysis helps you measure how specific events affected your time series data. For example, if you’re tracking daily sales and launched a major marketing campaign on a specific date, intervention analysis can help you determine how much that campaign actually boosted your sales while accounting for other factors like seasonal patterns or existing trends.

Think of it like trying to measure the effect of a new medication on a patient’s health while accounting for their normal day-to-day fluctuations in health metrics. Just looking at the raw numbers before and after might be misleading - intervention analysis gives you a more accurate picture of the true impact.

This class inherits from TimeSeriesRegressionOptions, so all the general time series regression settings are also available. The additional settings specific to intervention analysis let you configure how the model handles both the time series patterns and the intervention effects.

How It Works

Intervention Analysis extends time series regression by explicitly modeling the effects of known interventions or events (like policy changes, marketing campaigns, or natural disasters) on a time series. It combines ARIMA (AutoRegressive Integrated Moving Average) modeling with additional components that represent these interventions, allowing you to quantify their impact while accounting for the underlying time series patterns.

Constructors

Constructor Summary
InterventionAnalysisOptions()

Properties

Property Summary
IOptimizer<T, TInput, TOutput> Optimizer { get; set; } Gets or sets the optimizer used to find the best parameters for the intervention analysis model.
List<InterventionInfo> Interventions { get; set; } Gets or sets the list of interventions to be analyzed in the time series.
int AROrder { get; set; } Gets or sets the order of the AutoRegressive (AR) component in the ARIMA model.
int MAOrder { get; set; } Gets or sets the order of the Moving Average (MA) component in the ARIMA model.