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.5-any)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'))

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

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

On CRAN:

3.70 score 3 scripts 255 downloads 2 exports 35 dependencies

Last updated 1 years agofrom:a7d4b426e3. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 28 2025
R-4.5-winOKJan 28 2025
R-4.5-macOKJan 28 2025
R-4.5-linuxOKJan 28 2025
R-4.4-winOKJan 28 2025
R-4.4-macOKJan 28 2025
R-4.3-winOKDec 29 2024
R-4.3-macOKDec 29 2024

Exports:estimateEffectisIdentified

Dependencies:abindbdsmatrixBHBiocGenericsBiocManagercliclueclustercolorspacecorpcorcpp11DEoptimRfastICAgenericsggmgluegraphigraphlatticelifecyclelmtestmagrittrMASSMatrixpcalgpkgconfigRBGLRcppRcppArmadillorlangrobustbasesfsmiscvcdvctrszoo

eff2: Efficient least squares for total causal effects

Rendered fromeff2-doc.Rmdusingknitr::rmarkdownon Jan 28 2025.

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