Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extract_priors to docs. #634

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ Similarly, we can [`unfix`](@ref) variables, i.e. return them to their original
unfix
```

## Extracting priors



yebai marked this conversation as resolved.
Show resolved Hide resolved
## Utilities

It is possible to manually increase (or decrease) the accumulated log density from within a model function.
Expand All @@ -124,6 +128,12 @@ Return values of the model function for a collection of samples can be obtained
generated_quantities
```

Extracting priors of the model function [`extract_priors`](@ref).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this already covered by lines 140-144?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I didn't see that. Closing this PR, then.


```@docs
extract_priors
```

For a chain of samples, one can compute the pointwise log-likelihoods of each observed random variable with [`pointwise_loglikelihoods`](@ref).

```@docs
Expand Down
Loading