Package: eff2 1.0.2

eff2: Efficient Least Squares for Total Causal Effects

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.

Authors:Richard Guo [aut, cre]

eff2_1.0.2.tar.gz
eff2_1.0.2.zip(r-4.5)eff2_1.0.2.zip(r-4.4)eff2_1.0.2.zip(r-4.3)
eff2_1.0.2.tgz(r-4.4-any)eff2_1.0.2.tgz(r-4.3-any)
eff2_1.0.2.tar.gz(r-4.5-noble)eff2_1.0.2.tar.gz(r-4.4-noble)
eff2_1.0.2.tgz(r-4.4-emscripten)eff2_1.0.2.tgz(r-4.3-emscripten)
eff2.pdf |eff2.html
eff2/json (API)
NEWS

# Install 'eff2' in R:
install.packages('eff2', repos = c('https://richardkwo.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/richardkwo/eff2/issues

Datasets:
  • ex1 - An example of 10 variables simulated from a linear SEM

On CRAN:

2 exports 0.74 score 34 dependencies 3 scripts 288 downloads

Last updated 8 months agofrom:a7d4b426e3. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 31 2024
R-4.5-winOKAug 31 2024
R-4.5-linuxOKAug 31 2024
R-4.4-winOKAug 31 2024
R-4.4-macOKAug 31 2024
R-4.3-winOKAug 31 2024
R-4.3-macOKAug 31 2024

Exports:estimateEffectisIdentified

Dependencies:abindbdsmatrixBHBiocGenericsBiocManagercliclueclustercolorspacecorpcorcpp11DEoptimRfastICAggmgluegraphigraphlatticelifecyclelmtestmagrittrMASSMatrixpcalgpkgconfigRBGLRcppRcppArmadillorlangrobustbasesfsmiscvcdvctrszoo

eff2: Efficient least squares for total causal effects

Rendered fromeff2-doc.Rmdusingknitr::rmarkdownon Aug 31 2024.

Last update: 2021-05-20
Started: 2021-05-20