https://github.com/edoardocostantini/fireworks

https://github.com/edoardocostantini/fireworks

Science Score: 23.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
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.8%) to scientific vocabulary
Last synced: 5 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: EdoardoCostantini
  • Language: R
  • Default Branch: master
  • Size: 2.72 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 4 years ago · Last pushed about 3 years ago

https://github.com/EdoardoCostantini/fireworks/blob/master/

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7529333.svg)](https://doi.org/10.5281/zenodo.7529333)

# Project description
Repository hosting a comparison benchmark set up for the fireworks disaster data.

# How to replicate results

To replicate the study, you first need to make sure you have installed all the pacakges used.
You can use the `./input/prep_machine.R` script to install them.
In the following guide, it is assumed that the machine on which the simulation is run already has all packages installed.

- Open the initialization script `init.R` and check that:
  - you have all the required packages installed;
  - the fixed parameters and experimental factor levels are set to the desired values.
- Open the script `pc_run_simulation.R`
- Define the number of desired repetitions by changing the parameter `reps`
- Define the number of clusters for parallelization by changing the parameter `clusters`
- Run the script `pc_run_simulation.R`
- Run the script `pc_run_readRes.R` to unzip the results and create a single .rds file
- Finally, run the script `pc_run_plots.R` to obtain the plots.

# Repository structure
Here is the project structure:
```
 code
  functions
   impProcess.R
   imputePCAall.R
   imputePCAaux.R
   readTarGz.R
   writeTarGz.R
  subroutines
   runCell.R
   runRep.R
  compare.R
  fdd.R
  init.R
  pc_run_plots.R
  pc_run_readRes.R
  pc_run_simulation.R
  prep.R
 input
  mice.pcr.sim_3.13.9.tar.gz
  mice_3.13.18.tar.gz
 output
  20211220_144954.tar.gz
  20211220_144954_res.rds
 .Rprofile
 .gitignore
 README.md


```

Here is a brief description of the folders:
- `code`: the main software to run the study
  - `checks` folder contains some script to check a few details of the procedure are producing the expected results
  - `experiments` folder contains some initial trial scripts
  - `functions` folder with the main project specific functions
  - `helper` folder with functions to address file management and other small internal tasks 
  - `plots` folder containing some plotting scripts and pdfs
  - `subroutines` folder with the generic functions to run the simulation study
- `input` folder where all the input files (e.g., data) should be stored
- `output` folder where the results of the simulation study will be stored
- `test` folder containing unit testing files

Owner

  • Name: Edo
  • Login: EdoardoCostantini
  • Kind: user
  • Location: Tilburg, Netherlands
  • Company: Tilburg University

Sociologist turned statistician, missed developer, born interior designer but never got there

GitHub Events

Total
  • Delete event: 1
Last Year
  • Delete event: 1