by wendiann sethi spring 2011 - shu.eduuse analyze>descriptive statistics>crosstabs look to...

23
By Wendiann Sethi Spring 2011

Upload: others

Post on 18-Apr-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

By Wendiann SethiSpring 2011

Page 2: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

The second stages of using SPSS is data analysis. We will review descriptive statistics and then move onto other methods of data exploration using crosstabulations, inferences on the mean, regression and ANOVA. Students are encouraged to bring data that they are analyzing in class or projects to discuss what methods would be best to use.

Page 3: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Descriptive statistics Identifying outliers Missing data – by variable, by respondent Manipulating data –◦ reversing the scale◦ Collapsing a continuous variable into groups

Choosing the right statistic Data Analysis:◦ Cross tabulations◦ Correlations and regression◦ Tests about mean and proportions◦ ANOVA

Multiple Responses

Page 4: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Measures of central tendency Measures of spread

Analyze> Descriptive Statistics

What do you use for each type of variable and why?

Page 5: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Look at the mean, median, st.dev and skewness to determine if there might be outliers

Could also use a box plot to see

Page 6: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Two potential problems with missing data:1. Large amount of missing data – number of

valid cases decreases – drops the statistical power

2. Nonrandom missing data – either related to respondent characteristics and/or to respondent attitudes – may create a bias

Page 7: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Examine missing data

By variable By respondent By analysis

If no problem found, go directly to your analysisIf a problem is found:

Delete the cases with missing dataTry to estimate the value of the missing data

Page 8: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Use Analyze > Descriptive Statistics > Frequencies

Look at the frequency tables to see how much missing

If the amount is more than 5%, there is too much. Need analyze further.

Page 9: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

1. Use transform>count2. Create NMISS in the target variable3. Pick a set of variables that have more

missing data4. Click on define values5. Click on system- or user-missing6. Click add7. Click continue and then ok8. Use the frequency table to show you the

results of NMISS

Page 10: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Use Analyze>descriptive statistics>crosstabs

Look to see if there is a correlation between NMISS (row) and another variable (column)

Use column percents to view the % of missing for the value of the variable

Page 11: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Proceed anyway Estimate (impute) the missing data with

substituting the mean or median value

Page 12: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Recoding Calculating When to create a new variable versus creating

a new one.

Page 13: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

What do you want to explore?

What do you need in your data to do that exploration?

Page 14: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Analyze>Descriptive Statistics>Crosstab

Good for categorical data to see the relationship between two or more variables

Statistics: correlation, Chi Square, association Cells: Percentages – row or column

Cluster bar charts

Page 15: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Finding the relationship between two scale or ordinal variables.

Analyze > Correlate > bivariate

Analyze > regression > linear

Page 16: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Aim: find out whether a relationship exists and determining its magnitude and direction

Two correlation coefficients:◦ Pearson product moment correlation coefficient –r-

interval or ratio scale variables◦ Spearman rank order correlation coefficient –rho-

ordered or ranked data Assumptions:◦ Related pairs of scores◦ Relationship of the variables is linear◦ Variables are measured at least at the ordinal level◦ Homoscedasticity – variability of y variable should

remain constant at all values of x variable

Page 17: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Aim: Use after finding there is a correlation to find an appropriate Linear model to predict the results of the DV based on one or more IV’s

Assumptions:◦ Related pairs of scores◦ Relationship of the variables is linear◦ Variables are measured at least at the ordinal level◦ Homoscedasticity – variability of y variable should remain

constant at all values of x variable Procedure: Linear Regression◦ One IV to one DV◦ ANALYZE>REGRESSION>LINEAR◦ After placing the appropriate DV and IV, click STATISTICS◦ Click CONTINUE and then OK to run the analysis

Page 18: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Comparing the means of a scale (or ordinal) when grouped by a category

Analyze > Compare means◦ Means – simplest form DV – scale to be compared given the

IV – categories◦ One-sample t-test : test the mean of the variable against a

set value.◦ Independent samples t-test: looking at the difference of

two means of the variable given a grouping variable (two-groups only)

◦ Paired-samples t-test: looking at the difference of the means when there is paired data (pre-test vs post-test)

◦ One-way ANOVA: comparing the means of dependent variables (scale or ordinal) given a factor (one IV-category)

Page 19: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Aim: Testing the differences between the means of two independent samples or groups

Requirements:◦ Only one independent (grouping) variable IV (ex. Gender)◦ Only two levels for that IV (ex. Male or Female)◦ Only one dependent variable (DV)

Assumptions:◦ Sampling distribution of the difference between the means is normally

distributed◦ Homogeneity of variances – Tested by Levene’s Test for Equality of

Variances Procedure:◦ ANALYZE>COMPARE MEANS>INDEPENDENT SAMPLES T-TEST◦ Test variable – DV◦ Grouping variable – IV◦ DEFINE GROUPS (need to remember your coding of the IV)◦ Can also divide a range by using a cut point

Page 20: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Aim:used in repeated measures or correlated groups designs, each subject is tested twice on the same variable, also matched pairs

Requirements:◦ Looking at two sets of data – (ex. pre-test vs. post-test)◦ Two sets of data must be obtained from the same subjects

or from two matched groups of subjects Assumptions:◦ Sampling distribution of the means is normally distributed◦ Sampling distribution of the difference scores should be

normally distributed Procedure:◦ ANALYZE>COMPARE MEANS>PAIRED SAMPLES T-TEST

Page 21: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Aim: looks at the means from several independent groups, extension of the independent sample t-test

Requirements:◦ Only one IV◦ More than two levels for that IV◦ Only one DV

Assumptions:◦ The populations that the sample are drawn are normally

distributed◦ Homogeneity of variances◦ Observations are all independent of one another

Procedure:ANALYZE>COMPARE MEANS>One-Way ANOVA Dependent List – DV Factor – IV

Page 22: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

How to deal with questions were the participant can choose several choices.

ANALYZE>MULTIPLE RESPONSE◦ Define sets◦ Frequencies◦ Crosstabs

Example data: survey_sample.sav◦ Eth1, 2, 3 – multiple response method◦ News 1, 2, 3 – multiple dichotomy method

Page 23: By Wendiann Sethi Spring 2011 - shu.eduUse Analyze>descriptive statistics>crosstabs Look to see if there is a correlation between NMISS (row) and another variable (column) Use column

Wendiann [email protected]

AS 202C or SC 128