Package: cit Type: Package Title: Causal Inference Test Version: 3.1.0 Date: 2026-11-05 Authors@R: c( person("Joshua", "Millstein", email = "joshua.millstein@usc.edu", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-7961-8943")), person("Mingzhi", "Ye", role = "aut")) 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 continuous, binary, or a censored survival time; the potential mediator is continuous and may be multivariate; 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. License: Artistic-2.0 Encoding: UTF-8 Depends: R (>= 4.1.0) Imports: Rcpp, stats, survival LinkingTo: Rcpp, RcppArmadillo Suggests: tinytest BugReports: https://github.com/USCbiostats/cit/issues URL: https://github.com/USCbiostats/cit NeedsCompilation: yes Repository: https://mrcieu.r-universe.dev Date/Publication: 2026-11-15 17:46:31 UTC RemoteUrl: https://github.com/USCbiostats/cit RemoteRef: HEAD RemoteSha: e23d2eac990353191258613aea22f1b33241e07d Packaged: 2026-11-15 18:54:21 UTC; root Author: Joshua Millstein [aut, cre] (ORCID: ), Mingzhi Ye [aut] Maintainer: Joshua Millstein