What-if analysis is a scenario modeling technique where you make a hypothetical change to a time series and compare the forecasts generated by these changes against the baseline, unchanged time series. It is important to remember that the purpose of a what-if analysis is to understand how a forecast can change given different modifications to the baseline time series.
See https://www.paws-r-sdk.com/docs/forecastservice_create_what_if_analysis/ for full documentation.
forecastservice_create_what_if_analysis(
WhatIfAnalysisName,
ForecastArn,
TimeSeriesSelector = NULL,
Tags = NULL
)
[required] The name of the what-if analysis. Each name must be unique.
[required] The Amazon Resource Name (ARN) of the baseline forecast.
Defines the set of time series that are used in the what-if analysis
with a TimeSeriesIdentifiers
object. What-if analyses are performed
only for the time series in this object.
The TimeSeriesIdentifiers
object needs the following information:
DataSource
Format
Schema
A list of tags to apply to the what if forecast.