set.seed(as.numeric(Sys.Date()))
obs <- runif(2,0.5,4.5)
theta <- sum(obs)/2
log.like <- dexp(obs[1], rate = 1/theta)*dexp(obs[2], rate = 1/theta)

Ok, Tell Me If You've Heard This One Before...

The Exponential distribution



Auburngrads/teachingApps documentation built on June 17, 2020, 4:57 a.m.