BUCSS 2.0.0

This is a major release that modernizes the user-facing API, refines the internal computation, and adds planning options. It is the first CRAN release since 1.2.1.

The bias and uncertainty correction and the sample size computations follow the same method as 1.2.1. The new options default to what 1.2.1 assumed: the regression planners’ random_predictors defaults to FALSE (predictors fixed by design) and the within-subjects and split-plot planners’ epsilon defaults to 1 (sphericity), so a plan that uses neither is computed in the frame 1.2.1 used. For every documented example that 1.2.1 can also compute, the rounded (three-decimal) adjusted noncentrality parameter matches the 1.2.1 value, except in two examples that set alpha_prior = 1. The main numerical change is the engine that finds the noncentrality parameter (see “Engine” below), which shifts some planned sample sizes, most by a few units, and makes them more accurate. Three smaller deliberate changes also move plans. An alpha_prior of 1 is computed as exactly 1, where 1.x computed with .999 in its place, which leaves most such plans unchanged and makes the rest slightly smaller (see “No Publication Filter” below). And, described under “Bug Fixes”, the general between-subjects function’s df_denominator argument, silently ignored in 1.x, now functions, and the independent t planner rounds the harmonic mean of two prior group sizes in integer arithmetic, which changes the plan (to a smaller, correct one) for pairs whose harmonic mean is a whole number. One request that 1.x answered now stops: a desired_power at or below alpha_planned, for which 1.x returned the smallest sample size it considers, is not allowable (also under “Bug Fixes”). Every plan also gains one row, its planning effect size (see “Sampled Predictors, Sphericity, and the Planning Effect Size” below).

Engine: Root Finding Instead of a Fixed Grid

No Publication Filter: An alpha_prior of 1 Is Exactly 1

API Modernization

Backward Compatibility: 1.x Names Are Deprecated, Not Removed

New Designs

Six designs join the twelve that 1.2.1 covered. Two re-present computations the package already made (the one-sample t and the analysis of covariance); four extend the correction to statistics or distributions it did not previously handle.

The Assurance Ceiling, Drawn

Auditing a Plan by Simulation

Sampled Predictors, Sphericity, and the Planning Effect Size

New Features

Bug Fixes

Documentation

Internal