I have two samples(n1= 25, n2= 35) with N(mu = 70, sd =10) and I am trying to test
H0:mu1-mu2=0
for variances unknown. This is the code I am working on it but I can not get the result because of inequal lengths.
rvs1 = stats.norm.rvs(loc=70,scale=10,size=25)
rvs2 = stats.norm.rvs(loc=70,scale=10,size=35)
stats.ttest_rel(rvs1,rvs2)