Stan v1.3 manual - typo

61 views
Skip to first unread message

Sean O'Riordain

unread,
Jun 17, 2013, 9:56:27 AM6/17/13
to stan-...@googlegroups.com
I can't see at the moment if it has already been fixed, but on page 56 of the Stan manual v1.3 the word "discimrinativess" on the last line of the page (in Section 11.8) could well be a typo...
 
Kind regards,

Sean O'Riordain


Daniel Lee

unread,
Jun 17, 2013, 1:27:41 PM6/17/13
to stan-...@googlegroups.com
Sean, thanks for letting us know. I'll get it fixed.


Daniel



--
You received this message because you are subscribed to the Google Groups "stan users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

sp_r...@yahoo.it

unread,
Jul 23, 2013, 9:17:38 AM7/23/13
to stan-...@googlegroups.com
Another typo.
Page 135: in the generated quantities block,

alpha <- sd(y) * (alpha_std + beta_std * mean(x) / sd(x)) + mean(y);

should read:

alpha <- sd(y) * (alpha_std - beta_std * mean(x) / sd(x)) + mean(y);

Sergio

Asim

unread,
Jul 23, 2013, 3:33:06 PM7/23/13
to stan-...@googlegroups.com
On Page 40 of the manual, we have the following:

transformed data {

real<lower=0> max_cov; real<lower=0> min_cov;

max_cov <- sqrt(var1 * var2);

min_cov <- -max_cov;

}

Can the min_cov have a lower bound of zero, when it is being reassigned to be the negative of max_cov in the last line of the transformed data block? 

Asim 
 

Bob Carpenter

unread,
Jul 23, 2013, 4:07:12 PM7/23/13
to stan-...@googlegroups.com
You're right, the min_cov should have upper=0 if it's the
negative of a sqrt().

- Bob
Reply all
Reply to author
Forward
0 new messages