Narrowing a variable?

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Posts: 1
Joined: Mon Nov 30, 2015 4:05 pm

Narrowing a variable?

Postby cca3893 » Mon Nov 30, 2015 4:18 pm

Hello all,

I'm doing research on Latin American countries and various measures of strength and weakness of Democratic regimes. In the World SPSS dataset there is a variable for countries. how do I take that variable, and make a new one with just the Latin American countries?
Posts: 2750
Joined: Tue Jun 12, 2007 12:08 pm
Location: Florida, USA

Re: Narrowing a variable?

Postby statman » Tue Dec 01, 2015 8:30 pm

Need more ..........
See the note below

NOTE: Please read the Posting Guidelines and always tell us your OS, the SPSS version and information about your study and data!

Statistical Services
Posts: 1477
Joined: Tue Jun 10, 2008 4:50 pm

Re: Narrowing a variable?

Postby GerineL » Thu Dec 03, 2015 12:51 pm

as statman said, need more info on variables etc,, but probably what you need is a simple recode function:
recode originalvariable (1 = 1) (2 = 1) into latincountries.

replace "originalvariable" with your varname, (1=1) (2 = 1) etc: replace for the country codes of latin countries you want.
this may not work, but need more info to say anything useful.

Who is online

Users browsing this forum: No registered users and 1 guest