# What is an Interaction?

(Difference between revisions)
 Revision as of 20:55, 7 September 2009 (view source)Doug (Talk | contribs)← Older edit Revision as of 23:04, 23 November 2010 (view source)Ibocyferan (Talk | contribs) Newer edit → Line 1: Line 1: + ---- +
+ ---- + =[http://efowozodije.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]= + ---- + =[http://efowozodije.co.cc CLICK HERE]= + ---- +
*Interactions are when the effect of two, or more, variables is not simply additive. This page describes the interaction between two variables. It is possible to examine the interactions of three or more variables but this is beyond the scope of this page. *Interactions are when the effect of two, or more, variables is not simply additive. This page describes the interaction between two variables. It is possible to examine the interactions of three or more variables but this is beyond the scope of this page. Line 19: Line 27: - *(FYI - Chart 1b shows an ordinal interaction. A disordinal interaction occurs when the two lines cross). + <nowiki>*</nowiki>(FYI - Chart 1b shows an ordinal interaction. A disordinal interaction occurs when the two lines cross). ==Graphical representations of Interactions== ==Graphical representations of Interactions== - + <table width=100% cellpadding=20> -
+ <td width=50% > This column shows the four possibilities WITHOUT an interaction: This column shows the four possibilities WITHOUT an interaction: #Two Main Effects #Two Main Effects Line 30: Line 38: #Main Effect for Variable A #Main Effect for Variable A #Main Effect for Variable B #Main Effect for Variable B - + <td width=50%  valign=top> This column shows the four possibilities WITH an interaction: This column shows the four possibilities WITH an interaction: #Two Main Effects #Two Main Effects Line 37: Line 45: #Main Effect for Variable A #Main Effect for Variable A #Main Effect for Variable B #Main Effect for Variable B -
+ </td> - + </td> - + </table> - + <table> -
+ <td> There are other graphical representations of Interactions and Main Effects such as effects being reduced (e.g., imagine all the graphs below being flipped down) or effects going in the opposite direction (e.g., imagine all the graphs being flipped to the left), but for simplicity sake they are not displayed because you can discern those graphs after identifying the major types described below. There are other graphical representations of Interactions and Main Effects such as effects being reduced (e.g., imagine all the graphs below being flipped down) or effects going in the opposite direction (e.g., imagine all the graphs being flipped to the left), but for simplicity sake they are not displayed because you can discern those graphs after identifying the major types described below. -
+ </td> - + </table> - + <table> -
+ <td> [[Image:NoI2MEc.JPG]] [[Image:NoI2MEc.JPG]] - + <td> [[Image:I2ME.JPG]] [[Image:I2ME.JPG]] -
+ </td> - + </td> - + </table> - + <table> -
+ <td> [[Image:NoINoME.JPG]] [[Image:NoINoME.JPG]] - + <td> [[Image:INoME.JPG]] [[Image:INoME.JPG]] -
+ </td> - + </td> - + </table> - + <table> -
+ <td> [[Image:NoIMEb.JPG]] [[Image:NoIMEb.JPG]] - + <td> [[Image:IMEb.JPG]] [[Image:IMEb.JPG]] -
+ </td> - + </td> - + </table> - + <table> -
+ <td> [[Image:NoIMEd.JPG]] [[Image:NoIMEd.JPG]] - + <td> [[Image:IMEd.JPG]] [[Image:IMEd.JPG]] -
+ </td> - + </td> - + </table> Line 87: Line 95: *#:the interaction = X1*X2, *#:the interaction = X1*X2, *#:Y = running speed *#:Y = running speed - *#Here is the formula for: Running speed = intercept + b1energy drink + b2energy bar + b3(bar * drink) + ei + *#Here is the formula for: Running speed = intercept + b1energy drink + b2energy bar + b3(bar * drink) + e<sub>i</sub> - *#:Y''i'' = ''b''0 + ''b''1X1''i'' + ''b''2X2''i'' + ''b''3(X1''i'' X2''i'') + ''ei'' + *#:Y<sub>''i''</sub> = ''b''<sub>0</sub> + ''b''<sub>1</sub>X1<sub>''i''</sub> + ''b''<sub>2</sub>X2<sub>''i''</sub> + ''b''<sub>3</sub>(X1<sub>''i''</sub> X2<sub>''i''</sub>) + ''e<sub>i</sub>'' *#This formula can be rewritten as *#This formula can be rewritten as - *#:Y''i'' = (''b''0 + ''b''2X2''i'') + (''b''1+ ''b''3X2''i'') X1''i'' + ''ei'' + *#:Y<sub>''i''</sub> = (''b''<sub>0</sub> + ''b''<sub>2</sub>X<sub>2''i''</sub>) + (''b''<sub>1</sub>+ ''b''<sub>3</sub>X<sub>2''i''</sub>) X<sub>1''i''</sub> + ''e<sub>i</sub>'' - *#:where (''b''1+ ''b''3X2''i'') represents the effect of X1 on Y at specific levels of X2 + *#:where (''b''<sub>1</sub>+ ''b''<sub>3</sub>X<sub>2''i''</sub>) represents the effect of X<sub>1</sub> on Y at specific levels of X<sub>2</sub> - *#:and ''b3'' indicates how much the slope of X1 changes as X2 goes up or down one unit. + *#:and ''b<sub>3</sub>'' indicates how much the slope of X<sub>1</sub> changes as X<sub>2</sub> goes up or down one unit. - *#It is then possible to factor out X2 + *#It is then possible to factor out X<sub>2</sub> - *#:Y''i'' = (''b''0 + ''b''1X1''i'') + (''b''2+ ''b''3X1''i'') X2''i'' + ''ei'' + *#:Y<sub>''i''</sub> = (''b''<sub>0</sub> + ''b''<sub>1</sub>X<sub>1''i''</sub>) + (''b''<sub>2</sub>+ ''b''<sub>3</sub>X<sub>1''i''</sub>) X<sub>2''i''</sub> + ''e<sub>i</sub>'' - *#:where (''b''2+ ''b''3X1''i'') represents the effect of X2 on Y at specific levels of X1 + *#:where (''b''<sub>2</sub>+ ''b''<sub>3</sub>X<sub>1''i''</sub>) represents the effect of X<sub>2</sub> on Y at specific levels of X<sub>1</sub> - *#:and ''b3'' indicates how much the slope of X2 changes as X2 goes up or down one unit. + *#:and ''b<sub>3</sub>'' indicates how much the slope of X<sub>2</sub> changes as X<sub>2</sub> goes up or down one unit.

# This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page

• Interactions are when the effect of two, or more, variables is not simply additive. This page describes the interaction between two variables. It is possible to examine the interactions of three or more variables but this is beyond the scope of this page.

## Interactions and Main Effects

• Imagine a study about the effect of energy bars and energy drinks on time to run the 1500 meters. The quantity of energy bars and energy drinks represent two variables. The dependent variable is the time taken to run 1500 meters.
1. Example 1 - An interaction occurs if running speed improves by more than just the additive effect of having either an energy bar or an energy drink. For example, imagine eating a certain amount of energy bars increases running speed by 3 seconds, and drinking energy drinks increases running speed by 2 seconds. An interaction occurs if the joint effect of energy bars and energy drinks increases running speed by more than 5 seconds, such as liquid in the drink amplifying the ability to digest the energy in the bar leading to faster times.
Chart 1a below shows an additive effect
Chart 1b below shows an Interaction.*
2. Example 2 - A second example of an interaction is that alone neither variable may have an effect on running speed, such as imagining that an energy bar by itself, or an energy drink by itself, is unable to increase running speed. But, there might be an interaction effect that influences running speed when you eat the bar and drink the drink, such as the energy bar having a chemical that unleashes the power of the energy drink to increase running speed.
Chart 2a shows when neither variable has an effect, with no Interaction
Chart 2b also shows when neither variable has an effect, but now with an Interaction
3. Example 3 - A final example is when one of the variables has an effect but not the other. When a variable has an effect (such as the energy bar increasing running speed, or the energy drink increasing running speed) that is called a Main Effect.
Chart 3a shows a Main Effect for the energy bar, with no Interaction
Chart 3b shows the same Main Effect for the energy bar, but now with an Interaction
Chart 4a shows a Main Effect for the energy drink, with no Interaction
Chart 4b shows the same Main Effect for the energy drink, but now with an Interaction

<nowiki>*</nowiki>(FYI - Chart 1b shows an ordinal interaction. A disordinal interaction occurs when the two lines cross).

## Graphical representations of Interactions

<table width=100% cellpadding=20> <td width=50% > This column shows the four possibilities WITHOUT an interaction:

1. Two Main Effects
2. No Main Effects
3. Main Effect for Variable A
4. Main Effect for Variable B

</td> <td width=50% valign=top> This column shows the four possibilities WITH an interaction:

1. Two Main Effects
2. No Main Effects
3. Main Effect for Variable A
4. Main Effect for Variable B

</td> </table> <table> <td> There are other graphical representations of Interactions and Main Effects such as effects being reduced (e.g., imagine all the graphs below being flipped down) or effects going in the opposite direction (e.g., imagine all the graphs being flipped to the left), but for simplicity sake they are not displayed because you can discern those graphs after identifying the major types described below. </td> </table> <table> <td> </td> <td> </td> </table> <table> <td> </td> <td> </td> </table> <table> <td> </td> <td> </td> </table> <table> <td> </td> <td> </td> </table>

## Statistical formula behind Interactions

• For those more technically minded, here is the algebra. An interaction effect reflects the effect of the interaction controlling for the two predictors themselves.
1. In the following examples:
energy bar = X1,
energy drink = X2
the interaction = X1*X2,
Y = running speed
2. Here is the formula for: Running speed = intercept + b1energy drink + b2energy bar + b3(bar * drink) + e<sub>i</sub>
Y<sub>i</sub> = b<sub>0</sub> + b<sub>1</sub>X1<sub>i</sub> + b<sub>2</sub>X2<sub>i</sub> + b<sub>3</sub>(X1<sub>i</sub> X2<sub>i</sub>) + e<sub>i</sub>
3. This formula can be rewritten as
Y<sub>i</sub> = (b<sub>0</sub> + b<sub>2</sub>X<sub>2i</sub>) + (b<sub>1</sub>+ b<sub>3</sub>X<sub>2i</sub>) X<sub>1i</sub> + e<sub>i</sub>
where (b<sub>1</sub>+ b<sub>3</sub>X<sub>2i</sub>) represents the effect of X<sub>1</sub> on Y at specific levels of X<sub>2</sub>
and b<sub>3</sub> indicates how much the slope of X<sub>1</sub> changes as X<sub>2</sub> goes up or down one unit.
4. It is then possible to factor out X<sub>2</sub>
Y<sub>i</sub> = (b<sub>0</sub> + b<sub>1</sub>X<sub>1i</sub>) + (b<sub>2</sub>+ b<sub>3</sub>X<sub>1i</sub>) X<sub>2i</sub> + e<sub>i</sub>
where (b<sub>2</sub>+ b<sub>3</sub>X<sub>1i</sub>) represents the effect of X<sub>2</sub> on Y at specific levels of X<sub>1</sub>
and b<sub>3</sub> indicates how much the slope of X<sub>2</sub> changes as X<sub>2</sub> goes up or down one unit.

◄ Back to Analyzing Data page