:og:description: The Peter and Clark (PC) algorithm :footcite:t:`doi:10.1177/089443939100900106`, is a constraint based method consisting of two main steps. The first step is called the adjacency search and amounts to finding the undirected skeleton of the DAG. The second step amounts to estimating a CPDAG. :og:image:alt: Benchpress logo :og:sitename: Benchpress causal discovery platform :og:title: PC (pcalg) .. meta:: :title: PC (pcalg) :description: The Peter and Clark (PC) algorithm :footcite:t:`doi:10.1177/089443939100900106`, is a constraint based method consisting of two main steps. The first step is called the adjacency search and amounts to finding the undirected skeleton of the DAG. The second step amounts to estimating a CPDAG. .. _pcalg_pc: PC (pcalg) *********** .. list-table:: * - Module name - `pcalg_pc `__ * - Package - `pcalg `__ * - Version - 2.7-8 * - Language - `R `__ * - Docs - `here `__ * - Paper - :footcite:t:`doi:10.1177/089443939100900106` * - Graph type - `CPDAG `__, `CG `__ * - MCMC - No * - Edge constraints - :ref:`Yes ` * - Data type - C, D * - Data missingness - * - Intervention type - * - Docker - `bpimages/pcalg:2.7-8 `__ PC ------ The Peter and Clark (PC) algorithm :footcite:t:`doi:10.1177/089443939100900106`, is a constraint based method consisting of two main steps. The first step is called the adjacency search and amounts to finding the undirected skeleton of the DAG. The second step amounts to estimating a CPDAG. .. rubric:: Some fields described * ``edgeConstraints`` Name of the JSON file containing background knowledge .. rubric:: Example JSON .. code-block:: json [ { "id": "pc-gaussCItest", "alpha": [ 0.001, 0.01, 0.05, 0.1 ], "NAdelete": true, "mmax": "Inf", "u2pd": "relaxed", "skelmethod": "stable", "conservative": false, "majrule": false, "solveconfl": false, "numCores": 1, "verbose": false, "indepTest": "gaussCItest", "timeout": null, "edgeConstraints": "edgeConstraints.json" }, { "id": "pc-binCItest", "alpha": [ 0.01, 0.05, 0.1 ], "NAdelete": true, "mmax": "Inf", "u2pd": "relaxed", "skelmethod": "stable", "conservative": false, "majrule": false, "solveconfl": false, "numCores": 1, "verbose": false, "indepTest": "binCItest", "timeout": null, "edgeConstraints": "edgeConstraints.json" } ] .. footbibliography::