How to do 'effects coding' in Matlab
Ältere Kommentare anzeigen
Hi, right now I am writing a program for 'design of experiments' and I need to calculate the effects matrix for my factors and levels. The matrix should look like this with white = 1, grey = 0, black = − 1.
The only functions I found regarding effects coding in Matlab are 'fitlme' and 'fitglme', but I really don't understand how they work and how I get an effects matrix from this (like in the picture). For example how would that work for a 2^9 design plan?
Thanks in advance.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Mixed Effects finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!