PSCI 2075 Lecture 3: Quantative research methods 01/29/19
Document Summary
What if we want to transform a variable for analysis. Logic: an indicator variable can take on two values (1 or 0) Example distinguish between people with no service vs any amount. Any years of service yields true # freq(gss, plot=f) True and false values now 1 or 0. You may need to change class for a function to work. Logic: labels help us keep things straight. Take info you have and reduce into smaller number of categories. Logic: sometimes we want to make comparisons.