POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011...

49

Transcript of POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011...

Page 1: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .
Page 2: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

POL 242Introduction to Research Methods

 

Assignment One TutorialDescriptive Statistics

June 2, 2011  

Anthony Sealey [email protected]

http://individual.utoronto.ca/sealey

Page 3: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Agenda

(1) Introduction • (2) Review

(i) Types of Variables (ii) Principal Descriptives

(iii) Webstats(3) Descriptives in Webstats(4) Exercise in Webstats

Page 4: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Introduction

Page 5: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Please be sure to sign the attendance form.

Page 6: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research QuestionsReview of Types of Variables

Page 7: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research QuestionsReview of Principal Descriptives

Page 8: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions1. Measures of Central Tendency

Page 9: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions“Pick a number …”

Page 10: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions“… close counts.”

Page 11: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions1, 2, 3, 4, 5, 6, 7, 8, 9, 10

Page 12: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

n

where ‘n’ denotes the number of elements

S xi _______

n

Mean (x) =

(1+2+3+4+5+6+7+8+9+10)

10

Mean =

Mean = 5.5

i = 1

_

Page 13: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions1, 2, 3, 4, 5, 6, 7, 8, 9, 100

Page 14: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Median: After arranging the data from highest to

lowest, the median is the

value in the middle.

Page 15: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions“… close doesn’t count.”

Page 16: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions1, 2, 2, 3, 4, 5, 6, 7, 8, 9

Page 17: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Mode: The value that occurs with the highest

frequency (i.e. the value that appears most

often).

Page 18: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions2. Measures of Dispersion

Page 19: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions1, 2, 3, 4, 5

Page 20: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

n where ‘x’ denotes the Mean

S (xi – x)2 _________________

n – 1 (1-3)2+(2-3)2+(3-3)2+(4-3)2+(5-3)2

5 – 1

Mean =

Mean = 2.5

i = 1Variance (s2) =_

_

Page 21: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

where ‘s2’ denotes the Variance

Variance(s) =StandardDeviation

√ (s2)

√ 2.5Variance (s) =

1.58114Variance (s) ≈

Page 22: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research QuestionsDescriptive Statistics

Measures of Central Tendency Measures of Dispersion

Mean Median Mode Variance Standard

(m)     (s2) Deviation (s)

  Nominal     ü    

Data TypeOrdinal   ü ü    

Interval ü ü ü ü ü

  Ratio ü ü ü ü ü

When to use key descriptive statistics:

Page 23: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research QuestionsReview of Webstats

Page 24: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

• There are four basic steps to the • analysis of a variable in Webstats: • (1) Select a dataset. • (2) Run a ‘frequency’ to understand

how the variable is coded. • (3) Refine the variable. • (4) Perform the analysis.

Page 25: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

• In today’s tutorial we’ll use the 2006 • CES to consider three variables: • (1) A citizen’s province. • (2) Citizen’s preferences for or

against income redistribution. • (3) Citizen’s evaluations of the

competence of political leaders.

Page 26: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

I strongly recommend going to my site, downloading the ‘code’ file and following along:

http://individual.utoronto.ca/sealey

Page 27: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Step One: Select the dataset

• Go to the course website located at: http://groups.chass.utoronto.ca/pol242/ • Go to: Webstats > Start Webstats.• In section 1, select ‘CES 2006’.• In section 3, select ‘Syntax Method’.• Hit <PROCEED>.

Page 28: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Step Two: Run a Frequency

• Let’s begin with the ‘province’ variable. • To run a frequency, use this code:

fre VAR = province.• Given that this variable has no missing

values and does not require a recode, we can skip the third step (‘refine the variable’) and go to the fourth (‘perform the analysis’).

Page 29: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research QuestionsMoving on to the next variable …

Page 30: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

The question wording for ‘cps_f6’ in the 2006 iteration of the Canadian Elections Study:

Page 31: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Step Two: Run a Frequency

• Since we’ve already selected the dataset, we don’t need to repeat step one. • To run a frequency, use this code:

fre VAR = cps_f6.

Page 32: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Step Three: Refine the Variable

• Notice the ‘don’t know’ and ‘refused’ responses. These responses take on the values of ‘8’ and ‘9’ respectively. We’ll want to code them as missing, and then rerun the frequency: missing values cps_f6 (8,9). fre VAR = cps_f6.

Page 33: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research QuestionsAnd finally …

Page 34: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

The ‘cps_h2b0’ and ‘cps_h2d0’ variables in the 2006 iteration of the Canadian Elections Study asks about respondent’s perceptions of levels of political leaders’ competence. In today’s tutorial, we’ll focus on the two most successful political leaders in the 2011 election.

Page 35: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Smiling Jack

Page 36: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Smiling Stephen

Page 37: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Step Two: Run a Frequency

• Since we’ve already selected the dataset, we don’t need to repeat step one. • To run frequencies, use this code:

fre VAR = cps_h2b0. fre VAR = cps_h2d0.

Page 38: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Step Three: Refine the Variables

• Notice the ‘don’t knows’ are coded as ‘98’. To code them as missing, use this code: missing values cps_h2b0 (98). fre VAR = cps_h2b0.

missing values cps_h2d0 (98). fre VAR = cps_h2d0.

Page 39: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research QuestionsDescriptives in Webstats

Page 40: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Once we’ve refined our variables, the final step is to perform the analysis. To obtain descriptive statistics, we do this by simply adding some extra code at the end of our frequency command.

Page 41: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Step Four: Perform the Analysis

• Suppose we want to find the mode of the ‘province’ variable; in order to do this, we simply add ‘/statistics=mode’ at the end of our frequency command: fre VAR = province/statistics=mode.

Page 42: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

• If we want other descriptive statistics, simply include the appropriate code at the end of the frequency command.• For example, if we want to know the

median, mean, variance and standard devation, simply add ‘/statistics=median mean variance stddev’ at the end of our frequency command.

Page 43: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Use appropriate descriptives for each level of measurement. • For nominal variables, find the mode: fre VAR = province/statistics=mode.

• For ordinal variables, find the mode and median: missing values cps_f6 (8,9). fre VAR = cps_f6/statistics=mode median.

Page 44: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

• For interval/ratio variables, find the mode, median, mean, variance and standard deviation: missing values cps_h2b0 (98). fre VAR = cps_h2b0/statistics = mode median mean variance stddev.

Page 45: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

We can use the means and standard deviations of similar variables to compare them. • For example, if we want to compare

perceptions of Jack’s and Stephen’s competence, use this code: missing values cps_h2b0 (98). fre VAR = cps_h2b0/statistics = mean stddev.

missing values cps_h2d0 (98). fre VAR = cps_h2d0/statistics = mean stddev.

Page 46: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Once we’ve completed our analysis, we’ll be prepared to ‘tell the story’. In other words, what have we learned from our analysis? When doing this, use the information we’ve gathered from the frequency distribution as well as from the appropriate descriptive statistics.

Page 47: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research QuestionsExercise in Webstats

Page 48: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .

Research Questions

Exercise

Choose a public opinion dataset that you are interested in. Find a variable for each of the nominal, ordinal and (interval or ratio) levels of measurement. Run frequency distributions, refine the variables by declaring missing values and performing necessary recodes and calculate appropriate descriptive statistics for each of the identified variables. What’s the ‘story’ of your analysis? What have you learned?

Page 49: POL 242 Introduction to Research Methods Assignment One Tutorial Descriptive Statistics June 2, 2011 Anthony Sealey anthony.sealey@utoronto.ca .