BayesTwin: An R package for Bayesian inference of item-level twin data

Research output: Contribution to journalArticleScientificpeer-review

97 Downloads (Pure)


BayesTwin is an open-source R package that serves as a pipeline to the MCMC program JAGS to perform Bayesian inference on genetically-informative hierarchical twin data. Simultaneously to the biometric model, an item response theory (IRT) measurement model is estimated, allowing analysis of the raw phenotypic (item-level) data. The integration of such a measurement model is important since earlier research has shown that an analysis based on an aggregated measure (e.g., a sum-score based analysis) can lead to an underestimation of heritability and the spurious finding of genotype-environment interactions. The package includes all common biometric and IRT models as well as functions that help plot relevant information or determine whether the analysis was performed well.
Original languageEnglish
Article number33
JournalJournal of Open Research Software
Publication statusPublished - 2017


Dive into the research topics of 'BayesTwin: An R package for Bayesian inference of item-level twin data'. Together they form a unique fingerprint.

Cite this