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 16 Jul. 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

stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  
bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
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  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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