Hi & thanks for your email.
To input non-integer values into the Biomial, can, yes, be seen an
error or not, depending on the situation. In most cases it is an user-
error, and for that reason its now raise an error.
With the binomial as
{n \chose y} p^y * (1-p)^(n-y)
its kind of obvious how to use a non-integer for p^y and (1-p)... for
the normalizing constant its not so clear (used for marginal
likelihood), should we use the Gamma function which generalize the
integer factorials? if not, how about runding to 'nearest integer',
using floor(),round() etc... its all these small details.
well, if there should be a 'binomial' for continous response, I'm happy
to add that one under a spesific own name, so it can defined properly
and the user can know exactly what is going on.
If you send me the details, I can add a 'xbinomial' today, similar to
inla.doc("xpoisson")
Best
H
> --
> You received this message because you are subscribed to the Google
> Groups "R-inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
r-inla-discussion...@googlegroups.com
> .
> To view this discussion on the web, visit
>
https://groups.google.com/d/msgid/r-inla-discussion-group/f42a8824-06b6-497e-9326-7a6da85c7148%40googlegroups.com
> .
--
Håvard Rue
Helpdesk
he...@r-inla.org