Using the t-test (or z-test)
I am thinking that the t-test implicitly uses a way to put the data in a standard normal. e.g. when computing the p-values in python it returns the t-statistic:
import scipy.stats as stats
sample1 = data1 # the first sample data
sample2 = data2 # the second sample data
t_statistic, p_value = stats.ttest_ind(sample1, sample2)
can't the t-statistic be used for what I want? A normalized value for mean by doing sample1 = smaple2 = data1
and then doing sample1 = smaple2 = data2
?