-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* `deviance` function is not supported and user will be warned when using it. * Compare to `multibugs`: multibugs doesn't seem to support `cumulative` and `density`, but provide individual cdf and pdf functions. We can also stop supporting these two functions, and direct user to use `cdf` and `pdf`. * For now, a new member `distributions` is added to `BUGSModel` to track all the distributions: using Dict right now because non-scalar rv is problematic if we store distributions in the same way we store values. `cumulative` and `density` are handled in special way in `_eval` function to allow access to distribution info at run time. Maybe this can be generalized, the distribution can be helpful introspect info Fix: #137 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
fe710e6
commit 556c5be
Showing
6 changed files
with
208 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.