Group Abstract Group Abstract

Message Boards Message Boards

[WSS16] Doing statistics with Mathematica

Posted 9 years ago
POSTED BY: Jorge Mahecha
5 Replies
Posted 9 years ago

Hello Jorge,

very nice presentation! I guess it would be beneficial for the reader to point out that SemanticImport creates a Dataset structure. The Dataset is very nicely supported for the selection of rows and columns, data transformation etc --> see accompanying documentation. In fact determining the Mean of a column could also be done with the command "dataset[Mean,"name"]" (see documentation). More important, for complicated input data containg command instructions or inconsistent data structures SemanticImport sometimes fails to get it right. In these cases you can import the data with import or other Mathematica functions which offer more control and then create a dataset which will again offer these nice features for data analysis.

POSTED BY: Michael Helmle

Thank you, Michael. That is good to know. In my experience, SemanticImport simplified a lot of things, like defining objects for different manipulations, or even just reading the file (I had a lot of issues with encoding from Windows to OSX and vice-versa). Although some simple calculations could be done with Import, the syntax was intuitively easier to understand by using SemanticImport for the most complex tests. I'll keep an eye on this, anyway. The data set in this example is highly ideal (it does not have missing data, for example). I would expect SemanticImport to be able to handle this. It is good to know that in the case of trouble, some other options are available.

POSTED BY: Jorge Mahecha

This is a helpful guide to start learning statistics in Wolfram, thanks for taking time to post it on the discussion forums. Once the results are verified, the confidence in using the program will hopefully increase for students new to the program.

POSTED BY: Juan Lopez

I agree with you in that I would rather err on the side of caution with the post-hoc tests. I have no idea why the values are different. I might check it with SPSS as well. I'm glad this has been useful.

POSTED BY: Jorge Mahecha
Posted 9 years ago

This is really helpful. I loaded some data and used PostTests -> {Tukey, Bonferroni}.

Any ideas why Tukey is more conservative in Mathematica than Stata? Not complaining. I'd rather err on the side of caution with ANOVA post-hoc tests.

POSTED BY: Swede White
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard