Template:Charm table stats

From Darkan
Jump to navigation Jump to search

[view] [edit] [purge] Template documentation

This documentation is transcluded from Template:Charm table stats/doc.

Documentation

The Charm table template is used to provide a table with approximate values for the drop rate of charms, for any specific monster.

Based on Gaz Lloyd's Template:Charm table. The problem we were encountering there, was that for small sample sizes (killing fewer than 150 monsters), the values you get are going to be inaccurate due to the random nature of drops. This template expands Gaz's work by calculating the confidence interval - that is, given the sample size (# of monsters killed), and rate of "success" (specified drop), what can we say about what we would see if we killed 10x or 100x more monsters? The calculations give the confidence interval for a binomial proportion, see Binomial proportion confidence interval and http://davidmlane.com/hyperstat for more details.

Usage

{{Charm_table_stats
|kills   = Number of monsters killed in the sample
|charms  = How many charms the monster drops at once; leave field out if 1
|gold    = Number of gold charms obtained in from sample
|green   = Number of green charms obtained in from sample
|crimson = Number of crimson charms obtained in from sample
|blue    = Number of blue charms obtained in from sample
}}

Examples

Input Result Original Template:Charm_table
{{Charm_table_stats
|kills   = 100
|gold    = 21
|green   = 14
|crimson = 5
|blue    = 1}}
Charm drop percentages
No charms

51–67%

15–28%

9–21%

2–10%

0.2–4.4%

Represents 90% confidence range, based on a sample of 100 kills.
1 charm is dropped at a time.
Charm drop percentages
No Charm Gold charms Green charms Crimson charms Blue charms
59% 21% 14% 5% 1%

Based on a sample of 100 kills. 1 charm is dropped at once.
Note that due to the small number of kills, the percentages may be slightly inaccurate.
Please add to the log!

{{Charm_table_stats
|kills   = 121
|charms  = 3
|gold    = 6
|green   = 81
|crimson = 21
|blue    = 9
}}
Charm drop percentages
No charms

60–74%

0.5–4.9%

17–29%

3–10%

1–6%

Represents 90% confidence range, based on a sample of 121 kills.
3 charms are dropped at a time.
Charm drop percentages
No Charm Gold charms Green charms Crimson charms Blue charms
68% 2% 22% 6% 2%

Based on a sample of 121 kills. 3 charms are dropped at once.
Note that due to the small number of kills, the percentages may be slightly inaccurate.
Please add to the log!

{{Charm_table_stats
|kills   = 10000
|charms  = 3
|gold    = 634
|green   = 8123
|crimson = 2197
|blue    = 911
}}
Charm drop percentages
No charms

60–61%

2%

26–28%

7–8%

3%

Represents 90% confidence range, based on a sample of 10,000 kills.
3 charms are dropped at a time.
Charm drop percentages
No Charm Gold charms Green charms Crimson charms Blue charms
60% 2% 27% 7% 3%

Based on a sample of 10,000 kills. 3 charms are dropped at once.
Please add to the log!