Asked by LRBLFAST
on 21 Apr 2013

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!

*No products are associated with this question.*

Answer by 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.

Show 2 older comments

LRBLFAST
on 25 Apr 2013

Opportunities for recent engineering grads.

## 0 Comments