<div dir="ltr">My research obtains EEG data, which consists of 80 trials. I am epoching (ERP) 80 trials and grouping 10 trials over time (for example, initial 1-10 trials as group 1, second 11-20 trials as group 2, etc.), resulting in a total of 8 trial groups. My study hypothesis is that the amplitude of ERP (participant attention) increases over time in trial groups. Can ft_statfun_indepsamplesregrT regression cluster analysis be used to identify linear increase patterns in EEG channels? presuming that any channels that received significance had the pattern.<br clear="all"><div><br></div><div>eg.</div><div><br>cfg.statistic = ft_statfun_indepsamplesregrT;<br>design(1,:) = [1 2 3 4 5 6 7 8].  % linear increasing design<br>cfg.design = design;<br>cfg.ivar = 1;<br></div><div><br></div><div>And also, in order to identify rising and decreasing patterns, may I use the below  design model?<br><br>design(1,:) = [1 2 3 4 5 6 5 4] % increasing and decreasing patten<br></div><div><br></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">With Kind regards</div><div class="gmail_signature" data-smartmail="gmail_signature">Aruna</div></div>