Describe the bug
the fit_model method has an option to use optimization to fit the data to a distribution by providing a function, the function calculates an adjusted cdf after truncating the data based on a threshold, the method needs to be refactored and add explanation on how it calculate the pdf and cdf in the documentation.
Describe the bug
the
fit_modelmethod has an option to useoptimizationto fit the data to a distribution by providing a function, the function calculates an adjusted cdf after truncating the data based on a threshold, the method needs to be refactored and add explanation on how it calculate thepdfandcdfin the documentation.