Hi,
I want to measure the fitness value of gene networks to power law distribution as scale-free network. igraph presents "fit_power_law" function to execute what I want but I didn't understand return parameters exactly where they are explained at the bottom. For an appropriate scale free networks KS.stat must be near to zero for KS.stat and it also must be near to 1 for KS.p?
Thank you for your interest.
KS.stat
Numeric scalar, the test statistic of a Kolmogorov-Smirnov test that compares the fitted distribution with the input vector. Smaller scores denote better fit.
KS.p
Numeric scalar, the p-value of the Kolmogorov-Smirnov test. Small p-values (less than 0.05) indicate that the test rejected the hypothesis that the original data could have been drawn from the fitted power-law distribution.