t-test

Performing the non-paired t-test column-wise in my data

Performing the non-paired t-test column-wise in my data Question: When we have two 1-D arrays: import numpy as np import scipy.stats as stats a=np.array([0.36619718309859156, 0.32558139534883723, 0.3333333333333333, 0.3333333333333333, 0.2549019607843137, 0.3695652173913043, 0.3157894736842105, 0.3625]) and b=np.array([0.938456, 0.3239485723, 0.300, 0.8658, 1.254901137, 2.3695, 0.75, 1.3625]) we can perform the t-test by the following: stats.ttest_ind(a=a, b=b, equal_var=np.amax([np.var(a),np.var(b)])/np.amin([np.var(a),np.var(b)])<4) However, I would like …

Total answers: 2

Python – Performing t-test of estimate with standard error

Python – Performing t-test of estimate with standard error Question: I’m wondering if there is a way to perform a two-tailed t-test for an estimate, given its standard error and the number of degrees of freedom? The estimate is read from another software. I have been using the t.dist.2t(abs(estimate/SE), df) in Excel, but having it …

Total answers: 1