The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
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).
| Version: | 2026.2 |
| Depends: | R (≥ 4.0.0) |
| Imports: | glue, crayon, cli, ggplot2, cowplot, qgraph, bnlearn, MASS |
| Suggests: | bruceR, aplot, bayestestR |
| Published: | 2026-02-26 |
| DOI: | 10.32614/CRAN.package.DPI |
| Author: | Han Wu Shuang Bao |
| Maintainer: | Han Wu Shuang Bao <baohws at foxmail.com> |
| BugReports: | https://github.com/psychbruce/DPI/issues |
| License: | GPL-3 |
| URL: | https://psychbruce.github.io/DPI/ |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | DPI results |
| Reference manual: | DPI.html , DPI.pdf |
| Package source: | DPI_2026.2.tar.gz |
| Windows binaries: | r-devel: DPI_2026.2.zip, r-release: DPI_2026.2.zip, r-oldrel: DPI_2026.2.zip |
| macOS binaries: | r-release (arm64): DPI_2026.2.tgz, r-oldrel (arm64): DPI_2026.2.tgz, r-release (x86_64): DPI_2026.2.tgz, r-oldrel (x86_64): DPI_2026.2.tgz |
| Old sources: | DPI archive |
Please use the canonical form https://CRAN.R-project.org/package=DPI to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.