Skip to content

Commit 435a08c

Browse files
committed
Rel 0.1.0 - Inital release version.
1 parent d72c169 commit 435a08c

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,20 @@
77

88
### Purpose of this package
99

10-
This package implements model comparison methods as used and explained in StatisticalRethinking (chapter 7).
10+
This package implements model comparison methods as used and explained in StatisticalRethinking (chapter 7). Thus, ParetoSmoothedImportanceSampling.jl is part of the [StatisticalRethinking family of packages](https://github.com/StatisticalRethinkingJulia/StatisticalRethinking.jl).
1111

1212
The most important methods are *Pareto smoothed importance sampling* (PSIS) and
13-
PSIS leave-one-out cross-validation based on the [Matlab package called `PSIS` by Aki Vehtari](https://github.com/avehtari/PSIS.git). The Julia translation has been done by @alvaro1101 (on Github).
13+
PSIS leave-one-out cross-validation based on the [Matlab package called `PSIS` by Aki Vehtari](https://github.com/avehtari/PSIS.git). The Julia translation has been done by @alvaro1101 (on Github) in a (unpublished) package called [PSIS.jl](https://github.com/alvaro1101/PSIS.jl).
1414

1515
Updates for Julia v1+, the new Pkg ecosystem and the addition of WAIC and pk utilities have been done by Rob J Goedman.
1616

17-
ParetoSmoothedImportanceSampling.jl will become part of the [StatisticalRethinking.jl](https://github.com/StatisticalRethinkingJulia/StatisticalRethinking.jl).
18-
1917
### Installation
2018

2119
Once registered, ParetoSmoothedImportanceSampling.jl can be installed with:
2220
```
23-
Pkg.dev("ParetoSmoothedImportanceSampling")
21+
Pkg.add("ParetoSmoothedImportanceSampling")
2422
```
23+
2524
Usually I have only a few packages `permanently` installed, e.g.:
2625
```
2726
(@v1.6) pkg> st
@@ -44,12 +43,6 @@ The cars WAIC example requires RDatasets.jl to be installed and functioning.
4443
`psislw()` -
4544
Pareto smoothed importance sampling.
4645

47-
`gpdfitnew()` -
48-
Estimate the paramaters for the Generalized Pareto Distribution (GPD).
49-
50-
`gpinv()` -
51-
Inverse Generalised Pareto distribution function.
52-
5346
`waic()` -
5447
Compute WAIC for a loglikelihood matrix.
5548

@@ -59,13 +52,21 @@ The cars WAIC example requires RDatasets.jl to be installed and functioning.
5952
`pk_plot()` -
6053
Plot pk values.
6154

55+
Additional function:
56+
57+
`gpdfitnew()` -
58+
Estimate the paramaters for the Generalized Pareto Distribution (GPD).
59+
60+
`gpinv()` -
61+
Inverse Generalised Pareto distribution function.
62+
6263
`var2()` -
6364
Uncorrected variance.
6465

6566
### Corresponding R code
6667

67-
The corresponding R code can be found in [R package called
68-
`loo`](https://github.com/stan-dev/loo) which is also available in CRAN.
68+
Corresponding R code for the PSIS methods can be found in [R package called
69+
`loo`](https://github.com/stan-dev/loo) which is available in CRAN.
6970

7071
### References
7172

0 commit comments

Comments
 (0)