Other packages > Find by keyword >

cit  

Causal Inference Test
View on CRAN: Click here


Download and install cit package within the R console
Install from CRAN:
install.packages("cit")

Install from Github:
library("remotes")
install_github("cran/cit")

Install by package version:
library("remotes")
install_version("cit", "2.3.2")



Attach the package and use:
library("cit")
Maintained by
Joshua Millstein
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2011-09-07
Latest Update: 2024-06-28
Description:
A likelihood-based hypothesis testing approach is implemented for assessing causal mediation. Described in Millstein, Chen, and Breton (2016), , 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.
How to cite:
Joshua Millstein (2011). cit: Causal Inference Test. R package version 2.3.2, https://cran.r-project.org/web/packages/cit. Accessed 07 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:26), 1.0 (2011-09-07 08:38), 1.1 (2011-12-10 10:13), 1.2 (2013-12-20 07:54), 1.3 (2014-12-10 08:06), 1.4 (2015-03-10 19:47), 1.5 (2015-10-25 08:55), 1.7 (2015-10-28 19:47), 1.8 (2016-01-09 14:03), 1.9 (2016-01-10 17:28), 2.0 (2016-03-07 22:44), 2.1 (2016-11-15 07:16), 2.2 (2017-12-15 21:46), 2.3.1 (2021-05-25 09:20)
Other packages that cited cit R package
View cit citation profile
Other R packages that cit depends, imports, suggests or enhances
Complete documentation for cit
Functions, R codes and Examples using the cit R package
Some associated functions: cit-package . cit.bp . cit.cp . fdr.cit . fdr.od . fdr.q.para . fdr.q.perm . iuq . linreg . 
Some associated R codes: C_CIT.R .  Full cit package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
BayesESS  
Determining Effective Sample Size
Determines effective sample size of a parametric prior distribution in Bayesian models. For a web-b ...
Download / Learn more Package Citations See dependency  
bbricks  
Bayesian Methods and Graphical Model Structures for Statistical Modeling
A set of frequently used Bayesian parametric and nonparametric model structures, as well as a set of ...
Download / Learn more Package Citations See dependency  
modelwordcloud  
Model Word Clouds
Makes a word cloud of text, sized by the frequency of the word, and colored either by user-specified ...
Download / Learn more Package Citations See dependency  
enrichwith  
Methods to Enrich R Objects with Extra Components
Provides the "enrich" method to enrich list-like R objects with new, relevant components. The curren ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA