how to use ranova with repeated repeated measurements

4 vues (au cours des 30 derniers jours)
Jonas
Jonas le 6 Juil 2023
Commenté : Jonas le 10 Juil 2023
dear community,
I have an experiment where 12 subjects were measured during 2 tasks and during each task, a certain value was measured 6 times (here during 6 tones). how can I use ranova on that? not only the 6 values of one instance may correlate but also over the 2 tasks those values may correlate. I want to know if the given response differs between T1 and T2. At the moment I use a variable called Tx to use it as factor, but I doubt that this is the right way:
load('rmtable.mat','rm_tbl');
rm = fitrm(rm_tbl, 'tone1-tone6 ~ Tx', 'WithinDesign', 1:6);
ranova_results = ranova(rm);
% this will give the significance of the the factor Tx ?
ranova_results{'Tx:Time','pValue'}
ans = 0.7101
best regards
Jonas
  2 commentaires
Ive J
Ive J le 8 Juil 2023
This may help :)
Jonas
Jonas le 10 Juil 2023
thanks!

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by