Skip to content

Commit d8669fd

Browse files
Added helpful commnents to StatsTestUI.py regarding the mathematics
1 parent b4817ce commit d8669fd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/multi_stat_analysis/StatsTestsUI.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,17 @@ def OnOK(self, event):
8787
self.set_res_list([])
8888

8989
d = []
90+
# Used as confidence level (percentage) as a function of scale (collected from means square ratio)
9091
alpha = float(self.get_selectedAlpha())
9192
# default tails for the f-test this is a statistics thing which I figured wasnt a big deal right now
9293
# code is commented out but this can be selected by the user
93-
tails = 'two (σ1 = σ2)'
9494
# typ = self.get_selectedType()
95+
tails = 'two (σ1 = σ2)'
9596
outlier = self.get_selectedOutlier()
9697
# the following code is to perform the F-test on every scale if there is more than one data set selected in the
9798
# data selection area. If there is only one in each an F-test will be performed to compare all of the relative areas
9899
# of the data set.
100+
# TODO: Confirm if surface is being split for only two surfaces (#74)
99101
if len(self.get_group_selection().get_group1_choices()) == 1 and len(self.get_group_selection().get_group2_choices()) == 1:
100102

101103
d = self.get_f_data1()
@@ -267,6 +269,7 @@ def get_f_data2(self):
267269

268270
return f_data
269271

272+
# The tail's refer to the edges of bell shaped curve (in terms of variation from mean)
270273
def F_Tail_helper(self, alpha, data, num_data, f1, f2):
271274
var = []
272275
mean = []

0 commit comments

Comments
 (0)