andrey.MarkovCheckOutput#
- class andrey.MarkovCheckOutput(structure, dag, alpha, p_values, uniformity_statistic, uniformity_p_value, metadata=<factory>, _tests=())[source]#
The result of
markov_check().It holds one p-value for each independence the graph implies, and the test of whether those p-values look uniform.
structureis the graph as checked, anddagthe DAG whose independences were tested (the graph itself for a DAG, a consistent extension for a CPDAG).p_valuesandtablelist the tested independences in order,uniformity_statisticanduniformity_p_valueare the Anderson-Darling test of those p-values against the uniform distribution,passedis the check’s verdict, andmetadatarecords the settings used.The share of the tested independences whose p-value is below
alpha.About
alphawhen the graph is right and the tests are calibrated;Nonewhen nothing was tested.