You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# logpexp(x) returns log(1 + exp(x)). The computation is performed in a# numerically stable manner. For large entries of x, log(1 + exp(x)) is# effectively the same as x.logpexp<-function (x) {
y<-xi<- which(x<16)
y[i] <- log(1+ exp(x[i]))
return(y)
}
try:
set.seed(123)
x = rpois(1000,1000)
ebpm_point_gamma(x,1)
ebpm_point_gamma(x,1)$posterior$mean
The text was updated successfully, but these errors were encountered: