Files
life_generators/docs/fortune_statistics.md
tobiichi3227 92cd79a70f docs: add distribution statistics about fortune events (#29)
* docs: add docs about distribution of fortune item

* remove unused loop

* docs: add description of statistics method

* style: add comment and format code

* refactor: fortune_status_statistics.md

Use tables to better display statistical results

---------

Co-authored-by: Moon <108756201+LifeAdventurer@users.noreply.github.com>
2024-03-06 23:51:24 +08:00

27 lines
1.3 KiB
Markdown

# Distribution of fortune
### 2000 IPs for 365 days, two groups in total
| Fortune Status | Percentage (1st time) | Percentage (2nd time) |
|-----------------|------------------------|------------------------|
| 大吉 | 20.33% | 20.30% |
| 中吉 | 14.37% | 14.34% |
| 小吉 | 10.57% | 10.59% |
| 吉 | 14.49% | 14.44% |
| 末吉 | 10.14% | 10.24% |
| 中平 | 14.29% | 14.40% |
| 凶 | 8.64% | 8.60% |
| 大凶 | 7.17% | 7.09% |
# Distribution statistics of daily fortune events
Statistical method: The sum of the number of fortune events that occurred for 2,000 random IPs on the same day.
The x-axis is the index value and the y-axis is the number of times.
| 宜 (Good Fortune) | 忌 (Bad Fortune) |
|------------------------------------------------|----------------------------------------------|
| ![Good Fortune](./good_fortune_statistics.png) | ![Bad Fortune](./bad_fortune_statistics.png) |
[Statistics code](./main.js)