Skip to content

Commit f83d0a0

Browse files
committed
Recompiled the readme
1 parent bcce4da commit f83d0a0

11 files changed

+19
-18
lines changed

Diff for: README.md

+17-16
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
[![R build
1010
status](https://github.com/robjhyndman/weird-package/workflows/R-CMD-check/badge.svg)](https://github.com/robjhyndman/weird-package/actions)
11-
[![R-CMD-check](https://github.com/robjhyndman/weird-package/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/robjhyndman/weird-package/actions/workflows/R-CMD-check.yaml)
1211
<!-- badges: end -->
1312

1413
## Overview
@@ -190,8 +189,9 @@ allow the bimodality of the data to be seen. The dark shaded region
190189
contains 50% of the observations, while the lighter shaded region
191190
contains 99% of the observations. The plots use vertical jittering to
192191
reduce overplotting, and highlight potential outliers (those points
193-
lying outside the 99% HDR). An explanation of these plots is provided in
194-
[Chapter 5 of the book](https://otexts.com/weird/05-boxplots.html).
192+
lying outside the 99% HDR which have surprisal probability less than
193+
0.0005). An explanation of these plots is provided in [Chapter 5 of the
194+
book](https://otexts.com/weird/05-boxplots.html).
195195

196196
It is also possible to produce bivariate boxplots. Several variations
197197
are provided in the package. Here are two types of bagplot.
@@ -231,7 +231,8 @@ of |>
231231
<img src="man/figures/README-of-boxplot3-2.png" style="width:100.0%" />
232232

233233
The latter two plots show possible outliers in black (again, defined as
234-
points outside the 99% HDR).
234+
points outside the 99% HDR which have surprisal probability less than
235+
0.0005).
235236

236237
## Scoring functions
237238

@@ -272,18 +273,18 @@ of |>
272273
) |>
273274
arrange(lookout)
274275
#> # A tibble: 10 × 8
275-
#> time duration waiting surprisal strayscore lofscore gloshscore lookout
276-
#> <dttm> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
277-
#> 1 2018-04-25 19:08:00 1 5700 17.9 0.380 3.78 1 0
278-
#> 2 2020-06-01 21:04:00 120 6060 17.8 0.132 1.88 1 3.99e-10
279-
#> 3 2021-01-22 18:35:00 170 3600 16.9 0.0606 1.09 0.860 4.83e- 5
280-
#> 4 2020-08-31 09:56:00 170 3840 16.7 0.0606 1.01 0.816 4.11e- 4
281-
#> 5 2015-11-21 20:27:00 150 3420 16.2 0.0772 1.27 1 4.10e- 3
282-
#> 6 2020-10-15 17:11:00 220 7080 15.7 0.0429 2.42 1 3.46e- 2
283-
#> 7 2017-08-12 13:14:00 120 4920 15.0 0.0690 1.53 1 1.42e- 1
284-
#> 8 2017-09-22 18:51:00 281 7140 15.0 0.0333 2.64 1 1.81e- 1
285-
#> 9 2020-05-18 21:21:00 272 7080 14.5 0.0333 2.42 1 4.02e- 1
286-
#> 10 2018-09-22 16:37:00 253 7140 14.6 0.0200 2.63 1 4.05e- 1
276+
#> time duration waiting surprisal strayscore lofscore gloshscore lookout
277+
#> <dttm> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
278+
#> 1 2018-04-25 19:08:00 1 5700 17.9 0.380 3.78 1 0
279+
#> 2 2020-06-01 21:04:00 120 6060 17.8 0.132 1.88 1 0.00000000103
280+
#> 3 2021-01-22 18:35:00 170 3600 16.9 0.0606 1.09 0.860 0.0000417
281+
#> 4 2020-08-31 09:56:00 170 3840 16.7 0.0606 1.01 0.816 0.000390
282+
#> 5 2015-11-21 20:27:00 150 3420 16.2 0.0772 1.27 1 0.0305
283+
#> 6 2017-09-22 18:51:00 281 7140 15.0 0.0333 2.64 1 0.0791
284+
#> 7 2020-10-15 17:11:00 220 7080 15.7 0.0429 2.42 1 0.130
285+
#> 8 2017-08-12 13:14:00 120 4920 15.0 0.0690 1.53 1 0.166
286+
#> 9 2020-05-18 21:21:00 272 7080 14.5 0.0333 2.42 1 0.289
287+
#> 10 2018-09-22 16:37:00 253 7140 14.6 0.0200 2.63 1 0.413
287288
```
288289

289290
The `surprisals()` function can also compute the probability of

Diff for: README.qmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ of |> gg_hdrboxplot(duration, show_points = TRUE) +
114114
labs(x = "Duration (seconds)")
115115
```
116116

117-
The latter two plots are highest density region (HDR) boxplots, which allow the bimodality of the data to be seen. The dark shaded region contains 50% of the observations, while the lighter shaded region contains 99% of the observations. The plots use vertical jittering to reduce overplotting, and highlight potential outliers (those points lying outside the 99% HDR). An explanation of these plots is provided in [Chapter 5 of the book](https://otexts.com/weird/05-boxplots.html).
117+
The latter two plots are highest density region (HDR) boxplots, which allow the bimodality of the data to be seen. The dark shaded region contains 50% of the observations, while the lighter shaded region contains 99% of the observations. The plots use vertical jittering to reduce overplotting, and highlight potential outliers (those points lying outside the 99% HDR which have surprisal probability less than 0.0005). An explanation of these plots is provided in [Chapter 5 of the book](https://otexts.com/weird/05-boxplots.html).
118118

119119
It is also possible to produce bivariate boxplots. Several variations are provided in the package. Here are two types of bagplot.
120120

@@ -138,7 +138,7 @@ of |>
138138
labs(x = "Duration (seconds)", y = "Waiting time (seconds)")
139139
```
140140

141-
The latter two plots show possible outliers in black (again, defined as points outside the 99% HDR).
141+
The latter two plots show possible outliers in black (again, defined as points outside the 99% HDR which have surprisal probability less than 0.0005).
142142

143143
## Scoring functions
144144

Diff for: man/figures/README-of-boxplot-1.png

289 Bytes
Loading

Diff for: man/figures/README-of-boxplot-2.png

372 Bytes
Loading

Diff for: man/figures/README-of-boxplot-3.png

79 Bytes
Loading

Diff for: man/figures/README-of-boxplot2-1.png

1 KB
Loading

Diff for: man/figures/README-of-boxplot2-2.png

1.03 KB
Loading

Diff for: man/figures/README-of-boxplot3-1.png

3.69 KB
Loading

Diff for: man/figures/README-of-boxplot3-2.png

926 Bytes
Loading

Diff for: man/figures/README-of-density-1.png

83 Bytes
Loading

Diff for: man/figures/README-of-density2-1.png

-2.71 KB
Loading

0 commit comments

Comments
 (0)