cit: Causal Inference Test
Version 2.1

A likelihood-based hypothesis testing approach is implemented for assessing causal mediation. For example, it could be used to test for mediation of a known causal association between a DNA variant, the 'instrumental variable', and a clinical outcome or phenotype by gene expression or DNA methylation, the potential mediator. Another example would be testing mediation of the effect of a drug on a clinical outcome by the molecular target. The hypothesis test generates a p-value or permutation-based FDR value with confidence intervals to quantify uncertainty in the causal inference. The outcome can be represented by either a continuous or binary variable, the potential mediator is continuous, and the instrumental variable can be continuous or binary and is not limited to a single variable but may be a design matrix representing multiple variables.

Package details

AuthorJoshua Millstein
Date of publication2016-11-15 07:16:48
MaintainerJoshua Millstein <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the cit package in your browser

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

cit documentation built on May 30, 2017, 7:23 a.m.