Michael D. Martinez and Jeff Gill. 2006.   “Does Turnout Decline Matter?: Electoral Turnout and Partisan Choice in the 1997 Canadian Federal Election.”  Canadian Journal of Political Science 39 (2, June): 343-362.  Website Appendix.

Appendix A (Variable coding)

Party Identification - Dummy variables for each party based on CPSK1
- (1 if specified party; imputed if CPSK1 = 98 or 99; 0 otherwise)

Feeling Thermometers – rescaled from 0 to 1; 996 = 0; imputed if 997, 998, 999
- Liberal (CPSD1H)
- Progressive Conservative (CPSD1G)
- NDP (CPSD1I)
- Reform (CPSD1J)
- Bloc Quebecois (CPSD1K)

Age 1997
– CPSAGE; 19 if CPSAGE = 9997; imputed if CPSAGE = 9999

French
  1 if CPSM14 = 1 or 12; imputed if CPSM14 = 98 or 99; 0 otherwise

Education
 0 if CPSM3 = 1 thru 4; 0.333 if CPSM3 = 5; 0.667 if CPSM3 = 6 thru 8; 1 if CPSM3 = 9 thru 11; imputed if CPSM3 = 98 or 99

Catholic
 1 if CPSM10 = 2; imputed if CPSM10 = 98 or 99; 0 otherwise

Religion Importance

 0 if PESM10B = 7; .333 if PESM10B = 5; .667 if PESM10B = 3;
 1 if PESM10B = 1; imputed if PESM10B = 8 or 9

Income

0 if = $30,000  (CPSM16 = 30 or CPSM16A = 2)
0.5  if > $30,000 and = $6,000  (CPSM16 > 30 and = 60) or (CPSM16A > 2 and = 5)
1  if > $60,000 (CPSM16 > 60 and = 997) or (CPSM16A > 5 and = 10)
Imputed if CPSM16 = 998 or 999 and CPSM16A = 98 or 99

Female
  if CPSRGEN = 5, 0 if CPSRGEN = 1

Campaign Interest
 Rescaled from 0 to 1 based on CPSB4, imputed if CPSB4 = 98 or 99

Knowledge of Parties
 Scale (from 0 to 1) based on PESE22, PESE23, PESE24, PESE29
 Each component = 1 if correct party only, 0.5 if correct party and another party, 0 if incorrect party or don’t know; imputed if = 9

Relative chance (Reform – PC)
Each party’s subjective chance of winning the riding was adjusted so that they summed to 1.0 .  This variable represents the signed difference between the adjusted subjective chance of the Reform candidate (based on CPSI1D) and the adjusted subjective chance of the Progressive Conservative candidate (based on CPSI1A).

Scale variables
(see
cnes97r.txt for code detailing missing values of component variables which are imputed)

Sovereignty (Quebec only)
 Scale (from 0 to 1) based on CPSA2H, PESE10D, PESE10E, PESE21G

US
 Scale (from 0 to 1) based on PESE4, PESE25, PESF13

Liberal Performance
Scale (from 0 to 1) based on CPSF10A, CPSF10B, CPSF10C, CPSF10E, CPSF10F, CPSF10G

Quebec support (ROC only)
Scale (from 0 to 1) based on CPSE3A, CPSJ3, and PESF12

Free Enterprise (ROC only)
Scale (from 0 to 1) based on PESE19, PESE20, PESF1

Moral Traditionalism (ROC only)
Scale (from 0 to 1) based on CPSF2, CPSF3, and PESE5A


Appendix B - Initial SPSS coding to read data and code vote choice


IMPORT
  FILE='C:\temp\canada97\CES1997.POR'.

compute rvote = 9.
if (pesa2a eq 5 or pesa2b eq 5 or pesa4 eq 97) rvote = 0.
if ((pesa2a eq 1 or pesa2b) eq 1 and (pesa4 ge 1 and pesa4 le 5)) rvote = pesa4.
value labels rvote 0 'Abstain' 1 'Liberal' 2 'PC' 3 'NDP' 4 'Reform' 5 'Bloc'.
missing values rvote (9).
cro tables = rvote by pesa2a pesa2b pesa4 .
fre var = rvote.

select if (rvote ne 9).
fre var = rvote.

save /outfile = 'C:\temp\canada97\CES1997.sav'
 /keep = idnum province CPSNWGT1 CPSNWGT2 CPSPWGT1
  rvote cpsrgen cpsa1 cpsa2b cpsa2c cpsa2d cpsa2h cpsb4 cpsb5
  cpsb10a cpsb10b cpsb10c cpsb10d cpsb10e cpsc1 cpsc3 cpsc5 cpsd1a cpsd1b cpsd1c cpsd1d cpsd1e cpsd1g
  cpsd1h cpsd1i cpsd1j cpsd1k cpse1a cpse3a cpsf1 cpsf2 cpsf3 cpsf4 cpsf5 cpsf6 cpsf8
  cpsf10a cpsf10b cpsf10c cpsf10e cpsf10f cpsf10g cpsf13 cpsf14 cpsf15 cpsg1 cpsg1a cpsg1b cpsg2
  cpsh1a cpsh1b cpsh1c cpsh1d cpsh1e cpsh2a cpsh2b cpsh2c cpsh2d cpsh2e cpsh3a cpsh3b cpsh3c
  cpsh3d cpsh3e cpsh4a cpsh4b cpsh4c cpsh4d cpsh4e cpsh5a cpsh5b cpsh5c cpsh5d cpsh5e cpsi1a
  cpsi1b cpsi1c cpsi1d cpsi1e cpsj2 cpsj2b cpsj3 cpsj9 cpsj10 cpsj18 cpsj21 cpsj13 cpsk1 cpsl6 cpsl11
  cpsl12 cpsl13 cpsage cpsm2 cpsm3 cpsm9 cpsm10 cpsm14 cpsknow cpsk1 cpsl6 cpsl11 cpsl12 cpsl13
  cpsage cpsm2 cpsm3 cpsm9 cpsm10 cpsm14 cpsm16 cpsm16a cpsknow cpsnwgt1 cpsnwgt2 pesa5b pesb4 pesc1a pesc1b
  pesc1c pesc1d pesc1e pese6c pese6d pese6e pese6f pese4 pese5a pese5b pese5c pese10d pese10e pese12
  pese25 pese19 pese20 pese22 pese23 pese29 pese24 pesf1 pesf6 pesf8 pesf12 pesf13 pese21g pesage pesm10b.


Appendix C - Links to R code


R source code
Output
Read data, initial recodes, scales, save Quebec and ROC datasets cnes97r.txt
cnes97r.out.txt
Multiple imputation micecnes97.txt
micecnes97.out.txt
Model estimation and simulation for Quebec scale.que.txt
scale.que.out.txt
Model estimation and simulation for ROC scale.roc.txt
scale.roc.out.txt
IIA test for Quebec model iiatest_quebec.txt
iiatest_quebec.out.txt
IIA test for ROC model iiatest_roc.txt
iiatest_roc.out.txt
missing data analysis for Quebec missing.que.txt
missing.que.out.txt
missing data analysis for ROC missing.roc.txt
missing.roc.out.txt
Archive of all work
cjps.zip