scipy.stats._result_classes.
FitResult#
- class scipy.stats._result_classes.FitResult(dist, data, discrete, res)[source]#
- Result of fitting a discrete or continuous distribution to data - Attributes:
- paramsnamedtuple
- A namedtuple containing the maximum likelihood estimates of the shape parameters, location, and (if applicable) scale of the distribution. 
- successbool or None
- Whether the optimizer considered the optimization to terminate successfully or not. 
- messagestr or None
- Any status message provided by the optimizer. 
 
 - Methods - nllf([params, data])- Negative log-likelihood function - plot([ax, plot_type])- Visually compare the data against the fitted distribution.