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 04 Jun. 2026.
Previous versions and publish date:
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

AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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