3 Dec
2008
3 Dec
'08
7:43 a.m.
Hello, I am attempting to convert a matlab script to python using scipy. the last hurdle I have run into is with regards to matlab's regstats. Given two 2d arrays, I am able to get betas and rsquared from lstsq (adding the leading ones to the first matrix) and linregress (by iterating over the first's rows). The part I am missing is getting the tstats. I have found ttest_rel/ ind. Are either of these comparable? If so are there examples in their use? Thanks for your time.