Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit bac3165

Browse files
committed
Rel 4.5.1 - Further README updates.
1 parent 0efd1aa commit bac3165

File tree

2 files changed

+37
-43
lines changed

2 files changed

+37
-43
lines changed

Manifest.toml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ version = "0.6.7"
5252

5353
[[deps.AdvancedPS]]
5454
deps = ["AbstractMCMC", "Distributions", "Libtask", "Random", "StatsFuns"]
55-
git-tree-sha1 = "78620daebe1b87dfe17cac4bc08cec73b057eb0a"
55+
git-tree-sha1 = "9ff1247be1e2aa2e740e84e8c18652bd9d55df22"
5656
uuid = "576499cb-2369-40b2-a588-c64705576edc"
57-
version = "0.3.7"
57+
version = "0.3.8"
5858

5959
[[deps.AdvancedVI]]
6060
deps = ["Bijectors", "Distributions", "DistributionsAD", "DocStringExtensions", "ForwardDiff", "LinearAlgebra", "ProgressMeter", "Random", "Requires", "StatsBase", "StatsFuns", "Tracker"]
@@ -186,9 +186,9 @@ version = "1.14.0"
186186

187187
[[deps.ChangesOfVariables]]
188188
deps = ["ChainRulesCore", "LinearAlgebra", "Test"]
189-
git-tree-sha1 = "bf98fa45a0a4cee295de98d4c1462be26345b9a1"
189+
git-tree-sha1 = "1e315e3f4b0b7ce40feded39c73049692126cf53"
190190
uuid = "9e997f8a-9a97-42d5-a9f1-ce6bfc15e2c0"
191-
version = "0.1.2"
191+
version = "0.1.3"
192192

193193
[[deps.Clustering]]
194194
deps = ["Distances", "LinearAlgebra", "NearestNeighbors", "Printf", "SparseArrays", "Statistics", "StatsBase"]
@@ -210,9 +210,9 @@ version = "3.18.0"
210210

211211
[[deps.ColorTypes]]
212212
deps = ["FixedPointNumbers", "Random"]
213-
git-tree-sha1 = "024fe24d83e4a5bf5fc80501a314ce0d1aa35597"
213+
git-tree-sha1 = "63d1e802de0c4882c00aee5cb16f9dd4d6d7c59c"
214214
uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
215-
version = "0.11.0"
215+
version = "0.11.1"
216216

217217
[[deps.ColorVectorSpace]]
218218
deps = ["ColorTypes", "FixedPointNumbers", "LinearAlgebra", "SpecialFunctions", "Statistics", "TensorCore"]
@@ -382,9 +382,9 @@ version = "0.25.58"
382382

383383
[[deps.DistributionsAD]]
384384
deps = ["Adapt", "ChainRules", "ChainRulesCore", "Compat", "DiffRules", "Distributions", "FillArrays", "LinearAlgebra", "NaNMath", "PDMats", "Random", "Requires", "SpecialFunctions", "StaticArrays", "StatsBase", "StatsFuns", "ZygoteRules"]
385-
git-tree-sha1 = "b51ed93e06497fc4e7ff78bbca03c4f7951d2ec2"
385+
git-tree-sha1 = "a20d1374e896c72d2598feaf8e86b6d58a0c7d0a"
386386
uuid = "ced4e74d-a319-5a8a-b0ac-84af2272839c"
387-
version = "0.6.38"
387+
version = "0.6.39"
388388

389389
[[deps.DocStringExtensions]]
390390
deps = ["LibGit2"]
@@ -394,9 +394,9 @@ version = "0.8.6"
394394

