Predict Doses for Binomial Assay model (using counts)

Description

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

Usage

1
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

1
2
3
4
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)