Learn R Programming

OWEA

The crossover models and interference models are frequently used in clinical trials, agriculture studies, social studies, etc. While some theoretical optimality results are available, it is still challenging to apply these results in practice, especially under the varieties of drop-out mechanism. The available theoretical results, due to the complexity of exact optimal designs, typically require some specific combinations of sample size, number of treatments, and number of periods. In addition, those results are generally for some selected design problems and specific drop-out mechanism. These obstacles make the application of the theoretical results rather difficult. This R-package address these issues through a new algorithm method, based on a revision of optimal weight exchange algorithm Yang et al. (2013) <\DOI:10.1080/01621459.2013.806268>. It provides efficient crossover designs quickly under varieties situations, for different optimality criterion, different parameter of interest, different numbers of treatments and periods, regardless number of sample size and dropout mechanism. The lower bound of relative efficiency is provided as well.

Copy Link

Version

Install

install.packages('OWEA')

Monthly Downloads

167

Version

0.1.2

License

GPL-3

Maintainer

Shuai Hao

Last Published

September 17th, 2022

Functions in OWEA (0.1.2)

weight1

Implementation of Newton's method, Part 1.
weight2

Implementation of Newton's method, part 2.
infor_design

Generic function for information matrix.
phi

Function for objective function
OWEA

OWEA: A package for optimal designs by implementing optimal weight exchange algorithm.
effLB

Lower Bound Efficiency for Crossover-Dropout Model
design

Design Generator for Three Models
verify_equiv

Function for General Equivalence Theorem
generate_contrast

Generate contrast matrix
summary.dropout

Summary method for S3 object
eff

Efficiency generic function
design_app

Shiny App for design function