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.

Package details

AuthorRichard Guo [aut, cre] (<https://orcid.org/0000-0002-2081-7398>)
MaintainerRichard Guo <ricguo@uw.edu>
LicenseMIT + file LICENSE
Version1.0.1
URL https://github.com/richardkwo/eff2
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("eff2")

Try the eff2 package in your browser

Any scripts or data that you put into this service are public.

eff2 documentation built on Oct. 1, 2021, 1:07 a.m.