Mean Function

The mean function of a time series is the expected value of the process at each time , defined as

where is the marginal density of . The mean function specifies the baseline level around which the series fluctuates at each point in time.

In general, can vary with , reflecting systematic structure such as trend or seasonality. A constant mean for all is a necessary (but not sufficient) condition for stationarity.

Sample vs. Population Mean sample mean is a single number summarizing the observed series, whereas is a function of time describing the theoretical average at each index. If the series is stationary, is a consistent estimator of the common ; if varies, conflates different levels and may be misleading.

The

Intuition

The mean function answers the question: if you could repeat the experiment generating infinitely many times, what would the average value be at time ? It captures deterministic structure (trend, seasonal cycles, or other systematic shifts) that persists across realizations.

For a stationary process, is a flat line: the series has no preferred direction over time. For a process with trend, drifts upward or downward. For a seasonal process, oscillates periodically. Estimating or removing is often the first step in time series analysis, because the autocovariance and autocorrelation are defined in terms of deviations from the mean.

Properties

(Linearity) If , then .

(Sum) If , then .

(Stationarity Condition) A process is (weakly) stationary only if is constant for all .

(Sample Estimator) For a stationary process, the natural estimator of is , which is unbiased: .

Examples

White Noise

Let be white noise with for all . Then for every , so the mean function is identically zero.

Random Walk with Drift

Let , where is the drift and are i.i.d.