Package: qra 0.2.8.1

qra: Quantal Response Analysis for Dose-Mortality Data

Functions are provided that implement the use of the Fieller's formula methodology, for calculating a confidence interval for a ratio of (commonly, correlated) means. See Fieller (1954) <doi:10.1111/j.2517-6161.1954.tb00159.x>. Here, the application of primary interest is to studies of insect mortality response to increasing doses of a fumigant, or, e.g., to time in coolstorage. The formula is used to calculate a confidence interval for the dose or time required to achieve a specified mortality proportion, commonly 0.5 or 0.99. Vignettes demonstrate link functions that may be considered, checks on fitted models, and alternative choices of error family. Note in particular the betabinomial error family. See also Maindonald, Waddell, and Petry (2001) <doi:10.1016/S0925-5214(01)00082-5>.

Authors:John Maindonald [aut, cre]

qra_0.2.8.1.tar.gz
qra_0.2.8.1.zip(r-4.7)qra_0.2.8.1.zip(r-4.6)qra_0.2.8.1.zip(r-4.5)
qra_0.2.8.1.tgz(r-4.6-any)qra_0.2.8.1.tgz(r-4.5-any)
qra_0.2.8.1.tar.gz(r-4.7-any)qra_0.2.8.1.tar.gz(r-4.6-any)
qra_0.2.8.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
qra/json (API)

# Install 'qra' in R:
install.packages('qra', repos = c('https://jhmaindonald.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jhmaindonald/qra/issues

Datasets:
  • codling1988 - Dose-mortality data, for fumigation of codling moth with methyl bromide
  • codling1989 - Dose-mortality data, for fumigation of codling moth with methyl bromide
  • HawCon - Hawaiian Contemporary Cold Treatment Dataset
  • kerrich - Kerrich Coin Toss Trial Outcomes
  • malesINfirst12 - Number of males among first 12 in families of 13 children
  • rayBlight - Incidence of ray blight disease of pyrethrum

On CRAN:

Conda:

3.78 score 1 scripts 669 downloads 13 exports 56 dependencies

Last updated from:1b405d37e5. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK182
source / vignettesOK250
linux-release-x86_64OK183
macos-release-arm64OK118
macos-oldrel-arm64OK97
windows-develOK123
windows-releaseOK110
windows-oldrelOK165
wasm-releaseOK140

Exports:checkDispextractLTextractLTpwrfiellerfieller2foldpfpowergetRhogetScaleCoefgpsWithingraphSumscaleLocAdjustvarRatio

Dependencies:base64encbootbslibcachemclicpp11deldirdigestevaluatefarverfastmapfontawesomefsggplot2gluegtablehighrhtmltoolsinterpisobandjpegjquerylibjsonliteknitrlabelinglatticelatticeExtralifecyclelme4MASSMatrixmemoisemimeminqanlmenloptrpngR6rappdirsrbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangrmarkdownS7sassscalestinytexvctrsviridisLitewithrxfunyaml

Quantal Response Analysis Functions
Introduction | Data setup and choice of model | Graphical Display | The choice of link function | Modeling the error distribution | Choices required for mixed model fits | Quasibinomial errors | Complementary log-log versus logit link | Details of the model fitting process | Fitted lines, vs fitted normal spline curves | Diagnostic checks | Uniform quantile-quantile plots --- an example. | AIC-based model comparisons | Estimates of $\rho$, and of the dispersion factor | Binomial errors, plus observation level random effects | Confidence intervals for ratios | 99% Lethal time estimates and confidence intervals | What difference does the choice of model make? | Further models and model fitting functions | Binomial errors, observation level random effects, and more | Fits using lme4::glmer() | AIC statistics | Control settings | Gaussian errors, on a complementary log-log scale | Parting comments | The assumed dose-response is a rough approximation! | References

Last update: 2025-05-19
Started: 2021-05-05

Distributions for Binomial-like and Poisson-like Counts
Models for Binary Responses | The Binomial and Poisson --- R functions | More General Models for Binomial-like Counts | Notational conventions | The Pólya urn model as motivation for the betabinomial | Comparing the betabinomial with the quasibinomial | Data that do, and do not, appear binomial | Diseased plants data --- comparison of alternative models | Do differences from the binomial matter? | Numbers of males, in first 12 of 13 children | Bernoulli 0/1 data are a special case | Count data --- Poisson and Related Distributions | Data that do, and do not, appear Poisson | Models for Poisson-Like Counts | References

Last update: 2023-11-10
Started: 2021-05-05

Plot MeBr Apple Fumigation Data
Plot data | Plot 1988 and 1989 data separately | Correct for control mortality

Last update: 2023-11-10
Started: 2017-08-08