Nonindependence Audit

Check whether the observations being analysed are really independent, then correct the analysis. Names the unit that was randomised or sampled independently (animal, patient, plate, site, run), counts it as the effective n, recomputes the test on one aggregate per unit as a sanity floor, then refits with a random intercept, cluster-robust standard errors or a group-level permutation test. Reports the intraclass correlation, the design effect and the before and after interval, flags fewer than five or six clusters per arm as too few to estimate variance components, and checks time and space for the same dependence. Use for "n is 10,000 cells but only 3 animals", "repeated measures per patient", "samples from the same site", "pseudoreplication", "is my p-value inflated". Not for whole-manuscript statistics (paper-statistics-review) or technical batches (batch-effect-audit).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 99272577bb

Frequently asked questions

npx get-skill add greenblacked/nonindependence-audit