| Literature DB >> 27796415 |
Manfred Te Grotenhuis1, Ben Pelzer2, Rob Eisinga2, Rense Nieuwenhuis3, Alexander Schmidt-Catran4, Ruben Konig2.
Abstract
Entities:
Mesh:
Year: 2016 PMID: 27796415 PMCID: PMC5288425 DOI: 10.1007/s00038-016-0901-1
Source DB: PubMed Journal: Int J Public Health ISSN: 1661-8556 Impact factor: 3.380
Coding schemes for dummy coding, effect coding, and weighted effect coding (example with 3 levels of educational attainment and lowest educational level omitted from the regression model)
| Dummy variables | Dummy coding | Effect coding | Weighted effect coding | |||
|---|---|---|---|---|---|---|
| Middledc | Highdc | Middleec | Highec | Middlewec | Highwec | |
| Categories | ||||||
| Low | 0 | 0 | −1 | −1 | −( | −( |
| Middle | 1 | 0 | 1 | 0 | 1 | 0 |
| High | 0 | 1 | 0 | 1 | 0 | 1 |
a n m = number of observations (n) in category Middle, n l = n in category Low
b n h = n in category High
Ordinary least squares (OLS) regression effects on the body mass index (BMI), using dummy coding, effect coding, and weighted effect coding without controls (Model 1) and with controls (Model 2), number of cases per category between brackets (n)
Data source: (Eisinga et al. 2000, 2012a, b), total n = 3314
| OLS effects on BMI | Dummy coding | Effect coding | Weighted effect coding | |||
|---|---|---|---|---|---|---|
|
|
|
|
|
|
| |
|
| ||||||
| Intercept | 26.15 | 184.15 | 25.14 | 368.75 | 24.98 | 383.32 |
| Education | ||||||
| Low (698) | 0.00 (ref) | 1.00 | 9.44 | 1.17 | 9.27 | |
| Middle (1419) | −1.17 | −6.74 | −0.16 | −1.82 | −0.00 ns | −0.00 |
| High (1197) | −1.85 | −10.36 | −0.84 | −9.12 | −0.68 | −7.87 |
| Variance explained | 3.1% | 3.1% | 3.1% | |||
|
| ||||||
| Intercept | 25.88 | 143.74 | 25.10 | 373.04 | 24.98 | 394.00 |
| Education | ||||||
| Low (698) | 0.00 (ref) | 0.74 | 6.98 | 0.85 | 6.78 | |
| Middle (1419) | −0.73 | −4.22 | 0.01 ns | 0.15 | 0.12 | 1.67 |
| High (1197) | −1.49 | −8.45 | −0.75 | −8.31 | −0.64 | −7.59 |
| Control variables | ||||||
| Sex | ||||||
| Male (1561) | 0.00 (ref) | 0.24 | 3.78 | 0.26 | 3.78 | |
| Female (1753) | −0.48 | −3.78 | −0.24 | −3.78 | −0.23 | −3.78 |
| Age (log)a | 2.42 | 12.90 | 2.42 | 12.90 | 2.42 | 12.90 |
| Year of interview | ||||||
| 2000 (987) | 0.00 (ref) | −0.20 | −2.19 | −0.20 | −2.08 | |
| 2005 (1351) | 0.20 | 1.31 | −0.00 ns | −0.04 | −0.00 ns | −0.03 |
| 2010 (937) | 0.41 | 2.48 | 0.21 | 2.22 | 0.21 | 2.11 |
| Variance explained | 8.4% | 8.4% | 8.4% | |||
ns not significant (t value <1.65), t values are presented for illustrative purposes
aBecause the relationship between age and BMI turned out to be positive and non-linear, we used the natural logarithm of age and mean centered log(age) to ensure that the intercept equals the sample mean of 24.98 in weighted effect coding