Skip to contents

Uniform maximum likelihood estimation

Usage

uniform_mle(x, x.start, x.end, a, b, inclusive = TRUE, log = TRUE)

Arguments

x

numeric vector representing observed histogram data

x.start

start coordinate(s) of histogram bins

x.end

end coordinate(s) of histogram bins

a

start coordinate of the uniform distribution

b

end coordinate of the uniform distribution

inclusive

whether a/b coordinates of the uniform distributions are inclusive

log

whether to return the log mle

Value

the (optional: log) maximum likelihood estimation