help > RE: Design matrix and contrast for 2x2 design
Dec 10, 2024  01:12 AM | Andrew Zalesky
RE: Design matrix and contrast for 2x2 design

In short, yes. For further details, please check out some of the previous posts here on a 2 x 2 design with an interaction effect and repeated measurments. 


 


Originally posted by Max Kathofer :



Thank you so much for the answer! 


So given I want to investigate an interaction effect, I would need to remove the drug condition afterwards? 


 


Meaning a design matrix like this:


Drug | Rating | Participant columns ...


0 3.2 1 0..


0 -1.8 1 0..


1 1.2 1 0...


1 -9 1 0...


1 -4 0 1... 


first 4 rows denote first subject, 5th row 2nd subject 


would become 


Interaction | Participant 


0 1 0...


0 1 0..


1.2 1 0...


-9 1 0.. 


-4 0 1 


 


Thank you so much! 



 

Threaded View

TitleAuthorDate
David de Wide Aug 3, 2017
Max Kathofer Oct 31, 2024
Andrew Zalesky Nov 1, 2024
Max Kathofer Nov 1, 2024
Andrew Zalesky Nov 1, 2024
Max Kathofer Dec 2, 2024
Andrew Zalesky Dec 6, 2024
Max Kathofer Dec 9, 2024
RE: Design matrix and contrast for 2x2 design
Andrew Zalesky Dec 10, 2024
yue zhang Jan 11, 2020
Andrew Zalesky Aug 5, 2017
Liam Nestor Sep 27, 2019
Andrew Zalesky Sep 28, 2019
Liam Nestor Sep 28, 2019
Andrew Zalesky Sep 28, 2019
Liam Nestor Sep 30, 2019
Andrew Zalesky Oct 1, 2019
Liam Nestor Oct 1, 2019
David de Wide Aug 6, 2017
Andrew Zalesky Aug 7, 2017
David de Wide Aug 7, 2017
Andrew Zalesky Aug 7, 2017
David de Wide Aug 11, 2017
Andrew Zalesky Aug 12, 2017
David de Wide Aug 18, 2017
Andrew Zalesky Aug 19, 2017