Arranging data for test of statistical significance from multiple subjects

1 view (last 30 days)
Hi,
I have 20 different feature matrix as (NxM) from 20 different subjects. Where N (e.g. 1... 10 different features) is fixed but M varies (i.e. 1...., observations) for each subject.
How should I arrange my data such that I will know the statistical significance of each feature by including all the subject's data?
Which kind of tests are suitable when M is varying for each subject? Should I use ANOVA, MANOVA, multicompare etc. or any other?
Any help in this regard will be highly appreciated.
Thanks!

Answers (1)

Tom Lane
Tom Lane on 23 Apr 2013
It sounds like you have a univariate rather than multivariate problem. So anova1 rather than manova1.
You have two choices. First, put your data in the N-by-M matrix and pad with NaNs so make up the M total for each subject. Or put your data in a vector V and create a separate vector S giving the subject number for each corresponding element of V. The anova1 function will accept either form.
  5 Comments
Tom Lane
Tom Lane on 25 Apr 2013
Sorry, I'm not familiar with that File Exchange program. Based on a quick look it seems to require balanced data. You might try writing to the author on the File Exchange page. He seems to respond to questions.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!