Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


⚠️There's a newer version (2.19.2) of this package.Take me there.

SimDesign (version 2.0.1)

Structure for Organizing Monte Carlo Simulation Designs

Description

Provides tools to help safely and efficiently organize Monte Carlo simulations in R. The package controls the structure and back-end of Monte Carlo simulations by utilizing a general generate-analyse-summarise strategy. The functions provided control common simulation issues such as re-simulating non-convergent results, support parallel back-end and MPI distributed computations, save and restore temporary files, aggregate results across independent nodes, and provide native support for debugging. For a pedagogical introduction to the package refer to Sigal and Chalmers (2016) .

Copy Link

Version

Install

install.packages('SimDesign')

Monthly Downloads

7,495

Version

2.0.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Phil Chalmers

Last Published

January 20th, 2020

Functions in SimDesign (2.0.1)

IRMSE

Compute the integrated root mean-square error
RMSE

Compute the (normalized) root mean square error
rmvnorm

Generate data with the multivariate normal (i.e., Gaussian) distribution
RE

Compute the relative efficiency of multiple estimators
rmvt

Generate data with the multivariate t distribution
createDesign

Create the simulation Design object
quiet

Suppress function messages and Concatenate and Print (cat)
RD

Compute the relative difference
bias

Compute (relative/standardized) bias summary statistic
RAB

Compute the relative absolute bias of multiple estimators
SimDesign

Structure for Organizing Monte Carlo Simulation Designs
SimBoot

Function to present bootstrap standard errors estimates for Monte Carlo simulation meta-statistics
SimClean

Removes/cleans files and folders that have been saved
SimResults

Function to read in saved simulation results
SimFunctions

Skeleton functions for simulations
rtruncate

Generate a random set of values within a truncated range
rinvWishart

Generate data with the inverse Wishart distribution
rmgh

Generate data with the multivariate g-and-h distribution
runSimulation

Run a Monte Carlo simulation given a data.frame of conditions and simulation functions
SimAnova

Function for decomposing the simulation into ANOVA-based effect sizes
Serlin2000

Empirical detection robustness method suggested by Serlin (2000)
SimExtract

Function to extract extra information from SimDesign objects
aggregate_simulations

Collapse separate simulation files into a single result
add_missing

Add missing values to a vector given a MCAR, MAR, or MNAR scheme
boot_predict

Compute prediction estimates for the replication size using bootstrap MSE estimates
rValeMaurelli

Generate non-normal data with Vale & Maurelli's (1983) method
rHeadrick

Generate non-normal data with Headrick's (2002) method
SimShiny

Generate a basic Monte Carlo simulation GUI template
rejectionSampling

Rejection sampling (i.e., accept-reject method) to draw samples from difficult probability density functions
rint

Generate integer values within specified range
Summarise

Summarise simulated data using various population comparison statistics
reSummarise

Run a summarise step for results that have been saved to the hard drive
rbind.SimDesign

Combine two separate SimDesign objects by row
Analyse

Compute estimates and statistics
EDR

Compute the empirical detection rate for Type I errors and Power
MAE

Compute the mean absolute error
ECR

Compute empirical coverage rates
BF_sim

Example simulation from Brown and Forsythe (1974)
Generate

Generate data
MSRSE

Compute the relative performance behavior of collections of standard errors
Attach

Attach the simulation conditions for easier reference
BF_sim_alternative

(Alternative) Example simulation from Brown and Forsythe (1974)