395395
[[deps.Documenter]]
396396
deps = ["ANSIColoredPrinters", "Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
397-
git-tree-sha1 = "6edbf28671b4df4f692e54ae72f1e35851cfbf38"
397+
git-tree-sha1 = "122d031e8dcb2d3e767ed434bc4d1ae1788b5a7f"
398398
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
399-
version = "0.27.16"
399+
version = "0.27.17"
400400

401401
[[deps.Downloads]]
402402
deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"]
@@ -642,9 +642,9 @@ version = "0.2.2"
642642

643643
[[deps.IRTools]]
644644
deps = ["InteractiveUtils", "MacroTools", "Test"]
645-
git-tree-sha1 = "7f43342f8d5fd30ead0ba1b49ab1a3af3b787d24"
645+
git-tree-sha1 = "af14a478780ca78d5eb9908b263023096c2b9d64"
646646
uuid = "7869d1d1-7146-5819-86e3-90919afe41df"
647-
version = "0.4.5"
647+
version = "0.4.6"
648648

649649
[[deps.IfElse]]
650650
git-tree-sha1 = "debdd00ffef04665ccbb3e150747a77560e8fad1"
@@ -697,9 +697,9 @@ version = "0.5.4"
697697

698698
[[deps.InverseFunctions]]
699699
deps = ["Test"]
700-
git-tree-sha1 = "91b5dcf362c5add98049e6c29ee756910b03051d"
700+
git-tree-sha1 = "336cc738f03e069ef2cac55a104eb823455dca75"
701701
uuid = "3587e190-3f89-42d0-90ee-14403ec27112"
702-
version = "0.1.3"
702+
version = "0.1.4"
703703

704704
[[deps.InvertedIndices]]
705705
git-tree-sha1 = "bee5f1ef5bf65df56bdd2e40447590b272a5471f"
@@ -1067,9 +1067,9 @@ version = "0.4.0"
10671067

10681068
[[deps.OffsetArrays]]
10691069
deps = ["Adapt"]
1070-
git-tree-sha1 = "043017e0bdeff61cfbb7afeb558ab29536bbb5ed"
1070+
git-tree-sha1 = "aee446d0b3d5764e35289762f6a18e8ea041a592"
10711071
uuid = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
1072-
version = "1.10.8"
1072+
version = "1.11.0"
10731073

10741074
[[deps.Ogg_jll]]
10751075
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
@@ -1124,9 +1124,9 @@ version = "8.44.0+0"
11241124

11251125
[[deps.PDMats]]
11261126
deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse"]
1127-
git-tree-sha1 = "3114946c67ef9925204cc024a73c9e679cebe0d7"
1127+
git-tree-sha1 = "c8c62e4aa5bbd0e48bafe294d4325fc87194a5ed"
11281128
uuid = "90014a1f-27ba-587c-ab20-58faa44d9150"
1129-
version = "0.11.8"
1129+
version = "0.11.9"
11301130

11311131
[[deps.Parameters]]
11321132
deps = ["OrderedCollections", "UnPack"]
@@ -1347,9 +1347,9 @@ version = "0.6.32"
13471347

13481348
[[deps.SciMLBase]]
13491349
deps = ["ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "RecipesBase", "RecursiveArrayTools", "StaticArrays", "Statistics", "Tables", "TreeViews"]
1350-
git-tree-sha1 = "194a569a247b8180e7171f7ee59dabfd5a095f9f"
1350+
git-tree-sha1 = "5420ffd1d5ad49e2c8309efb7338cc2443487029"
13511351
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1352-
version = "1.31.3"
1352+
version = "1.31.4"
13531353

13541354
[[deps.ScientificTypesBase]]
13551355
git-tree-sha1 = "a8e18eb383b5ecf1b5e6fc237eb39255044fd92b"
@@ -1449,9 +1449,9 @@ version = "1.4.4"
14491449

14501450
[[deps.StatisticalRethinking]]
14511451
deps = ["AxisKeys", "CSV", "DataFrames", "Dates", "Distributions", "DocStringExtensions", "Documenter", "Formatting", "KernelDensity", "LinearAlgebra", "MCMCChains", "MonteCarloMeasurements", "NamedArrays", "NamedTupleTools", "Optim", "OrderedCollections", "Parameters", "ParetoSmooth", "ParetoSmoothedImportanceSampling", "PrettyTables", "Random", "Reexport", "Requires", "Statistics", "StatsBase", "StatsFuns", "StructuralCausalModels", "Tables", "Test", "Unicode"]
1452-
git-tree-sha1 = "caadadfc2adc0aaba020999b0543bb34d32261a1"
1452+
git-tree-sha1 = "ba0b8c8b19dc36a9207c668af32176af2a92da8e"
14531453
uuid = "2d09df54-9d0f-5258-8220-54c2a3d4fbee"
1454-
version = "4.5.1"
1454+
version = "4.5.2"
14551455

14561456
[[deps.StatisticalRethinkingPlots]]
14571457
deps = ["Distributions", "DocStringExtensions", "KernelDensity", "LaTeXStrings", "Parameters", "Plots", "Reexport", "Requires", "StatisticalRethinking", "StatsPlots"]
@@ -1501,9 +1501,9 @@ version = "0.14.34"
15011501

15021502
[[deps.StructArrays]]
15031503
deps = ["Adapt", "DataAPI", "StaticArrays", "Tables"]
1504-
git-tree-sha1 = "8f705dd141733d79aa2932143af6c6e0b6cea8df"
1504+
git-tree-sha1 = "e75d82493681dfd884a357952bbd7ab0608e1dc3"
15051505
uuid = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
1506-
version = "0.6.6"
1506+
version = "0.6.7"
15071507

15081508
[[deps.StructuralCausalModels]]
15091509
deps = ["CSV", "Combinatorics", "DataFrames", "DataStructures", "Distributions", "DocStringExtensions", "LinearAlgebra", "NamedArrays", "Reexport", "Statistics"]

README.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
## Purpose of SR2TuringPluto.jl
22

33

4-
As stated many times by the author in his [online lectures](https://www.youtube.com/watch?v=ENxTrFf9a7c&list=PLDcUM9US4XdNM4Edgs7weiyIguLSToZRI), StatisticalRethinking is a hands-on course. This project is intended to assist with the hands-on aspect of learning the key ideas in StatisticalRethinking.
4+
As stated many times by the author in his [online lectures](https://www.youtube.com/playlist?list=PLDcUM9US4XdMROZ57-OIRtIK0aOynbgZN), StatisticalRethinking is a hands-on course. This project is intended to assist with the hands-on aspect of learning the key ideas in Statistical Rethinking.
55

6-
SR2TuringPluto is a Julia project that uses Pluto notebooks for this purpose. Each notebook demonstrates Julia versions of `code snippets` and `mcmc models` contained in the R package "rethinking" associated with the book [Statistical Rethinking](https://xcelab.net/rm/statistical-rethinking/) by Richard McElreath.
6+
SR2TuringPluto is a Julia project that uses Pluto notebooks for this purpose. Max Lapan has a [version using Jupyter](https://github.com/Shmuma/rethinking-2ed-julia). Many of the Pluto notebooks have been derived from Max Lapan's work!
77

88
This Julia project uses Turing as the underlying mcmc implementation. A companion project ( [SR2StanPluto.jl](https://github.com/StatisticalRethinkingJulia/SR2StanPluto.jl) ) uses Stan.
99

10+
Each notebook demonstrates Julia versions of `code snippets` and `mcmc models` contained in the R package "rethinking" associated with the book [Statistical Rethinking](https://xcelab.net/rm/statistical-rethinking/) by Richard McElreath.
11+
1012
## Installation
1113

1214
To (locally) reproduce and use this project, do the following:
@@ -26,7 +28,7 @@ $ git checkout tags/<tag_name> # or simply:
2628
$ git checkout v4.5.0
2729
```
2830

29-
The next step assumes your Julia setup includes at least `Pkg`, `DrWatson`, `Pluto` and `PlutoUI`.
31+
The next step assumes your `base` Julia setup includes at least `Pkg` and `Pluto`.
3032

3133
2. Start a Pluto notebook server in the Julia REPL:
3234
```
@@ -40,17 +42,13 @@ julia> Pluto.run()
4042

4143
## Usage
4244

43-
Note: *SR2TuringPluto v4 requires StatisticalRethinking.jl v4.*
44-
45-
Select a notebook in the `open a file` entry box, e.g. type `./` and step to `./notebooks/TuringGuide.jl`.
45+
Select a notebook in the `open a file` entry box, e.g. type `./` and step to `./notebooks/Chapter_00.jl`.
4646

47-
SR2TuringPluto.jl is a DrWatson project, with some added/re-purposed subdirectories,
48-
49-
The `data` directory, in DrWatson accessible through `datadir()`, can be used for locally generated data, exercises, etc. All "rethinking" data files are stored and maintained in StatisticalRethinking.jl and can be accessed via `sr_datadir(...)`.
47+
All "rethinking" data files are stored and maintained in StatisticalRethinking.jl and can be accessed via `sr_datadir(...)`.
5048

5149
This leads to a typical set of opening lines in each notebook:
5250
```
53-
using Pkg, DrWatson
51+
using Pkg
5452
5553
# Note: Below sequence is important. First activate the project
5654
# followed by `using` or `import` statements. Pretty much all
@@ -92,32 +90,28 @@ As before, the `t` at the end of the model number indicates Turing.
9290

9391
SR2TuringPluto.jl is compatible with the 2nd edition of the book.
9492

95-
StructuralCausalModels.jl and ParetoSmoothedImportanceSampling.jl are included as experimental dependencies in the StatisticalRethinking.jl v3 package. Definitely work in progress!
93+
StructuralCausalModels.jl and ParetoSmoothedImportanceSampling.jl are included as experimental dependencies in the StatisticalRethinking.jl package. Definitely work in progress!
9694

97-
Max Lapan added a package Dagitty.jl which coversoptions similar as available in StructuralCausalModels.jl. There is also a new package, ParetoSmooth.jl which overlaps with ParetoSmoothedImportanceSampling.jl.
95+
Max Lapan added a package Dagitty.jl which covers options similar as available in StructuralCausalModels.jl. There is also a new package, ParetoSmooth.jl which overlaps with ParetoSmoothedImportanceSampling.jl.
9896
As terminology differs from the terminology used in the Statistical Rethinking book, I have not used this package in the notebooks (yet?).
9997

100-
**Note: A new version (v5.0.0) is under development. This is a breaking version. Probably safe to stick with tagged version 4.0.3 until then.**
101-
10298
Any feedback is appreciated. Please open an issue.
10399

104100
## Acknowledgements
105101

106102
Of course, without the excellent textbook by Richard McElreath, this package would not have been possible. The author has also been supportive of this work and gave permission to use the datasets.
107103

108-
This repository is derived from work by Max Lapan, Karajan, previous and current Stan versions of StatisticalRethinking.jl. It has been improved through comments and suggestions of many other contributors.
104+
This repository is derived from work by Max Lapan, Karajan, previous and current Stan versions of StatisticalRethinking.jl. It has been improved through comments and suggestions by many other contributors.
109105

110106
## Versions
111107

112108
### Version 5.0.0 (Under development, will take time)
113109

114-
1. Complete overhaul.likely using Makie.jl, Graphs.jl and more.
115-
2. Larger notebooks.
116-
3. Dropped additional figures in early chapters.
110+
1. Complete overhaul. Likely using Makie.jl, Graphs.jl and more.
117111

118112
### Version 4.5.0
119113

120-
1. Adapted chapters 5 to 14 to an initial Pluto format.
114+
1. Adapted Max Lapan's chapters 5 to 14 to an (initial) Pluto format.
121115

122116
### Version 4.0.5
123117

0 commit comments

Comments
 (0)