llikBinom {rxode2ll} | R Documentation |
Calculate the log likelihood of the binomial function (and its derivatives)
llikBinom(x, size, prob, full = FALSE)
x |
Number of successes |
size |
Size of trial |
prob |
probability of success |
full |
Add the data frame showing x, mean, sd as well as the fx and derivatives |
data frame with fx
for the pdf value of with
dProb
that has the derivatives with respect to the parameters at
the observation time-point
Matthew L. Fidler
llikBinom(46:54, 100, 0.5)
llikBinom(46:54, 100, 0.5, TRUE)