<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rense Nieuwenhuis &#187; moderation</title>
	<atom:link href="http://www.rensenieuwenhuis.nl/tag/moderation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rensenieuwenhuis.nl</link>
	<description>&#34;The extra-ordinary lies within the curve of normality&#34;</description>
	<lastBuildDate>Thu, 12 Mar 2026 14:58:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.2</generator>
	<item>
		<title>A novel method for modelling interaction between categorical variables</title>
		<link>http://www.rensenieuwenhuis.nl/a-novel-method-for-modelling-interaction-between-categorical-variables/</link>
		<comments>http://www.rensenieuwenhuis.nl/a-novel-method-for-modelling-interaction-between-categorical-variables/#comments</comments>
		<pubDate>Tue, 18 Apr 2017 08:00:43 +0000</pubDate>
		<dc:creator><![CDATA[Rense Nieuwenhuis]]></dc:creator>
				<category><![CDATA[Peer Reviewed]]></category>
		<category><![CDATA[R-Project]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[dummy coding]]></category>
		<category><![CDATA[interaction]]></category>
		<category><![CDATA[moderation]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[wec]]></category>
		<category><![CDATA[weighted effect coding]]></category>

		<guid isPermaLink="false">http://www.rensenieuwenhuis.nl/?p=6075</guid>
		<description><![CDATA[We have been developing weighted effect coding in an ongoing series of publications (hint: a publication in the R Journal will follow). To include nominal and ordinal variables as predictors in regression models, their categories ...]]></description>
				<content:encoded><![CDATA[<p>We have been developing weighted effect coding in an ongoing series of publications (hint: a publication in the R Journal will follow). To include nominal and ordinal variables as predictors in regression models, their categories first have to be transformed into so-called &#8216;dummy variables&#8217;. There are many transformations available, and popular is &#8216;dummy coding&#8217; in which the estimates represent deviations from a preselected &#8216;reference category&#8217;. </p>
<p>To avoid choosing a reference category, weighted effect coding provides estimates representing deviations from the sample mean. This is particularly useful when the data are unbalanced (i.e., categories holding different numbers of observation). The basics of this  technique, with applications in R, were <a href="http://www.rensenieuwenhuis.nl/when-size-matters-weighted-effect-coding/">detailed here</a>.</p>
<p><a href="http://link.springer.com/article/10.1007/s00038-016-0902-0">In a new publication, available open access,</a>, we show that weighted effect coding can also be applied to regression models with interaction effects (also commonly referred to as moderation). The weighted effect coded interactions represent the additional effects over and above the main effects obtained from the model without these interactions. </p>
<p>To apply the procedures introduced in these papers, called weighted effect coding, procedures are made available for R, SPSS, and Stata. For R, we created the &#8216;wec&#8217; package which can be installed by typing:</p>
<blockquote><p>
install.packages(&#8220;wec&#8221;)
</p></blockquote>
<h1>References (Open Access!)</h1>
<p>Grotenhuis, M., Ben Pelzer, Eisinga, R., Nieuwenhuis, R., Schmidt-Catran, A., &#038; Konig, R. (2017). <b>A novel method for modelling interaction between categorical variables</b>. <I>International Journal of Public Health</i>, 62(3), 427–431. <a href="http://link.springer.com/article/10.1007/s00038-016-0902-0">http://link.springer.com/article/10.1007/s00038-016-0902-0</a> </p>
<p>Grotenhuis, M., Ben Pelzer, Eisinga, R., Nieuwenhuis, R., Schmidt-Catran, A., &#038; Konig, R. (2017). <b>When size matters: advantages of weighted effect coding in observational studies</b>. <I>International Journal of Public Health</i>, 62(1), 163–167. <a href="http://doi.org/10.1007/s00038-016-0901-1">http://doi.org/10.1007/s00038-016-0901-1</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rensenieuwenhuis.nl/a-novel-method-for-modelling-interaction-between-categorical-variables/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
