Description
A library for cause-effect relationships.
Description
Functions
pareto: Is a pareto distribution present for a list of numbers?
causesMaxConcentration: Which causes have the highest concentration?
effectsMaxConcentration: Which effects have the highest concentration?
causes: Determine causes for specified share of effects.
effects: Determine effects for specified share of causes.
README.md
Pareto: Is a pareto distribution present?
Features
- The main function
pareto
will return True if a pareto distribution is present. causesMaxConcentration
returns the causes with the maximum concentration (rank * value).effectsMaxConcentration
returns the effects with the maximum concentration.- If you want the effects for a specific share of causes, use
effects
. - You get the causes for a specific share of effects via
causes
.
Foundation
pareto
employs an entropy model. If entropy for a list of numbers falls below acontrolLimit
, pareto distribution is present.causesMaxConcentration
andeffectsMaxConcentration
will return the respective share of the causes and effects where concentration (rank * value) is highest.
Examples
Examples can be found in the package's documentation.