# testassay v0.1.0

Monthly downloads

## A Hypothesis Testing Framework for Validating an Assay for Precision

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.

## Readme

# testassay

An R package to facilitate assay validation in a hypothesis testing framework. This is a companion to the following paper, currently under review:

Michael P Fay, Michael C Sachs, and Kazutoyo Miura. *A Hypothesis Testing Framework for Validating an Assay for Precision*. (2016), Under Review.

### Abstract

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 straightfowardly applied to constant standard deviation assays. We illustrate these tools by applying them to a growth inhibition assay.

### Details

Read the vignette to see how the package is used https://sachsmc.github.io/testassay. You are welcome to send us feedback using Github issues.

## Functions in testassay

Name | Description | |

gia | Growth Inhibition Assay | |

lognormConstCVCI | log-normal constant CV model | |

normConstCVCI | Log-centered confidence intervals from a Normal constant coeffficient of variation model | |

predict.assaytest | Construct effective standard deviation intervals for observed assay values | |

testassay | Hypothesis testing procedure for assay validation for precision | |

print.assaytest | Print the results of an assaytest | |

No Results! |

## Vignettes of testassay

Name | ||

GIAValidationExample.Rmd | ||

refs.bib | ||

No Results! |

## Last month downloads

## Details

Type | Package |

License | MIT + file LICENSE |

LazyData | TRUE |

VignetteBuilder | knitr |

RoxygenNote | 5.0.1 |

NeedsCompilation | no |

Packaged | 2016-11-29 14:31:42 UTC; micsac |

Repository | CRAN |

Date/Publication | 2016-11-29 18:10:38 |

suggests | dplyr , ggplot2 , knitr , rmarkdown |

depends | R (>= 2.10) |

Contributors | Michael Fay, Michael Sachs |

#### Include our badge in your README

```
[![Rdoc](http://www.rdocumentation.org/badges/version/testassay)](http://www.rdocumentation.org/packages/testassay)
```