Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.8%) to scientific vocabulary
Repository
Code for Deming Book Chapter
Basic Info
- Host: GitHub
- Owner: lukaspinpin
- Language: R
- Default Branch: main
- Size: 34.2 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
OptimalRAR: Simulation of Response-Adaptive Randomization Designs
This repository contains the source code used for the simulations presented in the book chapter "Response-Adaptive Randomization Designs based on Optimal Allocation Proportions". The codebase includes various scripts to simulate different response-adaptive randomization scenarios and analyze the results.
Contents
Simulation.R: This is the main script of the project. By default, it is set up to replicate the results for Table 3 from the book chapter. However, it is highly configurable, allowing users to simulate different scenarios by adjusting parameters such as sample size, burn-in period, and endpoints.Data_Generator.R: This script generates data based on user-specified parameters. It forms the backbone of the simulation process, providing the necessary data for analysis.WaldTest.R: Implements the Wald Test for the simple mean difference across various endpoints. It includes specific functions for binary endpoints and the six measures discussed in the book chapter. The test statistic is also corrected for extreme cases.ER.R: Script for Equal Randomization (ER). To implement restricted randomization and ensure equal sample sizes per arm, set the burn-in period to half of the sample size (n/2).SMLE.R: Implements SMLE targeting either Neyman or minF proportions.DBCD.R: DBCD also targeting Neyman or minF proportions.ERARDE.R: ERADE targeting Neyman or minF proportions.
Usage
The scripts are designed to be modular and easily customizable. Users can modify the parameters in Simulation.R to explore different adaptive randomization strategies and outcomes. For detailed instructions on how to set up and run the simulations, please refer to the comments within each script.
Errors
If you believe you have identified any errors, please reach out to Lukas Pin at lukas.pin@mrc-bsu.cam.ac.uk.
Owner
- Name: Lukas Pin
- Login: lukaspinpin
- Kind: user
- Repositories: 1
- Profile: https://github.com/lukaspinpin
Biostatistics PhD Student @University of Cambridge
Citation (Citation.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Pin
given-names: Lukas
title: "Code for Deming Book Chapter on Response-Adaptive
Randomization Designs based on Optimal Allocation
Proportions"
url: https://github.com/lukaspinpin/OptimalRAR.git
version: 1.0.0
date-released: 2024-01-30