I have a two sample with the size of 15 data points. Samples are blood pressures before and after the medication. I want to hypothesis testing for my data.
before = np.array([12, 11, 10, 7 , 9, 9.5, 10, 12, 15, 10, 11, 11, 12, 13, 10])
after = np.array([10, 10, 9, 5 , 7, 9, 7, 10, 13, 9, 9, 10, 11, 11, 12])
I want to perform t test.
How can I conclude that the my drug is working and the blood pressure of the patients drop after the medication by looking at the scipy ttest function outputs.
stats.ttest_rel(a=after, b=before)
Ttest_relResult(statistic=-4.63809044739016, pvalue=0.00038365801592652317)
does having a statistics value lesser than 0 means that the first group is has more probability of having higher blood pressure.
Thank you.