Cohen's d for independent two-sample design
<link rel="stylesheet" type="text/css" href="/css/wp.css">
<script src="/lib/jquery-1.9.1.js"></script>
<script src="/pd/jquery.json.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#esForm").on('submit', (function(e) {
e.preventDefault();
$.ajax({
url: "/effectsize/cohensd/run.php",
type: "POST",
data: new FormData(this),
contentType: false,
cache: false,
processData: false,
success: function(data) {
$("#output").html(data);
},
error: function() {}
});
}));
});
</script>
<form id="esForm" method="post">
<table class="inline" id="info">
<tr>
<th colspan="2" class="centeralign"> Group 1 </th>
</tr>
<tr>
<td>Sample size</td>
<td>
<input type="text" name="n1" value="100">
</td>
</tr>
<tr>
<td>Sample mean</td>
<td>
<input type="text" name="m1" value="0">
</td>
</tr>
<tr>
<td>Sample variance</td>
<td>
<input type="text" name="v1" value="1">
</td>
</tr>
<tr>
<th colspan="2" class="centeralign"> Group 2 </th>
</tr>
<tr>
<td>Sample size</td>
<td>
<input type="text" name="n2" value="100">
</td>
</tr>
<tr>
<td>Sample mean</td>
<td>
<input type="text" name="m2" value="1">
</td>
</tr>
<tr>
<td>Sample variance</td>
<td>
<input type="text" name="v2" value="1">
</td>
</tr>
<tr>
<th colspan="2" class="centeralign"> Options </th>
</tr>
<tr>
<td>Confidence level</td>
<td>
<input type="text" name="cl" value="0.95">
</td>
</tr>
<tr>
<td>Number of bootstraps</td>
<td>
<input type="text" name="nboot" value="1000">
</td>
</tr>
</table>
<input type="hidden" name="note" value="Cohen's d for independent two-sample t-test" />
<input type="submit" value="Calculate" /> </form>
<br /> <br />
<div id=output> </div>
