ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 29 Aug 2010 21:54:21 -0500Statistical checks for regression, covariance, etc?http://ask.sagemath.org/question/7651/statistical-checks-for-regression-covariance-etc/Suppose I have some input vector(s) of scientific data. Assuming I at least know which ones are completely independent, and have some other(s) of which dependence is uncertain; what are some good sage functions to throw at the vector(s) to check for basic statistical parity/significance?
I know this question is very broad, so it's a basic howto rhetorical question. A continuous or discrete first order relationship is a fine intro; though more complex scenarios tend to be interesting.Sun, 29 Aug 2010 12:23:54 -0500http://ask.sagemath.org/question/7651/statistical-checks-for-regression-covariance-etc/Answer by vdelecroix for <p>Suppose I have some input vector(s) of scientific data. Assuming I at least know which ones are completely independent, and have some other(s) of which dependence is uncertain; what are some good sage functions to throw at the vector(s) to check for basic statistical parity/significance?</p>
<p>I know this question is very broad, so it's a basic howto rhetorical question. A continuous or discrete first order relationship is a fine intro; though more complex scenarios tend to be interesting.</p>
http://ask.sagemath.org/question/7651/statistical-checks-for-regression-covariance-etc/?answer=11592#post-id-11592Hello,
Depending on what you mean by "scientific data" the answer would be different. If they are in a finite set say {True, False} then you can make a chi^2 test. If they are infinite but can be ordinate then you can perform a Mann-Whitney (or Wilcoxon or Wilcoxon-Mann-Whitney) test...
In the two preceding cases you should use R (which is included in Sage) which is a toolbox for statistics. More precisely you can look at
sage: r.chisq_test?
sage: r.wilcox_test?
(the r. means that you will use R)Sun, 29 Aug 2010 21:54:21 -0500http://ask.sagemath.org/question/7651/statistical-checks-for-regression-covariance-etc/?answer=11592#post-id-11592