I have created a matrix/table with an imported dataset. I want to know what the variance is for 3 values at a time but across 68 columns. I would like to do this in an automated way rather than 1 set of values at a time. Is there a way?

I'm new to Mathematica, so if there is a really simple way, I don't know about it yet!

  • $\begingroup$ If your data is stored in data, what does Dimensions[data] say? $\endgroup$
    – Szabolcs
    Apr 17, 2014 at 3:03
  • $\begingroup$ Check the second example in the Basic Examples section of Variance in the docs. $\endgroup$
    – kglr
    Apr 17, 2014 at 3:07
  • $\begingroup$ An example dataset with the desired outcome would be helpful here. $\endgroup$ Apr 17, 2014 at 13:49


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.