Skip to content

Commit 1a4ae9a

Browse files
committed
Rel 4.4.5 - Minor shuffling between require and main src dir
1 parent cd68d68 commit 1a4ae9a

6 files changed

Lines changed: 18 additions & 45 deletions

File tree

docs/src/references.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ There is no shortage of additional good books on Bayesian statistics. A few of m
1010

1111
3. [Bolstad: Understanding Computational Bayesian Statistics](http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470046090.html)
1212

13-
4. [Gelman, Hill: Data Analysis Using Regression and Multilevel/Hierarchical Models](http://www.stat.columbia.edu/~gelman/arm/)
13+
4.a [Gelman, Hill: Data Analysis Using Regression and Multilevel/Hierarchical Models](http://www.stat.columbia.edu/~gelman/arm/)
14+
15+
4.b [Gelman, Hill, Vehtari: Rgression and other stories](https://www.cambridge.org/highereducation/books/regression-and-other-stories/DD20DD6C9057118581076E54E40C372C#overview)
1416

1517
5. [Kruschke: Doing Bayesian Data Analysis](https://sites.google.com/site/doingbayesiandataanalysis/what-s-new-in-2nd-ed)
1618

@@ -21,3 +23,5 @@ There is no shortage of additional good books on Bayesian statistics. A few of m
2123
8. [Causal Inference in Statistics - A Primer](https://www.wiley.com/en-us/Causal+Inference+in+Statistics%3A+A+Primer-p-9781119186847)
2224

2325
9. [Betancourt: A Conceptual Introduction to Hamiltonian Monte Carlo](https://arxiv.org/abs/1701.02434)
26+
27+
10. [Pearl, Mackenzie: The Book of Why](https://www.basicbooks.com/titles/judea-pearl/the-book-of-why/9780465097616/)

src/StatisticalRethinking.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ using DocStringExtensions: SIGNATURES, FIELDS, TYPEDEF
2929

3030
function __init__()
3131
@require Turing="fce5fe82-541a-59a6-adf8-730c64b5f9a0" include("require/turing/turing.jl")
32-
#@require Optim="429524aa-4258-5aef-a3af-852621145aeb" include("require/turing/turing_optim_sample.jl")
33-
3432
@require StanSample="c1514b29-d3a0-5178-b312-660c88baa699" include("require/stan/stan.jl")
35-
3633
@require LogDensityProblems="6fdf6af0-433a-55f7-b3ed-c6c6e0b8df7c" include("require/dhmc/dhmc.jl")
3734

3835
#@require MCMCChains="c7f686f2-ff18-58e9-bc7b-31028e88f75d" include("require/mcmcchains/mcmcchains.jl")
@@ -90,6 +87,7 @@ include("hmc.jl")
9087
include("pk_qualify.jl")
9188
include("quap.jl")
9289
include("dataframe.jl")
90+
#include("particles_mcmcchains.jl")
9391

9492
export
9593
sr_path,

src/pluto_helpers.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,14 @@ PRECIS(df::DataFrame) = Text(precis(df; io=String))
44

55
export
66
PRECIS
7+
8+
CHNS(chns::MCMCChains.Chains) = Text(sprint(show, "text/plain", chns))
9+
10+
# Pluto helpers for MCMCChains
11+
12+
HPD(chns::MCMCChains.Chains) = Text(sprint(show, "text/plain", hpd(chns)))
13+
14+
export
15+
HPD,
16+
CHNS
17+

src/require/mcmcchains/particles.jl

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
11

2-
CHNS(chns::MCMCChains.Chains) = Text(sprint(show, "text/plain", chns))
3-
4-
# Pluto helpers for MCMCChains
5-
6-
HPD(chns::MCMCChains.Chains) = Text(sprint(show, "text/plain", hpd(chns)))
7-
8-
export
9-
HPD,
10-
CHNS

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ using Test
66
tests = ["srtools", "link", "simulate", "lppd"]
77
stan_tests = ["wd-loo-compare",]
88

9-
stan_exists()::Bool = "JULIA_CMDSTAN_HOME" in keys(ENV) || "CMDSTAN" in keys(ENV)
9+
stan_exists()::Bool = ("JULIA_CMDSTAN_HOME" in keys(ENV) || "CMDSTAN" in keys(ENV))
1010

1111

1212
for t tests

0 commit comments

Comments
 (0)