# NOT RUN {
#################################################################
# Verifying optimality of a design for the 4-parameter Hill model
#################################################################
## initial estiamtes for the parameters of the Hill model
a <- 0.008949 # ED50
b <- -1.79 # Hill constant
c <- 0.137 # lower limit
d <- 1.7 # upper limit
# D belongs to c(.001, 1000) ## dose in mg
## Hill parameters are c(a, b, c, d)
# dose, minDose and maxDose vector in mg scale
sensmultiple (dose = c(0.001, 0.009426562, 0.01973041, 999.9974),
w = c(0.4806477, 0.40815, 0.06114173, 0.05006055),
minDose = .001, maxDose = 1000,
Hill_par = TRUE,
inipars = c(a, b, c, d),
lambda = c(0.05, 0.05, .90),
delta = -1)
# }
Run the code above in your browser using DataLab