PanelRegression.get_plot_data#

PanelRegression.get_plot_data()[source]#

Get plot data with fitted values.

Bayesian models additionally return y_fitted_lower / y_fitted_upper 95% credible-interval columns.

Returns:

DataFrame with fitted values (and credible intervals when the model carries posterior draws).

Return type:

pd.DataFrame