title: student t confidence interval in python
body: <p>I am interested in using python to compute a confidence interval from a student t.</p>
  
  <p>I am using the StudentTCI() function in Mathematica and now need to code the same function in python <a href="http://reference.wolfram.com/mathematica/HypothesisTesting/ref/StudentTCI.html" rel="noreferrer">http://reference.wolfram.com/mathematica/HypothesisTesting/ref/StudentTCI.html</a></p>
  
  <p>I am not quite sure how to build this function myself, but before I embark on that, is this function in python somewhere? Like numpy? (I haven't used numpy and my advisor advised not using numpy if possible).</p>
  
  <p>What would be the easiest way to solve this problem? Can I copy the source code from the StudentTCI() in numpy (if it exists) into my code as a function definition?</p>
  
  <p>edit: I'm going to need to build the Student TCI using python code (if possible). Installing scipy has turned into a dead end. I am having the same problem everyone else is having, and there is no way I can require Scipy for the code I distribute if it takes this long to set up.</p>
  
  <p>Anyone know how to look at the source code for the algorithm in the scipy version? I'm thinking I'll refactor it into a python definition.</p>