AOC tool in Matlab to create an ANCOVA

4 Ansichten (letzte 30 Tage)
Amritha Harikumar
Amritha Harikumar am 30 Mär. 2018
Beantwortet: Adam Danz am 23 Apr. 2019
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!

Antworten (1)

Adam Danz
Adam Danz am 23 Apr. 2019
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.

Kategorien

Mehr zu Analysis of Variance and Covariance finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by