Crandore Hub

pilotr

Simulate Experimental and Behavioural Data from a Portable Design Specification

Generative simulation of experimental and behavioural data sets from a portable JavaScript Object Notation (JSON) design specification shared with the 'Python' package of the same name. Supports user-specified fixed effect sizes, crossed by-subject and by-item random intercepts and slopes, predictors measured with error, realistic response families (Gaussian, lognormal, shifted lognormal, ex-Gaussian, Bernoulli, Poisson, ordinal and Beta), and simulation-based power and precision-based design analysis, including the Type S and Type M errors of Gelman and Carlin (2014) <doi:10.1177/1745691614551642> and a region of practical equivalence. A shared cross-language random-number generator means that, given the same specification and seed, the R and 'Python' implementations produce identical data: exactly for the Gaussian family and for any family with rounding set, and to within the last unit in the last place for families applying a transcendental function to the linear predictor, whose rounding the IEEE-754 standard does not fix.

Versions across snapshots

VersionRepositoryFileSize
0.3.0 rolling linux/jammy R-4.5 pilotr_0.3.0.tar.gz 470.8 KiB
0.3.0 rolling linux/noble R-4.5 pilotr_0.3.0.tar.gz 470.4 KiB
0.3.0 rolling source/ R- pilotr_0.3.0.tar.gz 293.2 KiB
0.3.0 latest linux/jammy R-4.5 pilotr_0.3.0.tar.gz 470.8 KiB
0.3.0 latest linux/noble R-4.5 pilotr_0.3.0.tar.gz 470.4 KiB
0.3.0 latest source/ R- pilotr_0.3.0.tar.gz 293.2 KiB
0.3.0 2026-04-23 source/ R- pilotr_0.3.0.tar.gz 0 B

Dependencies (latest)

Imports

Suggests