title: Perform 2 sample t-test
body: <p>I have a the mean, std dev and n of sample 1 and sample 2 - samples are taken from the sample population, but measured by different labs.</p>
  
  <p>n is different for sample 1 and sample 2. I want to do a weighted (take n into account) two-tailed t-test.</p>
  
  <p>I tried using the <a href="http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.ttest_rel.html" rel="noreferrer">scipy.stat</a> module by creating my numbers with <code>np.random.normal</code>, since it only takes data and not stat values like mean and std dev (is there any way to use these values directly).  But it didn't work since the data arrays has to be of equal size.</p>
  
  <p>Any help on how to get the p-value would be highly appreciated. </p>