AOC tool in Matlab to create an ANCOVA
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello,
I am trying to use the 'aoc tool' in MATLAB to create an ANCOVA model with 3 independent variables, one dependent variables, and one covariate. The help toolbox for this function isn't very clear on how to add the covariate. Could someone please help me on how to set this up with an example? Thank you!
댓글 수: 0
답변 (1개)
Adam Danz
2019년 4월 23일
The aoctool() only allows for one grouping variable. Instead, anovan() might be an option for what you're describing.
anovan() is an n-way analysis of variance allowing for multiple grouping variables. When at least one of those grouping variables are labeled as a continuous variable, an ANCOVA is performed (Matlab calls it ANOCOVA, same thing).
댓글 수: 0
참고 항목
카테고리
Help Center 및 File 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!