For the density function of the Discrete uniform distribution see DiscreteUniform.
Value
mldunif returns an object of class univariateML.
This is a named numeric vector with maximum likelihood estimates for
min and max and the following attributes:
modelThe name of the model.
densityThe density associated with the estimates.
logLikThe loglikelihood at the maximum.
supportThe support of the density.
nThe number of observations.
callThe call as captured my
match.call
References
Johnson, N. L., Kemp, A. W., & Kotz, S. (2005). Univariate Discrete Distributions (3rd ed.). Wiley-Blackwell.
See also
DiscreteUniform for the density.
