MOST 0.1.0
Multiphase Optimization Strategy
Released Nov 9, 2017 by Liying Huang
This package is available for Renjin and there are no known compatibility issues.
Provides functions similar to the 'SAS' macros previously provided to accompany Collins, Dziak, and Li (2009) and Dziak, Nahum-Shani, and Collins (2012) , papers which outline practical benefits and challenges of factorial and fractional factorial experiments for scientists interested in developing biological and/or behavioral interventions, especially in the context of the multiphase optimization strategy (see Collins, Kugler & Gwadz 2016) . The package currently contains three functions. First, RelativeCosts1() draws a graph of the relative cost of complete and reduced factorial designs versus other alternatives. Second, RandomAssignmentGenerator() returns a dataframe which contains a list of random numbers that can be used to conveniently assign participants to conditions in an experiment with many conditions. Third, FactorialPowerPlan() estimates the power, detectable effect size, or required sample size of a factorial or fractional factorial experiment, for main effects or interactions, given several possible choices of effect size metric, and allowing pretests and clustering.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies>
<dependency>
<groupId>org.renjin.cran</groupId>
<artifactId>MOST</artifactId>
<version>0.1.0-b7</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>bedatadriven</id>
<name>bedatadriven public repo</name>
<url>https://nexus.bedatadriven.com/content/groups/public/</url>
</repository>
</repositories>
View build log
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:MOST')
Test Results
This package was last tested against Renjin 0.9.2644
on Jun 1, 2018.