PyMARE 0.0.7__tar.gz → 0.0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {PyMARE-0.0.7 → PyMARE-0.0.8}/PKG-INFO +1 -1
- {PyMARE-0.0.7 → PyMARE-0.0.8}/PyMARE.egg-info/PKG-INFO +1 -1
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/_version.py +3 -3
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/estimators/combination.py +8 -2
- {PyMARE-0.0.7 → PyMARE-0.0.8}/LICENSE +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/MANIFEST.in +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/PyMARE.egg-info/SOURCES.txt +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/PyMARE.egg-info/dependency_links.txt +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/PyMARE.egg-info/not-zip-safe +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/PyMARE.egg-info/requires.txt +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/PyMARE.egg-info/top_level.txt +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/README.md +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/__init__.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/core.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/datasets/__init__.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/datasets/metadat.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/effectsize/__init__.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/effectsize/base.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/effectsize/expressions.json +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/effectsize/expressions.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/estimators/__init__.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/estimators/estimators.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/resources/datasets/michael2013.json +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/resources/datasets/michael2013.tsv +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/results.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/stats.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pymare/utils.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/pyproject.toml +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/setup.cfg +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/setup.py +0 -0
- {PyMARE-0.0.7 → PyMARE-0.0.8}/versioneer.py +0 -0
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2024-
|
|
11
|
+
"date": "2024-09-10T20:02:23-0500",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "0.0.
|
|
14
|
+
"full-revisionid": "39f579d2bdae80cfdb59921ee960becc077ae54d",
|
|
15
|
+
"version": "0.0.8"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -45,11 +45,15 @@ class CombinationTest(BaseEstimator):
|
|
|
45
45
|
p1 = ose.p_value(z, *args, **kwargs)
|
|
46
46
|
p2 = ose.p_value(-z, *args, **kwargs)
|
|
47
47
|
p = np.minimum(1, 2 * np.minimum(p1, p2))
|
|
48
|
+
z_calc = ss.norm.isf(p)
|
|
49
|
+
z_calc[p2 < p1] *= -1
|
|
48
50
|
else:
|
|
49
51
|
if self.mode == "undirected":
|
|
50
52
|
z = np.abs(z)
|
|
51
53
|
p = self.p_value(z, *args, **kwargs)
|
|
52
|
-
|
|
54
|
+
z_calc = ss.norm.isf(p)
|
|
55
|
+
|
|
56
|
+
self.params_ = {"p": p, "z": z_calc}
|
|
53
57
|
return self
|
|
54
58
|
|
|
55
59
|
def summary(self):
|
|
@@ -60,7 +64,9 @@ class CombinationTest(BaseEstimator):
|
|
|
60
64
|
"This {} instance hasn't been fitted yet. Please "
|
|
61
65
|
"call fit() before summary().".format(name)
|
|
62
66
|
)
|
|
63
|
-
return CombinationTestResults(
|
|
67
|
+
return CombinationTestResults(
|
|
68
|
+
self, self.dataset_, z=self.params_["z"], p=self.params_["p"]
|
|
69
|
+
)
|
|
64
70
|
|
|
65
71
|
|
|
66
72
|
class StoufferCombinationTest(CombinationTest):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|