<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACharm_table_stats%2Fdoc</id>
	<title>Template:Charm table stats/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACharm_table_stats%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Template:Charm_table_stats/doc&amp;action=history"/>
	<updated>2026-07-17T22:28:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.darkan.org/index.php?title=Template:Charm_table_stats/doc&amp;diff=62683&amp;oldid=prev</id>
		<title>imported&gt;Blaze fire12 at 05:34, 30 August 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Template:Charm_table_stats/doc&amp;diff=62683&amp;oldid=prev"/>
		<updated>2012-08-30T05:34:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation}}&lt;br /&gt;
&lt;br /&gt;
==Documentation==&lt;br /&gt;
The Charm table template is used to provide a table with approximate values for the drop rate of charms, for any specific monster.&lt;br /&gt;
&lt;br /&gt;
Based on Gaz Lloyd&amp;#039;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&amp;#039;s work by calculating the confidence interval - that is, given the sample size (# of monsters killed), and rate of &amp;quot;success&amp;quot; (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 [[wikipedia:Binomial proportion confidence interval|Binomial proportion confidence interval]] and http://davidmlane.com/hyperstat for more details.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Charm_table_stats&lt;br /&gt;
|kills   = Number of monsters killed in the sample&lt;br /&gt;
|charms  = How many charms the monster drops at once; leave field out if 1&lt;br /&gt;
|gold    = Number of gold charms obtained in from sample&lt;br /&gt;
|green   = Number of green charms obtained in from sample&lt;br /&gt;
|crimson = Number of crimson charms obtained in from sample&lt;br /&gt;
|blue    = Number of blue charms obtained in from sample&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
{|&lt;br /&gt;
!Input&lt;br /&gt;
!&lt;br /&gt;
!Result&lt;br /&gt;
!&lt;br /&gt;
!Original [[Template:Charm_table]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;{{Charm_table_stats&lt;br /&gt;
|kills   = 100&lt;br /&gt;
|gold    = 21&lt;br /&gt;
|green   = 14&lt;br /&gt;
|crimson = 5&lt;br /&gt;
|blue    = 1}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|width=20px|&lt;br /&gt;
|{{Charm_table_stats|kills   = 100|gold    = 21|green   = 14|crimson = 5|blue    = 1}}&lt;br /&gt;
|width=20px|&lt;br /&gt;
|{{Charm_table|kills   = 100|gold    = 21|green   = 14|crimson = 5|blue    = 1}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;{{Charm_table_stats&lt;br /&gt;
|kills   = 121&lt;br /&gt;
|charms  = 3&lt;br /&gt;
|gold    = 6&lt;br /&gt;
|green   = 81&lt;br /&gt;
|crimson = 21&lt;br /&gt;
|blue    = 9&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|width=20px|&lt;br /&gt;
|{{Charm_table_stats|kills   = 121|charms  = 3|gold    = 6|green   = 81|crimson = 21|blue    = 9}}&lt;br /&gt;
|width=20px|&lt;br /&gt;
|{{Charm_table|kills   = 121|charms  = 3|gold    = 6|green   = 81|crimson = 21|blue    = 9}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;{{Charm_table_stats&lt;br /&gt;
|kills   = 10000&lt;br /&gt;
|charms  = 3&lt;br /&gt;
|gold    = 634&lt;br /&gt;
|green   = 8123&lt;br /&gt;
|crimson = 2197&lt;br /&gt;
|blue    = 911&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|width=20px|&lt;br /&gt;
|{{Charm_table_stats|kills   = 10000|charms  = 3|gold    = 634|green   = 8123|crimson = 2197|blue    = 911}}&lt;br /&gt;
|width=20px|&lt;br /&gt;
|{{Charm_table|kills   = 10000|charms  = 3|gold    = 634|green   = 8123|crimson = 2197|blue    = 911}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Template documentation|{{BASEPAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Mathematical templates]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Blaze fire12</name></author>
	</entry>
</feed>