LL_power_law = sum(fit.power_law.loglikelihoods(data))
LL_exponential = sum(fit.exponential.loglikelihoods(data))
in fact the number of data used is not
because xmin
n = len(data[data>fit.power_law.xmin])
and xmin is not a true parameter because is a restriction on the length of the data set obtained previously to the maximum likelihood estimation, and the same dataset have to be used to fit all the distributions.
What I wonder is that these should be already calculated inside the class and maybe there is a simple way to add a method that uses the internal objects and calculate AICc
anyway with the clues you give me I can calculate what I need, thanks!