Package: testassay
Type: Package
Title: A Hypothesis Testing Framework for Validating an Assay for
        Precision
Version: 0.1.3
Authors@R: c(person(given = c("Michael", "C"),
                    family = "Sachs",
                    role = c("aut", "cre"),
                    email = "sachsmc@gmail.com"),
             person(given = c("Michael", "P"),
                    family = "Fay",
                    role = "aut"))
Description: A common way of validating a biological assay for is through a
    procedure, where m levels of an analyte are measured with n replicates at each
    level, and if all m estimates of the coefficient of variation (CV) are less
    than some prespecified level, then the assay is declared validated for precision
    within the range of the m analyte levels. Two limitations of this procedure are:
    there is no clear statistical statement of precision upon passing, and it is
    unclear how to modify the procedure for assays with constant standard deviation.
    We provide tools to convert such a procedure into a set of m hypothesis tests.
    This reframing motivates the m:n:q procedure, which upon completion delivers
    a 100q% upper confidence limit on the CV. Additionally, for a post-validation
    assay output of y, the method gives an ``effective standard deviation interval''
    of log(y) plus or minus r, which is a 68% confidence interval on log(mu), where
    mu is the expected value of the assay output for that sample. Further, the m:n:q
    procedure can be straightforwardly applied to constant standard deviation assays.
    We illustrate these tools by applying them to a growth inhibition assay. This is
    an implementation of the methods described in Fay, Sachs, and Miura (2018) 
    <doi:10.1002/sim.7528>.
License: MIT + file LICENSE
LazyData: TRUE
Depends: R (>= 3.5.0)
Suggests: knitr, rmarkdown, ggplot2
VignetteBuilder: knitr
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-07-28 12:59:53 UTC; micsac
Author: Michael C Sachs [aut, cre],
  Michael P Fay [aut]
Maintainer: Michael C Sachs <sachsmc@gmail.com>
Repository: CRAN
Date/Publication: 2026-07-28 13:20:02 UTC
Built: R 4.6.0; ; 2026-07-28 16:05:32 UTC; unix
