{
"a": [
5.1,
4.9,
6.2,
5.5,
5.8,
6.0,
4.7,
5.3
],
"b": [
6.1,
5.9,
7.0,
6.5,
6.8,
7.2,
5.7,
6.3,
6.6
],
"rows": [
{
"args": [
"one"
],
"expected": [
2.3157561840984293,
0.05372925937321501
],
"xcheck": {
"scipy": {
"val": 0.05372925937321497,
"rel": 8.167839780740609e-16
},
"r": {
"val": 0.053729259373215,
"rel": 1.7105630707564116e-16
}
}
},
{
"args": [
"student"
],
"expected": [
-4.046628713509853,
0.00105449212536668
],
"xcheck": {
"scipy": {
"val": 0.0010544921253666777,
"rel": 1.9826992891516493e-15
},
"r": {
"val": 0.00105449212536668,
"rel": 7.365020157307931e-17
}
}
},
{
"args": [
"welch"
],
"expected": [
-4.031203501489172,
0.0011594500797898887,
14.496687303878408
],
"xcheck": {
"scipy": {
"val": 0.0011594500797898852,
"rel": 2.9316099301685353e-15
},
"r": {
"val": 0.00115945007978989,
"rel": 1.1828315986989347e-15
}
},
"welch_ci_correct": [
-1.5579722960522782,
-0.4781388150588328
],
"welch_ci_note": "t_test_two(Welch).ci asserted against welch_ci_correct (R t.test var.equal=FALSE); the prior pooled-CI [-1.5542881098294552, -0.4818230012816558] was the latent bug, now fixed"
},
{
"args": [
"paired"
],
"expected": [
-26.457513110645884,
2.8215414500330074e-08
],
"xcheck": {
"scipy": {
"val": 2.8215414500330084e-08,
"rel": 3.051019771883055e-16
},
"r": {
"val": 2.82154145003301e-08,
"rel": 8.914343966842876e-16
}
}
}
]
}