How do I perform a Repeated Measures ANOVA for the mean of each time point?
1 view (last 30 days)
Show older comments
I have the mean pupil trace for two diffrent conditions (choice Repitition and Alternation) in a 750ms window. If I want to assess the varience of the mean at each time point would this function be apporpriate? Thanks in advance !
%if n = mean(rep) 1x750 double
%and y= mean(alt) 1x750 double
t=table(n(1,:) y(1,:)) % Stores the means into table and labels them var 1 and var 2
P=table({1 2})
rm=fitrm(t,'var1 var2', 'WithinDesign', P)
3 Comments
Adam Danz
on 10 Jan 2019
Edited: Adam Danz
on 10 Jan 2019
To be sure I understand your data, you have two signals that vary across a 750ms window sampled at 1ms resolution and each signal has multiple measurments. So for each millisecond, you have two distributions of values; one from each signal. And at each ms, you want to determine if those two distributions are significantly different from each other. Is that correct?
Question #2 (if the first question is correct) are the distributions approximately normally distributed?
If the answer is no, could you share a plot so we can see the data?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!