Model-Selection Result¶
-
class
fitr.criticism.modelselectionresult.
ModelSelectionResult
(method)¶ Object containing results of model selection
Attributes: - modelnames : list
List of strings labeling models
- xp : ndarray
Exceedance probabilities for each model
- pxp : ndarray
Protected exceedance probabilities for each model
- BIC : ndarray
Bayesian information criterion measures for each model
- AIC : ndarray
Aikake information criterion measures for each model
Methods
plot(self, statistic, save_figure=False, filename=’modelselection-plot.pdf’, figsize=(10, 10)) Plots the results of model selection (bars) -
plot
(statistic, save_figure=False, filename='modelselection-plot.pdf', figsize=(10, 10))¶ Plots the results of model selection (bars)
Parameters: - statistic : {‘pxp’, ‘xp’, ‘BIC’, ‘AIC’}
Which statistic is desired for the bar plot
- save_figure : bool
Whether to save the figure
- filename : str
The desired filename for the plot (must end in appropriate extension)
- figsize : tuple, default (10, 10)