Package: DPI 2026.2

DPI: The Directed Prediction Index for Causal Direction Inference from Observational Data
The Directed Prediction Index ('DPI') is a causal discovery method for observational data designed to quantify the relative endogeneity of outcome (Y) versus predictor (X) variables in regression models. By comparing the coefficients of determination (R-squared) between the Y-as-outcome and X-as-outcome models while controlling for sufficient confounders and simulating k random covariates, it can quantify relative endogeneity, providing a necessary but insufficient condition for causal direction from a less endogenous variable (X) to a more endogenous variable (Y). Methodological details are provided at <https://psychbruce.github.io/DPI/>. This package also includes functions for data simulation and network analysis (correlation, partial correlation, and Bayesian Networks).
Authors:
DPI_2026.2.tar.gz
DPI_2026.2.zip(r-4.7)DPI_2026.2.zip(r-4.6)DPI_2026.2.zip(r-4.5)
DPI_2026.2.tgz(r-4.6-any)DPI_2026.2.tgz(r-4.5-any)
DPI_2026.2.tar.gz(r-4.7-any)DPI_2026.2.tar.gz(r-4.6-any)
DPI_2026.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
DPI/json (API)
NEWS
| # Install 'DPI' in R: |
| install.packages('DPI', repos = c('https://psychbruce.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/psychbruce/dpi/issues
Pkgdown/docs site:https://psychbruce.github.io
causal-discoverycausal-inferencecausalitydirected-acyclic-graphsdirected-networksinfluencelinear-regressionpredictionsimulationstatistics
Last updated from:ded5a32449. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 199 | ||
| source / vignettes | OK | 195 | ||
| linux-release-x86_64 | OK | 219 | ||
| macos-release-arm64 | OK | 190 | ||
| macos-oldrel-arm64 | OK | 191 | ||
| windows-devel | OK | 139 | ||
| windows-release | OK | 135 | ||
| windows-oldrel | OK | 127 | ||
| wasm-release | OK | 139 |
Exports:BNs_dagcor_matrixcor_netDPIDPI_curveDPI_dagp_to_bfsim_datasim_data_exp
Dependencies:abindbackportsbase64encbnlearnbslibcachemcheckmatecliclustercolorspacecorpcorcowplotcpp11crayondata.tabledigestevaluatefarverfastmapfdrtoolfontawesomeforeignFormulafsggplot2glassoglueGPArotationgridExtragtablegtoolshighrHmischtmlTablehtmltoolshtmlwidgetsigraphisobandjpegjquerylibjsonliteknitrlabelinglatticelavaanlifecyclemagrittrMASSMatrixmemoisemimemnormtnlmennetnumDerivpbapplypbivnormpkgconfigplyrpngpsychqgraphquadprogR6rappdirsRColorBrewerRcppreshape2rlangrmarkdownrpartrstudioapiS7sassscalesstringistringrtinytexvctrsviridisLitewithrxfunyaml
