You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* **formula_like**: A valid `formula <https://patsy.readthedocs.io/en/latest/formulas.html>`_ ; for example, "DV ~ IV".
43
43
* **data**: data to perform the analysis on - contains the dependent and independent variables.
44
44
* **conf_level**: Specify the confidence interval to be calculated.
45
45
* **equal_variances**: Boolean to indicate if equal variances are assumed.
46
46
* **independent_samples**: Boolean to indicate if groups and independent of each other.
47
47
* **wilcox_parameters**: A dictionary with optional methods for calculating the Wilcoxon signed-rank test. For more information, see `scipy.stats.wilcoxon <https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.wilcoxon.html#scipy.stats.wilcoxon>`_.
48
+
* **welch_dof** : A string which indicates how to calculate the degrees of freedom for the Welch's t-test; options are "satterthwaite" (default) and "welch".
* **group1** and **group2** : requires the data to be a Pandas Series
45
45
* **group1_name** and **group2_name** : will override the series name
@@ -50,6 +50,7 @@ Input
50
50
variance is assumed, a paired sample t-test is conducted, otherwise a Wilcoxon
51
51
ranked-sign test is conducted. The default is False.
52
52
* **wilcox_parameters** : A dictionary which contains the testing specifications for the Wilcoxon signed-rank test.
53
+
* **welch_dof** : A string to indicate which calculation is to be used when calculating the degrees of freedom. Can either be "welch" or "satterthwaite" (default).
53
54
54
55
55
56
Returns
@@ -82,6 +83,28 @@ effect size measures of Pearson r and Rank-Biserial r.
82
83
83
84
84
85
86
+
Welch Degrees of freedom
87
+
========================
88
+
There are two degrees of freedom options available when calculating the Welch's t-test. The default is to use
89
+
the Satterthwaite (1946) calculation with the option to use the Welch (1947) calculation.
0 commit comments