Open jburos opened 7 years ago
Have just taken a look at this, and I think the target it incremented within the ll_binom_lp
function. See here for binomial and here for bernoulli.
That code is just a very minor adaptation of Ben and Jonah's code, for example this section of the binomial.stan file, and the likelihood functions I haven't changed, they are simply the chunks that Ben and Jonah wrote.
If you also think this looks ok, and I haven't missed something, then do let me know and I will close the issue.
Thanks @sambrilleman - although I'm still seeing really poor performance of the models with a binomial family on the biomarkers. I'm going to rename this issue to reflect my observations & will post a reproducible example.
Summary:
Not sure if this is intentional, but I noticed some
dummy
variables in the mvmer.stan chunk & it appears that the target isn't being incremented for binomial & bernoulli link functions?Description:
Looking at lines 30-31 of mvmer_lp.stan:
Shouldn't this be the following, instead?
Reproducible Steps:
Coming soon
RStanARM Version:
Here still using my fork of rstanarm, as follows:
R Version: