By the mean return, among the groups with at least half the returns of the largest group: week 53, which only some years have, would otherwise often come first or last by luck.
Arguments
- analysis
The result of
seasonality_analysis().
Examples
btc <- get_history("Bitcoin (BTC)", as.Date("2013-04-29"))
golemcrypto:::seasonality_groups_text(seasonality_analysis(btc, "month"))
#> $headline
#> [1] "Best month: November, mean +41.8%; worst: September, −2.5%"
#>
#> $points
#> [1] "November: mean +41.8%, median +8.8%, up 8 of 13 times (62%)." "September: mean −2.5%, median −2.4%, up 6 of 14 times (43%)."
#> [3] "All 162 months together: mean +7.7%, median +2.6%, up 54% of the time."
#>