This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to calculate 2.5% pvalues for the 2 ends of the distribution?

Hello,

I am trying to compute what the 2.5% probability values are for the two ends of the distribution? Here is what I am doing so far.

import pandas as pd
from scipy.stats import ttest_rel
df = pd.read_csv("https://raw.githubusercontent.com/Opensourcefordatascience/Data-sets/master/blood_pressure.csv")

stats.ttest_rel(df['bp_before'], df['bp_after'])
Ttest_relResult(statistic=3.3371870510833657, pvalue=0.0011297914644840823)

I hope I was clear enough to explain since I am new to this concept. Can I get some guidance?

numpy t-test python genomics

your two-tailed p-value is 0.0011, which means that the test statistic falls into the critical regions, 2.5% bottom and 2.5% top of the test statistics probability distribution.

0 answers

No answers yet.

Log in to answer this question.