help
help > RE: How to define "site" as covariate
Dec 23, 2022 01:12 AM | Alfonso Nieto-Castanon - Boston University
RE: How to define "site" as covariate
Hi Alex,
While that approach is fine for two sites (or when controlling for the effect of a categorical factor with two levels), for three or more sites the appropriate control will involve defining one covariate per site, each with 0/1 values indicating which subjects come from each individual site. Using instead as a control a variable with values 1,2,3 will only control for sorted effects across those three sites, leaving other potential inter-site differences uncontrolled.
Best
Alfonso
Originally posted by Alexandra Muratore:
While that approach is fine for two sites (or when controlling for the effect of a categorical factor with two levels), for three or more sites the appropriate control will involve defining one covariate per site, each with 0/1 values indicating which subjects come from each individual site. Using instead as a control a variable with values 1,2,3 will only control for sorted effects across those three sites, leaving other potential inter-site differences uncontrolled.
Best
Alfonso
Originally posted by Alexandra Muratore:
Hi Alfonso,
Is this different than creating a variable called "site" with 3 levels (1,2,3), and including that as a covariate of no interesT?
Thank you,
Alex
Is this different than creating a variable called "site" with 3 levels (1,2,3), and including that as a covariate of no interesT?
Thank you,
Alex
Threaded View
Title | Author | Date |
---|---|---|
Julia Werhahn | Nov 6, 2017 | |
Julia Werhahn | Nov 8, 2017 | |
Ali Amad | Dec 14, 2017 | |
Zahra Moradimanesh | Oct 31, 2020 | |
Till Langhammer | Jan 18, 2021 | |
Alfonso Nieto-Castanon | Jan 18, 2021 | |
max345 | Jul 5, 2023 | |
Alfonso Nieto-Castanon | Jul 5, 2023 | |
Alex G | Dec 7, 2022 | |
Alfonso Nieto-Castanon | Dec 23, 2022 | |
Nancy Mugisha | Mar 2, 2022 | |
Alfonso Nieto-Castanon | Mar 10, 2022 | |
Dilip Kumar | Jun 25, 2021 | |
Victoria Okuneye | Jun 27, 2018 | |
Ekaterina Pechenkova | Nov 8, 2017 | |
Ekaterina Pechenkova | Nov 6, 2017 | |