2 Factor Anova with Repetitions

5 ビュー (過去 30 日間)
Nicholas Danner
Nicholas Danner 2021 年 4 月 20 日
コメント済み: Nicholas Danner 2021 年 4 月 20 日
I need to do a 2 Factor Anova Test, or any anova test at that. My problem is with how to notate my data for my tests.
I have 2 Factors, Eact with 4 levels, and 2 values at each level.
i.e. Factor B
1 2 3 4
1 a,b c,d e,f g,h
Factor A 2 i,j
..... and so on to complete.
How do I set up a matrix or get anova to read that each level for each factor has 2 values that need to be assessed?

採用された回答

Jonas
Jonas 2021 年 4 月 20 日
編集済み: Jonas 2021 年 4 月 20 日
i would use anovan(data,{factor1,factor2}), it's in my opinion a bit easier to handle. data is a column vector of length N, factor1 and factor2 can be column vectors or colum cells with length N.
you could also use it's 'nested' option
  3 件のコメント
Jonas
Jonas 2021 年 4 月 20 日
編集済み: Jonas 2021 年 4 月 20 日
are a,b two values of a repeated measure, do they measure the same paramter? anovan can just handle one value per row, but if u measure two different things you could maybe do two anovas, one for each number of the pair. if you have repeated measures i think you have to have a look into ranova
Nicholas Danner
Nicholas Danner 2021 年 4 月 20 日
a and b are two separate values yes, for two tests done at the same factor A level and factor B level...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeANOVA についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by