Package: DPI
Title: The Directed Prediction Index
Version: 2025.6
Date: 2025-06-17
Authors@R: 
    c(person(given = "Han-Wu-Shuang",
             family = "Bao",
             role = c("aut", "cre"),
             email = "baohws@foxmail.com",
             comment = c(ORCID = "0000-0003-3043-710X")))
Maintainer: Han-Wu-Shuang Bao <baohws@foxmail.com>
Description: 
    The Directed Prediction Index ('DPI') is
    a simulation-based and conservative method
    for quantifying the relative endogeneity (relative dependence)
    of outcome (Y) versus predictor (X) variables
    in multiple linear regression models.
    By comparing the proportion of variance explained (R-squared)
    between the Y-as-outcome model and the X-as-outcome model
    while controlling for a sufficient number
    of potential confounding variables,
    it suggests a more plausible influence direction
    from a more exogenous variable (X) to a more endogenous variable (Y).
    Methodological details are provided at
    <https://psychbruce.github.io/DPI/>.
License: GPL-3
Encoding: UTF-8
URL: https://psychbruce.github.io/DPI/
BugReports: https://github.com/psychbruce/DPI/issues
Depends: R (>= 4.0.0)
Imports: glue, crayon, cli, ggplot2, qgraph
Suggests: bruceR
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2025-06-17 09:27:27 UTC; Bruce
Author: Han-Wu-Shuang Bao [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-3043-710X>)
Repository: CRAN
Date/Publication: 2025-06-18 08:50:05 UTC
Built: R 4.3.3; ; 2025-06-18 09:39:34 UTC; unix
