Learn R Programming

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

SimDesign (version 0.3)

Structure for Organizing Monte Carlo Simulation Designs

Description

Provides tools to help organize Monte Carlo simulations in R. The tools provided control the structure and back-end of the Monte Carlo simulations by utilizing a generate-analyse-summarise strategy. The functions control common simulation issues such as re-simulating non-convergent results, support parallel back-end computations, save and restore temporary files, aggregate results across independent nodes, and provide native support for debugging.

Copy Link

Version

Install

install.packages('SimDesign')

Monthly Downloads

8,954

Version

0.3

License

GPL (>= 2)

Maintainer

Phil Chalmers

Last Published

October 5th, 2015

Functions in SimDesign (0.3)

SimDesign_functions

Skeleton functions for simulations
runSimulation

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

Main subroutine
EDR

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

Compute the mean absolute error
generate

Generate data
ECR

Compute the empirical coverage rate for Type I errors and Power
aggregate_simulations

Collapse seperate simulation files into a single result
SimDesign

Structure for Organizing Monte Carlo Simulation Designs
summarise

Summarise simulated data using various population comparison statistics
analyse

Compute estimates and statistics
RE

Compute the relative efficiency of multiple estimators
check_error

Check if object contains an error and stop flow
RMSE

Compute the (normalized) root mean square error
bias

Compute (relative) bias summary statistic