Closed realkrantz closed 5 years ago
That should be determined by the column n
in the data frame you pass to add_fitted_draws. If you change it to 1 I think you should get what you're looking for.
Great, @mjskay. It works. Just tested. Thank you very much.
I propose that a function allowing the number of trials
n
to be set at an arbitrary value such as 1 or 100 be added inadd_fiited_draws
for a binomial regression model in order to make it possible or at least straightfoward gettingadd_fitted_draws
values
in probability or percentage.For example, when I do this based on the data below:
I would like
E
to be probabilities based on number of trialsn
fixed at 1. Instead, I get some values ofE
greater than 100, which is not appropriate because I was expecting these to be proportions or percentages.Thanks in advance for any help.