1.0.0 • Published 9 years ago

ab-significance v1.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
9 years ago

AB Significance jQuery plugin

Determine the confidence, z-value and significance of control and treatment

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="dist/ab-significance.min.js"></script>
<script>
  jQuery(function ($) {
  
        var result = $.abSignificance(
            {
                resultType: 'all',
                control: {
                    'label': 'Control A',
                    'hits': 16,
                    'conversions': 4
                },
                treatment: {
                    'label': 'Treatment A',
                    'hits': 16,
                    'conversions': 16
                },
                conversionRateOptions: {
                    'percentage': true,
                    'decimalPlaces': 2
                },
                confidenceOptions: {
                    'percentage': false,
                    'decimalPlaces': false,
                    'targetValue': 95,
                    'timesHundred': false
                }
            }
        );
        
  });
  
  });
</script>

License

MIT © Shaun Michael K. Stone