ab-significance
v1.0.0
Published
AB Significance jQuery plugin based on a two sided hypothesis
Downloads
2
Readme
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