AOC tool in Matlab to create an ANCOVA

조회 수: 5 (최근 30일)
Amritha Harikumar
Amritha Harikumar 2018년 3월 30일
답변: Adam Danz 2019년 4월 23일
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!

답변 (1개)

Adam Danz
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).
An example of this useage is found here in Matlab's documentation.

카테고리

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