greta-dev / greta.multivariate

a greta extension for multivariate modelling
1 stars 4 forks source link

possible typo in conditional_bernoulli docs #4

Open jdyen opened 5 years ago

jdyen commented 5 years ago

See here: https://github.com/greta-dev/greta.multivariate/blob/26e4554752fd8f5709a3f16a39007353e7c36569/R/conditional_bernoulli.R#L23

I'm assuming this model ignores false positives, so shouldn't the (1 - psi) be multiplied by 1 if all(y == 0) and by 0 otherwise?