I've opend a PR here https://github.com/Professor-G/MicroLIA/pull/25 that fixes NaN appearing in GSkew arising from an Index Out of Bounds errors due to np.searchsorted returning an empty array when the q3 or q97 are "outside" the values. This happens when the errors span too many orders of magnitude, provoking a saturation of the cumulative sum.
With this PR and the previous one, I was able to reduce the NaN down to O(0.1%) of the total points, which are edge cases of too weird error distributions that can be safely dropped without impacting any statistical analysis of the dataset.
I've opend a PR here https://github.com/Professor-G/MicroLIA/pull/25 that fixes
NaN
appearing inGSkew
arising from anIndex Out of Bounds
errors due tonp.searchsorted
returning an empty array when the q3 or q97 are "outside" the values. This happens when the errors span too many orders of magnitude, provoking a saturation of the cumulative sum.With this PR and the previous one, I was able to reduce the
NaN
down to O(0.1%) of the total points, which are edge cases of too weird error distributions that can be safely dropped without impacting any statistical analysis of the dataset.