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

Expand vignette with more examples #44

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Conversation

matt-graham
Copy link
Collaborator

Resolves #21 and resolves #7.

Expands the vignette with more examples including an illustration of using posterior package to compute summary statistics and diagnostics, which now that the traces value returned by sample_chain is a matrix with named columns corresponding to variables and rows chain iterations (changed from previous dataframe in #33), can be achieved by directly passing the traces matrix to the summarize_draws function in the posterior package (or first converting to a draws object and then using the summary generic).

The vignette now compares adaptation using both the Barker and Langevin proposals to highlight the more robust and stable behaviour of the latter.

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (29cedd4) to head (e0a75d9).
Report is 21 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #44   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          398       398           
=========================================
  Hits           398       398           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matt-graham matt-graham merged commit e86f501 into main Oct 24, 2024
11 checks passed
@matt-graham matt-graham deleted the mmg/vignette-updates branch October 24, 2024 13:52
@matt-graham matt-graham added the documentation Improvements or additions to documentation label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
1 participant