필터 지우기
필터 지우기

Balanced two-way anova

조회 수: 2 (최근 30일)
jason beckell
jason beckell 2017년 9월 25일
댓글: Image Analyst 2017년 9월 26일
Hello to everybody,
I am new to anova and I have to carry out this simple exercise for a work of mine. I have the following table:
41327 36107(83.37%) 3071 2570(89.55%) 1885 1669(88.54%) \\
48652 9484 (19.53%) 3807 903 (32.72%) 1998 362 (18.12%) \\
49399 1531 (3.1%) 4020 276 (6.87%) 2087 13 (0.62%) \\
1807 1187 (65.69%) 99 68 (68.69%) 49 32 (65.31%) \\
where each row represents a particular environment (say A, B, C, D) and each couple of columns represents, respectively:
1) the total population of class i
2) the proportion of population of class i belonging to environment j (with j \in \{A, B, C, D\}. Hence, in our table we have three populations (say g1, g2, g3).
I would like to compute the global DF, F test value and p value for the Populations, for the Environments and for their interaction (Populations*Environments).
I have understood that I need function anova2, but I have not figured out how to employ it in this case.
Many thanks for your kind attention and my best regards!
Jason.
  댓글 수: 1
Image Analyst
Image Analyst 2017년 9월 26일
I fixed your code but read this for next time.
Also, what is "a work". Do you mean your work, like your job? Or do you mean a homework problem?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Analysis of Variance and Covariance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by