qq_plot

qq_plot(residuals_ts: TSDataset, qq_plot_params: Optional[Dict[str, Any]] = None, segments: Optional[List[str]] = 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 (Optional[Dict[str, Any]]) – dictionary with parameters for qq plot, statsmodels.graphics.gofplots.qqplot() is used

  • segments (Optional[List[str]]) – 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