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:
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')) |
Bug tracker:https://github.com/richardkwo/eff2/issues
- ex1 - An example of 10 variables simulated from a linear SEM
Last updated 10 months agofrom:a7d4b426e3. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 30 2024 |
R-4.5-win | OK | Oct 30 2024 |
R-4.5-linux | OK | Oct 30 2024 |
R-4.4-win | OK | Oct 30 2024 |
R-4.4-mac | OK | Oct 30 2024 |
R-4.3-win | OK | Oct 30 2024 |
R-4.3-mac | OK | Oct 30 2024 |
Exports:estimateEffectisIdentified
Dependencies:abindbdsmatrixBHBiocGenericsBiocManagercliclueclustercolorspacecorpcorcpp11DEoptimRfastICAggmgluegraphigraphlatticelifecyclelmtestmagrittrMASSMatrixpcalgpkgconfigRBGLRcppRcppArmadillorlangrobustbasesfsmiscvcdvctrszoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
eff2: efficient least squares for estimating total causal effects | eff2-package eff2 |
Estimate the total causal effect | estimateEffect |
An example of 10 variables simulated from a linear SEM | ex1 |
Check if a total causal effect is identified | isIdentified |