Skip to content

DPI

The Directed Prediction Index for Causal Direction Inference from Observational Data

v2026.2 · Feb 25, 2026 · GPL-3

Description

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).

Downloads

272

Last 30 days

15611th

721

Last 90 days

2.5K

Last year

Trend: -1.8% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies glue crayon cli ggplot2 cowplot qgraph bnlearn MASS DPI

Version History

new 2026.2 Mar 10, 2026
updated 2026.2 ← 2025.11 diff Feb 25, 2026
updated 2025.11 ← 2025.10-1 diff Nov 23, 2025
updated 2025.10-1 ← 2025.10 diff Oct 22, 2025
updated 2025.10 ← 2025.9 diff Oct 15, 2025
updated 2025.9 ← 2025.8 diff Sep 19, 2025
updated 2025.8 ← 2025.6 diff Aug 19, 2025
new 2025.6 Jun 17, 2025