Skip to main content
Top
Published in: International Journal of Public Health 1/2017

Open Access 01-01-2017 | Hints & Kinks

When size matters: advantages of weighted effect coding in observational studies

Authors: Manfred te Grotenhuis, Ben Pelzer, Rob Eisinga, Rense Nieuwenhuis, Alexander Schmidt-Catran, Ruben Konig

Published in: International Journal of Public Health | Issue 1/2017

Login to get access

Excerpt

To include nominal and ordinal variables as predictors in regression models, their categories first have to be transformed into so-called ‘dummy variables’. There are many transformations available, and popular is ‘dummy coding’ in which the estimates represent deviations from a preselected ‘reference category’. A way to avoid choosing a reference category is effect coding, where the resulting estimates are deviations from a grand (unweighted) mean. An alternative for effect coding was given by Sweeney and Ulveling in 1972, which provides estimates representing deviations from the sample mean and is especially useful when the data are unbalanced (i.e., categories holding different numbers of observation). Despite its elegancy, this weighted effect coding has been cited only 35 times in the past 40 years, according to Google Scholar citations (more recent references include Hirschberg and Lye 2001 and Gober and Freeman 2005). Furthermore, it did not become a standard option in statistical packages such as SPSS and R. The aim of this paper is to revive weighted effect coding illustrated by recent research on the body mass index (BMI) and to provide easy-to-use syntax for SPSS, R, and Stata on http://​www.​ru.​nl/​sociology/​mt/​wec/​downloads. For didactical reasons we apply OLS regression models, but it will be shown that weighted effect coding can be used in any generalized linear model. …
Literature
go back to reference Eisinga R, Coenders M, Felling A, te Grotenhuis M, Oomens S, Scheepers P (2002) Religion in Dutch society 2000. Documentation of a national survey on religious and secular attitudes in 2000. NIWI-Steinmetz Archive, Amsterdam Eisinga R, Coenders M, Felling A, te Grotenhuis M, Oomens S, Scheepers P (2002) Religion in Dutch society 2000. Documentation of a national survey on religious and secular attitudes in 2000. NIWI-Steinmetz Archive, Amsterdam
go back to reference Eisinga R, Need A, Coenders M, de Graaf ND, Lubbers M, Scheepers P, Levels M, Thijs P (2012a) Religion in Dutch society 2005. Documentation of a national survey on religious and secular attitudes and behaviour in 2005, DANS Data Guide 10. Amsterdam University Press, The Hague Eisinga R, Need A, Coenders M, de Graaf ND, Lubbers M, Scheepers P, Levels M, Thijs P (2012a) Religion in Dutch society 2005. Documentation of a national survey on religious and secular attitudes and behaviour in 2005, DANS Data Guide 10. Amsterdam University Press, The Hague
go back to reference Eisinga R, Kraaykamp G, Scheepers P, Thijs P (2012b) Religion in Dutch society 2011–2012. Documentation of a national survey on religious and secular attitudes and behaviour in 2011–2012, DANS Data Guide 11. Amsterdam University Press, The Hague Eisinga R, Kraaykamp G, Scheepers P, Thijs P (2012b) Religion in Dutch society 2011–2012. Documentation of a national survey on religious and secular attitudes and behaviour in 2011–2012, DANS Data Guide 11. Amsterdam University Press, The Hague
go back to reference Gober RW, Freeman GL (2005) Interpretation of shifted binary interpretive framework coefficients using a classical regression problem. Acad Inf Manag Sci J 8:115–123 Gober RW, Freeman GL (2005) Interpretation of shifted binary interpretive framework coefficients using a classical regression problem. Acad Inf Manag Sci J 8:115–123
go back to reference Hermann S, Rohrmann S, Linseisen J et al (2011) The association of education with body mass index and waist circumference in the EPIC-PANACEA study. BMC Public Health 11:169CrossRefPubMedPubMedCentral Hermann S, Rohrmann S, Linseisen J et al (2011) The association of education with body mass index and waist circumference in the EPIC-PANACEA study. BMC Public Health 11:169CrossRefPubMedPubMedCentral
go back to reference Hirschberg J, Lye J (2001) The interpretation of multiple dummy variable coefficients: an application to industry effects in wage equations. Appl Econ Lett 8:701–707CrossRef Hirschberg J, Lye J (2001) The interpretation of multiple dummy variable coefficients: an application to industry effects in wage equations. Appl Econ Lett 8:701–707CrossRef
go back to reference Krul AJ, Daanen HAM, Choi H (2011) Self-reported and measured weight, height and body mass index (BMI) in Italy, the Netherlands and North America. Eur J Pub Health 21:414–419CrossRef Krul AJ, Daanen HAM, Choi H (2011) Self-reported and measured weight, height and body mass index (BMI) in Italy, the Netherlands and North America. Eur J Pub Health 21:414–419CrossRef
go back to reference Sweeney R, Ulveling EF (1972) A transformation for simplifying the interpretation of coefficients of binary variables in regression analysis. Am Stat 26:30–32 Sweeney R, Ulveling EF (1972) A transformation for simplifying the interpretation of coefficients of binary variables in regression analysis. Am Stat 26:30–32
Metadata
Title
When size matters: advantages of weighted effect coding in observational studies
Authors
Manfred te Grotenhuis
Ben Pelzer
Rob Eisinga
Rense Nieuwenhuis
Alexander Schmidt-Catran
Ruben Konig
Publication date
01-01-2017
Publisher
Springer International Publishing
Published in
International Journal of Public Health / Issue 1/2017
Print ISSN: 1661-8556
Electronic ISSN: 1661-8564
DOI
https://doi.org/10.1007/s00038-016-0901-1

Other articles of this Issue 1/2017

International Journal of Public Health 1/2017 Go to the issue

Acknowledgement to Reviewers

Acknowledgement to Reviewers 2016