Package: PFCI 0.1.1
PFCI: Penalized Fast Causal Inference for High-Dimensional Structure Learning
Implements Penalized Fast Causal Inference (PFCI), a two-stage causal structure learning procedure for high-dimensional settings with potential latent variables and selection bias. In the first stage, neighborhood selection via the Lasso constructs a sparse undirected skeleton. In the second stage, the Fast Causal Inference (FCI) algorithm orients edges on this reduced graph, producing a Partial Ancestral Graph (PAG) that accounts for latent confounders. The method is consistent under sparsity assumptions and substantially faster than standard FCI and RFCI in high dimensions. See Pal, Ghosh, and Yang (2025) <doi:10.48550/arXiv.2507.00173> for the underlying theory.
Authors:
PFCI_0.1.1.tar.gz
PFCI_0.1.1.zip(r-4.7)PFCI_0.1.1.zip(r-4.6)PFCI_0.1.1.zip(r-4.5)
PFCI_0.1.1.tgz(r-4.6-any)PFCI_0.1.1.tgz(r-4.5-any)
PFCI_0.1.1.tar.gz(r-4.7-any)PFCI_0.1.1.tar.gz(r-4.6-any)
PFCI_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
PFCI/json (API)
NEWS
| # Install 'PFCI' in R: |
| install.packages('PFCI', repos = c('https://djghosh1123.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/djghosh1123/pfci/issues
Last updated from:062b2b0077. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 144 | ||
| source / vignettes | OK | 242 | ||
| linux-release-x86_64 | OK | 171 | ||
| macos-release-arm64 | OK | 164 | ||
| macos-oldrel-arm64 | OK | 191 | ||
| windows-devel | OK | 106 | ||
| windows-release | OK | 113 | ||
| windows-oldrel | OK | 109 | ||
| wasm-release | OK | 192 |
Exports:metrics_with_latentpfci_fitpfci_metricsplot_pagsimulate_pfci_toysimulate_with_latent
Dependencies:glasso
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Metrics for latent simulation using oracle-FCI truth (skeleton only) | metrics_with_latent |
| Penalized FCI (PFCI): glasso screening + constrained FCI | pfci_fit |
| Compute PFCI metrics from a simulation object and a pfci_fit output | pfci_metrics |
| Plot a PAG returned by PFCI | plot_pag |
| Simulate toy data for PFCI using topo-ordered DAG + rmvDAG | simulate_pfci_toy |
| Simulate data with latent variables and oracle-FCI truth skeleton | simulate_with_latent |
