simulator

An Engine for Running Simulations

https://github.com/jacobbien/simulator

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.6%) to scientific vocabulary

Keywords

r simulation
Last synced: 9 months ago · JSON representation

Repository

An Engine for Running Simulations

Basic Info
Statistics
  • Stars: 52
  • Watchers: 8
  • Forks: 11
  • Open Issues: 4
  • Releases: 0
Topics
r simulation
Created almost 10 years ago · Last pushed about 3 years ago
Metadata Files
Readme

README.Rmd

---
output: github_document
---



```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
```

# The Simulator 

The [simulator](https://jacobbien.github.io/simulator/) is an R package that streamlines the process of performing simulations by creating a common infrastructure that can be easily used and reused across projects.  The paper [The Simulator: An Engine to Streamline Simulations](https://arxiv.org/abs/1607.00021) discusses the simulator in greater depth.

## Installation

The most up-to-date version of the simulator is on this github page and can be installed using the [devtools](https://cran.r-project.org/package=devtools) R package (if not already installed, open R and type `install.packages("devtools")`). To install simulator, type

```{r, eval = FALSE}
devtools::install_github("jacobbien/simulator")
```
in R.  This installs `simulator` from github.

## Vignettes

The [Getting Started](https://jacobbien.github.io/simulator/articles/simulator.html) vignette walks you through setting up your first simulation with the simulator.

The best way to get a sense of how to use the simulator is to look at examples.  There are several vignettes that demonstrate how the simulator can be used to conduct simulations for some of the most famous statistical methods.

1) [Lasso](https://jacobbien.github.io/simulator/articles/lasso.html) vignette: Explains basics, including the magrittr pipe and making plots and tables. Also demonstrates some more advanced features such as writing method extensions (such as refitting the result of the lasso or performing cross-validation).
2) [James-Stein](https://jacobbien.github.io/simulator/articles/james-stein.html) vignette: Shows how to step into specific parts of the simulation for troubleshooting your code.
3) [Elastic net](https://jacobbien.github.io/simulator/articles/elastic-net.html) vignette: Shows how we can work with a sequence of methods that are identical except for a parameter that varies
4) [Benjamini-Hochberg](https://jacobbien.github.io/simulator/articles/fdr.html) vignette: Shows how we can load a preexisting simulation and add more random draws without having to rerun anything.  It also shows how one can have multiple simulation objects that point to overlapping sets of results.


Owner

  • Name: Jacob Bien
  • Login: jacobbien
  • Kind: user
  • Company: University of Southern California

Associate Professor of Data Sciences and Operations University of Southern California

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 9
  • Total pull requests: 2
  • Average time to close issues: 3 days
  • Average time to close pull requests: about 15 hours
  • Total issue authors: 5
  • Total pull request authors: 2
  • Average comments per issue: 1.22
  • Average comments per pull request: 2.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • adw96 (4)
  • GForb (2)
  • sahirbhatnagar (1)
  • AhmedAliStats (1)
Pull Request Authors
  • adw96 (1)
  • gregfaletto (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 241 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: simulator

An Engine for Running Simulations

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 241 Last month
Rankings
Stargazers count: 7.0%
Forks count: 7.7%
Average: 26.2%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Downloads: 50.9%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • grDevices * imports
  • graphics * imports
  • magrittr * imports
  • methods * imports
  • stats * imports
  • utils * imports
  • digest * suggests
  • ggplot2 * suggests
  • glmnet * suggests
  • knitr * suggests
  • mvtnorm * suggests
  • rmarkdown * suggests
  • testthat * suggests