Re: Repeated contrast for COXREG
Posted by
Bruce Weaver on
Jan 04, 2022; 6:41pm
URL: http://spssx-discussion.165.s1.nabble.com/Repeated-contrast-for-COXREG-tp5740927p5740932.html
Hello Kirill. I was using the terminology I found in the article I cited. But I see that other resources use notation & terminology more in line with yours. E.g.,
https://bookdown.org/pingapang9/linear_models_bookdown/chap-contrasts.html#connection-between-contrast-and-coding-schemesCheers,
Bruce
Kirill Orlov wrote
Bruce,
The first matrix is contrast coefficient (L) matrix.
The second matrix is the coding (C) matrix, i.e. values of the design matrix.
They are related as the ginv() of each other (but not so for all types of contrasts).
I discuss this in the description of my macro "Categorical into contrast" !KO_CATCONT which produces predictor variables for various contrast types. You could download from my page
https://www.spsstools.net/en/macros/KO-spssmacros/
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/"When all else fails, RTFM."
PLEASE NOTE THE FOLLOWING:
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (
https://listserv.uga.edu/).