bug in inv_cloglog formula

7 views
Skip to first unread message

Bob Carpenter

unread,
Apr 16, 2013, 4:47:11 PM4/16/13
to stan-...@googlegroups.com, stan...@googlegroups.com
The formula for inv_cloglog is wrong. It should be:

inv_cloglog(y) = 1 - exp(-exp(y))

cloglog(x) = log(-log(1 - x))

I'm going to fix that and also include cloglog
for the next release.

- Bob
Reply all
Reply to author
Forward
0 new messages