Suppose a volatility regime is observed before each trading period, and the question is whether it helps forecast the return of that period. The answer depends on what exactly is forecast, over which horizon, with which information and under which loss, so all four have to be fixed before any model is fitted. This lesson defines the prediction target, its label horizon and the admissible features available at the decision time, proves that the conditional mean is the best predictor under squared error, and measures in a constructed two-regime model how much an observable regime lowers the error.
Key terms
Prediction target
Definition Fix a decision time , a horizon and the physical measure , since the question concerns the distribution of future observations. A prediction target is a real random variable whose value is determined by the information available at time , so is -measurable, while in general it is not -measurable. Defining it means stating the quantity, such as a simple or log return, an excess return, a sign or an event indicator, together with its units, the start and end of its interval and the treatment of cash flows. Squared-error prediction also assumes . Different targets built from the same return have different best predictors.
In plain words The target is the number the forecast will be scored against once it is known. Predicting the size of a return, predicting its sign and choosing a position are three different tasks, and writing the target down says which one is being attempted.
Example In a constructed model the return of one period is or , in decimal units. With the target itself, a forecast is a return. With the sign target , the best squared-error forecast is the conditional probability of an up move, which in the high regime of the later cards is , while the best return forecast there is . Both come from the same distribution, but they answer different questions and cannot be compared with each other.
Label horizon
Definition The label horizon is the length of the interval over which the target of the row dated is measured. For a self-financing position with value , the horizon- total return label is
It becomes known only at , so a model fitted at time can train only on rows with . When rows are dated at a spacing , the labels of two rows apart with share the interval and are in general dependent. If daily log returns are independent and identically distributed with finite positive variance, the -day log return labels of rows days apart, with , have correlation
because the two sums share exactly daily terms, and labels at least days apart are uncorrelated.
In plain words Each label looks into the future by exactly its horizon. Rows dated more often than the horizon have overlapping labels, so neighboring rows partly repeat the same outcomes. Squared loss is still defined row by row, but the rows are not independent observations, and validation and standard errors have to allow for that.
Example Five-day log return labels on daily rows share four of their five days with the next row. With independent and identically distributed daily log returns their correlation is one day apart, four days apart and from five days on. A model refitted at the close of day may use the label of row only if , so the five most recent rows, those of days to , have no label yet. The consequences for validation are the subject of Time series validation and overlapping labels.
Admissible feature
Definition A feature for a forecast made at time is a random vector , and it is admissible when , that is, when it is -measurable. The standard construction is
where collects the observations available by , the as-of view of Point in time financial data and sampling, and is a Borel function chosen without data from after . If , the Doob-Dynkin lemma shows that every admissible real feature has this form. In the same way, the random variables measurable with respect to are exactly the functions with Borel, so these are the forecasts that use only the features. A feature vector can discard information. With , the best squared-error forecast based on the features is , and its error is at least that of , as the squared-error card shows. A rule allowed to use itself would have zero error, which is why a feature that reaches past can make a backtest look better than any admissible rule.
In plain words A feature is a summary of the past, computed by a rule that could have been run at the decision time. A past return, a trailing volatility or a ratio of accounting figures already published all qualify. A good feature keeps the parts of the information that move the forecast.
Example On daily data, the trailing -day volatility computed from the returns of days to is admissible at the close of day , provided those returns are known by then. The same statistic computed over days to is not, because it uses the return of day . In the two-regime model of the later cards, the regime label is an admissible feature only if the regime is known before the return period starts.
Feature availability
Definition The availability time of a feature value is the latest availability time among everything it uses. That includes the raw observations, their revisions and the data used to fit any parameter of , such as a mean, a scale, a rank, a regression coefficient or the membership of a universe. The feature is available at when that time is at most , and a feature available at is admissible there. A fitted step is fitted on the data available for fitting and then applied, with those parameters, to later rows. Standardizing with the mean and the sample standard deviation of a full sample ,
gives every row the availability time of the last observation .
In plain words A feature is only as early as its latest ingredient. Publication lags of the inputs count, and so does every statistic computed from data, including the normalization step that is easy to forget.
Example Take the constructed series . With the mean and sample standard deviation of the first three values, the standardized third value is . With the full-sample mean and sample standard deviation , it is , and if the last value were instead of it would be about . The third row’s feature changes with the sixth observation, so the full-sample version was not available at the third date.
Conditional mean predictor
Definition Suppose . The conditional mean predictor is
the integrable -measurable random variable with for every . It exists and is unique up to events of probability zero. When is generated by a finite partition into cells with , it is the cell average
The expectation is taken under the physical measure. A conditional expectation under a pricing measure uses pricing weights and is not a return forecast under , even though the notation looks almost the same. The properties of conditional expectation used here are those of Expectation conditional expectation and variance.
In plain words Group the possible futures by what can be seen now, and average the target over the group that has actually occurred. The forecast moves when the observed information changes the probabilities of the outcomes, even if the possible outcomes stay the same.
Example In a constructed model each period starts in a high regime or a low regime , each with probability , and the regime is observed before the return. The return is or , and the up move has probability in and in . In the two contributions are and , so . In they are and , so . Without the regime the best constant is .
Squared-error prediction
Definition Squared-error prediction scores a forecast of by the loss , and a forecasting rule by its population risk . Suppose , and let be any -measurable predictor with . Then
To prove it, write and expand the square. The predictor has a finite second moment by the conditional Jensen inequality, so the cross term is integrable by the Cauchy-Schwarz inequality. Because is known given ,
and the tower property makes the unconditional cross term zero as well. This says that the residual is orthogonal to every square-integrable -measurable variable, which does not require the two to be independent. The last term of the identity is nonnegative and vanishes exactly when almost surely, so the conditional mean is the unique optimal predictor up to events of probability zero. For a smaller information set , such as the one generated by the features, the identity with shows that the risk rises by . With trivial this is the law of total variance
The theorem identifies a population target for estimation. It does not say that a model fitted to finite data recovers it, and it says nothing about other losses or about trading decisions.
In plain words Any admissible forecast pays the unavoidable error of the conditional mean plus its squared distance from the conditional mean. Information helps squared-error prediction only through how much it moves the conditional mean. A forecast is still not a position. Whether a positive forecast justifies a trade also depends on risk, costs, financing and position limits, and changing the objective to, say, expected utility changes that decision problem without touching this theorem.
Example In the two-regime model the gap between the two returns is , so the conditional variances are in and in , in squared decimal return units. Forecasting with the observed regime gives the risk , the average of the two. The conditional means lie above and below , so , and the constant forecast has risk , which is . If the regime were revealed only after the return, it would not be in , the best admissible forecast would be with risk , and a backtest that used the late label would report , an error that no admissible rule attains.
Check yourself
- In a constructed model, regime A has probability and regime B probability , and the regime is observed before the return. The return is or , and the up move has probability in A and in B. Find the conditional means, the best constant forecast, and the squared-error risk of the best forecast with and without the regime.
Show the answer
The conditional means are in A and in B. The best constant is . The gap between the returns is , so the conditional variances are and , and the risk with the regime is
The conditional means differ from by and , so . The risk without the regime is . As a check, the up move has overall probability , and .
- Two equally likely regimes are observed before the return. In the first the return is or with probability each, and in the second it is or with probability each. Does observing the regime lower the squared-error risk of the best forecast? Is the regime uninformative?
Show the answer
Both conditional means equal , so the conditional mean predictor is the constant and . The risk is the same with or without the regime, the average conditional variance , which equals . Observing the regime does not lower squared-error risk, because it does not move the conditional mean. It is still informative, since the conditional standard deviation is in the first regime and in the second. That matters for a target such as the squared return, for a risk forecast or for sizing a position, which are different questions from the point forecast of the return.
- Daily rows carry five-day log return labels, and daily log returns are independent and identically distributed with variance . A researcher estimates the mean label from consecutive rows and reports the standard error as if the rows were independent. Find the correlation of labels one day and three days apart, and the factor by which the independent-rows formula understates the variance of the sample mean.
Show the answer
Labels one day apart share four daily returns and labels three days apart share two, so the correlations are and . The labels cover days. The sum of the labels is , where is the log return of day and counts the labels that contain day . That count is for the interior days and at each end, so
The variance of the sample mean is . The independent-rows formula gives . The ratio is , so the true standard error is about times the reported one, and the overlapping labels carry about as much information about the mean as labels that do not overlap.