CRAN/E | eff2

eff2

Efficient Least Squares for Total Causal Effects

Installation

About

Estimate a total causal effect from observational data under linearity and causal sufficiency. The observational data is supposed to be generated from a linear structural equation model (SEM) with independent and additive noise. The underlying causal DAG associated the SEM is required to be known up to a maximally oriented partially directed graph (MPDAG), which is a general class of graphs consisting of both directed and undirected edges, including CPDAGs (i.e., essential graphs) and DAGs. Such graphs are usually obtained with structure learning algorithms with added background knowledge. The program is able to estimate every identified effect, including single and multiple treatment variables. Moreover, the resulting estimate has the minimal asymptotic covariance (and hence shortest confidence intervals) among all estimators that are based on the sample covariance.

github.com/richardkwo/eff2
Bug report File report

Key Metrics

Version 1.0.2
R ≥ 3.5.0
Published 2024-01-26 92 days ago
Needs compilation? no
License MIT
License File
CRAN checks eff2 results

Downloads

Yesterday 14 +40%
Last 7 days 71 +6%
Last 30 days 242 -2%
Last 90 days 787 +9%
Last 365 days 2.586 -5%

Maintainer

Maintainer

Richard Guo

ricguo@uw.edu

Authors

Richard Guo

aut / cre

Material

README
NEWS
Reference manual
Package source

Vignettes

eff2: Efficient least squares for total causal effects

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

eff2 archive

Depends

R ≥ 3.5.0

Imports

pcalg ≥ 2.6
RBGL
igraph

Suggests

knitr
rmarkdown
testthat
qgraph