Skip to content

cit

Causal Inference Test

v2.3.2 · Jun 28, 2024 · Artistic-2.0

Description

A likelihood-based hypothesis testing approach is implemented for assessing causal mediation. Described in Millstein, Chen, and Breton (2016), <DOI:10.1093/bioinformatics/btw135>, 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.

Downloads

379

Last 30 days

10005th

1K

Last 90 days

4K

Last year

Trend: +2.7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Version History

new 2.3.2 Mar 10, 2026
updated 2.3.2 ← 2.3.1 diff Jun 27, 2024
updated 2.3.1 ← 2.2 diff May 24, 2021
updated 2.2 ← 2.1 diff Dec 14, 2017
updated 2.1 ← 2.0 diff Nov 14, 2016
updated 2.0 ← 1.9 diff Mar 6, 2016
updated 1.9 ← 1.8 diff Jan 9, 2016
updated 1.8 ← 1.7 diff Jan 8, 2016
updated 1.7 ← 1.5 diff Oct 27, 2015
updated 1.5 ← 1.4 diff Oct 24, 2015
updated 1.4 ← 1.3 diff Mar 9, 2015
updated 1.3 ← 1.2 diff Dec 9, 2014
updated 1.2 ← 1.1 diff Dec 19, 2013
updated 1.1 ← 1.0 diff Dec 9, 2011
new 1.0 Sep 6, 2011