modTurPoint {modTurPoint} | R Documentation |
Modified Turning Point Method for ED50 Estimation
Description
50 percent effective dose (abbreviated as ED50) is one of the most concerns in the field of Anesthesiology. There are many methods to estimate ED50 and its confidence interval. Turning point method is one of them proposed by Choi in 1990 and here is the modified function to realize the ED50 estimation.
Usage
modTurPoint(doseSeries, onlyTurPoint = FALSE, confidence = 0.95)
Arguments
doseSeries |
A numeric vector. It can be the whole dose sequence given in a group of experiments in the order. And it can also be the turning point sequence calculated. |
onlyTurPoint |
A logical value indicating whether the |
confidence |
A value ranging from 0 to 1 that represents the confidence level. The default value is 0.95. |
Value
A list:
Estimate |
The point estimate of ED59 using modified turning point method. |
Confidence |
Confidence value input. |
CI.lower |
The lower bound of confidence interval under a certain confidence level. |
CI.upper |
The upper bound of confidence interval under a certain confidence level. |
References
Choi SC Interval estimation of the LD50 based on an up-and-down experiment. Biometrics 1990; 46: 485-92.
Examples
library(modTurPoint)
dose1 <- c(3.1, 3.2, 3.3, 3.2, 3.1, 3.2, 3.3, 3.2, 3.3)
modTurPoint(doseSeries = dose1, confidence = 0.9)
dose2 <- c(3.25, 3.15, 3.25, 3.25)
modTurPoint(doseSeries = dose2, onlyTurPoint = TRUE, confidence = 0.9)