Learn R Programming

bda (version 10.1.9)

ld50.logitfit: Predict Doses for Binomial Assay model (using counts)

Description

Calibrate binomial assays, generalizing the calculation of LD50 based on a logistic regression model.

Usage

ld50.logitfit(rate, dose, p = 0.5)

Arguments

rate

A vector of percentages of successes among all trials.

dose

A vector of dosages.

p

Probabilities at which to predict the dose needed.

References

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Springer.

Examples

Run this code
# NOT RUN {
ldose <- rep(0:5, 2)
rate <- c(1, 4, 9, 13, 18, 20, 0, 2, 6, 10, 12, 16)/20

ld50.logitfit(rate,ldose,p = 0.5)
# }

Run the code above in your browser using DataLab