FS Home

Section 1:  Introduction
Section 2:  Coping Strategies
Section 3:  Computing
Section 4:  Analysis Ex. (HLS Bangladesh)
Section 5:  Analysis Ex. (HLS Kenya)

 

bullet.jpg (717 bytes) One-Way Analysis    bullet.jpg (717 bytes) Targeting    bullet.jpg (717 bytes) Two-Way Analysis    bullet.jpg (717 bytes) Regression


A.  The following steps recodes cult into dcult (0,1)

  1. Click on Transform, Recode, Into Different Variables
  2. Find cult in the variable list and click it over to the input variable box.
  3. Type in the output variable as dcult, click on Change button
  4. Click on the Old and New Variable button
  5. For the old value Click on Range Lowest through.... and type in the value 2
  6. The new value for these numbers will be 0
  7. 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....
  8. Click on Range _______through highest and type in3
  9. The new value will be 1
  10. Click Add.  This should read "3 thru highest = 1"
  11. 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):

  1. Click on Transform, Recode, Into Different Variables
  2. Find irr99  in the variable list and click it over to the input variable box.
  3. Type in the output variable as dirr99, click on Change button.
  4. Click on the Old and New Variable button
  5. For the old value Click on Lowest Range through.... and type in the value 2
  6. The new value for these numbers will be 0
  7. 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....
  8. Click on through highest range and type in 2.1
  9. The new value will be 1
  10. Click Add.  This should read "2.1 thru highest = 1"
  11. 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:

dichculir1.jpg (23990 bytes)dichculir2.jpg (21700 bytes)
dichculir3.jpg (27477 bytes)
dichculir4.jpg (33635 bytes)
E.  Now return to the graphing section to learn how to graph interactions using dichotomous variables.