필터 지우기
필터 지우기

Is there a more efficient way to do many ANOVAs

조회 수: 1 (최근 30일)
SeanC
SeanC 2017년 7월 6일
I want to know if there is a vectorised implementation for doing many ANOVAs.
At the moment I have time series data, with 600 time points. I want to use the same grouping matrix for all 600 of these Y values. Is there a more efficient way of doing this than using a for loop?
e.g. NTimePoints = 600; NExamples = 250; Y = rand(NExamples ,NTimePoints ); Groups = round(rand(NExamples,1)*5)+1;
for t=1:NTimePoints
anova1(Y(:,t),Groups,'off'); end
Thanks!

답변 (0개)

카테고리

Help CenterFile Exchange에서 ANOVA에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by