etna.analysis.qq_plot#

qq_plot(residuals_ts: TSDataset, qq_plot_params: Dict[str, Any] | None = None, segments: List[str] | None = None, columns_num: int = 2, figsize: Tuple[int, int] = (10, 5))[source]#

Plot Q-Q plots for segments.

Parameters:
  • residuals_ts (TSDataset) – dataset with the time series, expected to be the residuals of the model

  • qq_plot_params (Dict[str, Any] | None) – dictionary with parameters for qq plot, statsmodels.graphics.gofplots.qqplot() is used

  • segments (List[str] | None) – segments to plot

  • columns_num (int) – number of columns in subplots

  • figsize (Tuple[int, int]) – size of the figure per subplot with one segment in inches