One-Way Analysis
Targeting
Two-Way Analysis
Regression
A. The following steps recodes cult into dcult (0,1)
- Click on Transform, Recode, Into Different Variables
- Find cult in the variable list and click it over to the input variable box.
- Type in the output variable as dcult, click on Change button
- Click on the Old and New Variable button
- For the old value Click on Range Lowest through.... and type in the value 2
- The new value for these numbers will be 0
- Now click ADD. This should read "lowest thru 2 = 0"
For the values of 3 and higher we want to code as a 1 so....
- Click on Range _______through highest and type in3
- The new value will be 1
- Click Add. This should read "3 thru highest = 1"
- Click Continue and ok. The variable will be created at the end of the dataset.
B. The following steps recodes irr99 into dirr99 (0,1):
- Click on Transform, Recode, Into Different Variables
- Find irr99 in the variable list and click it over to the input variable
box.
- Type in the output variable as dirr99, click on Change button.
- Click on the Old and New Variable button
- For the old value Click on Lowest Range through.... and type in the value 2
- The new value for these numbers will be 0
- Now click ADD. This should read "lowest thru 2 = 0"
For the values of 2.1 and higher we want to code as a 1 so....
- Click on through highest range and type in 2.1
- The new value will be 1
- Click Add. This should read "2.1 thru highest = 1"
- Click continue and ok. The variable will be created at the end of the dataset.
C. Create a new interaction term (intirrcu) which is
dcult*dirr99
As a reminder you need to
go to Transform, Compute, and intirrcu should be your target variable and dcult*dirr99 can
be typed into the numerical
expression box.
D. Go ahead and run a linear regression routine with intirrcu, dirr99,
dcult. The output will be as follows:




E. Now return to the graphing section to learn how to graph interactions
using dichotomous variables.