Hypothesis: Men are more likely to vote than women.

fre vote.
RECODE vote (1=1) (2=0) INTO vote_dummy.
VARIABLE LABELS vote_dummy ‘voted last election dummy’.
VALUE LABELS vote_dummy 0’no’ 1’yes’.
fre vote vote_dummy.

fre gndr.
RECODE gndr (1=0) (2=1) INTO gndr_dummy.
VARIABLE LABELS gndr_dummy ‘Gender dummy variable’.
VALUE LABELS gndr_dummy 0’male’ 1’female’.
fre gndr gndr_dummy.

LOGISTIC REGRESSION vote_dummy WITH gndr_dummy.

*If you want to create a graph:.
CROSSTABS vote_dummy BY gndr_dummy /CELLS=COLUMN.

1-voted
0-did not vote.
0-male
1-female

Exp(b1): The odds of voting among women are 0.871 times as low as among men. The odds of voting among women are [(0.871-1)100=12,9] % lower than among men.

Exp(b0): The odds of voting among men are 3.012.

Exp(b0)*Exp(b1): The odds of voting among women are (3.012*0.871).

b1: The log odds of voting among women is by 0,139 lower than among men. The log odds of voting among women are [(-0,139-1)100] % lower among men.
b0: The log odds of voting among men are 1.103.
b0+b1: The log odds of voting among women are (-0,139+1.103).

Conclusion: The p-value is higher than 0,05, so we do not have evidence to conclude that gender has an effect on voting.

UP