Crate gsdesign

Crate gsdesign 

Source
Expand description

Group sequential design

This crate ports the canonical Simpson grid construction and density update algorithms from the original R gsDesign implementations to Rust.

Structs§

DensityGrid
Density grid used for recursive convolution across interim analyses.
IntegrationGrid
Grid produced by Simpson’s rule on the canonical normal scale.

Enums§

IntegrationError
Error type reported by numerical integration routines.

Functions§

gridpts
Construct Simpson’s rule grid points for canonical normal integration.
h1
Initialize the density grid for the first group sequential analysis.
hupdate
Update the density grid for a subsequent group sequential analysis.