270 likes | 474 Views
SPSS 2: Data analysis. By Wendiann Sethi Spring 2011. Course description:.
E N D
SPSS 2: Data analysis By Wendiann Sethi Spring 2011
Course description: • 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.
Course objectives • 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
Descriptive Statistics • Measures of central tendency • Measures of spread • Analyze> Descriptive Statistics What do you use for each type of variable and why?
Outliers • Look at the mean, median, st.dev and skewness to determine if there might be outliers • Could also use a box plot to see
Missing Data revisited Two potential problems with missing data: • Large amount of missing data – number of valid cases decreases – drops the statistical power • Nonrandom missing data – either related to respondent characteristics and/or to respondent attitudes – may create a bias
Missing Data Analysis • If no problem found, go directly to your analysis • If a problem is found: • Delete the cases with missing data • Try to estimate the value of the missing data
Amount of missing data by variable • 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.
Missing data by respondent • Use transform>count • Create NMISS in the target variable • Pick a set of variables that have more missing data • Click on define values • Click on system- or user-missing • Click add • Click continue and then ok • Use the frequency table to show you the results of NMISS
Missing data patterns • 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
What to do about the missing data? • Proceed anyway • Estimate (impute) the missing data with substituting the mean or median value
Manipulating data • Recoding • Calculating • When to create a new variable versus creating a new one.
Choosing the right statistic • What do you want to explore? • What do you need in your data to do that exploration?
Crosstabulation • 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
Correlation and regression • Finding the relationship between two scale or ordinal variables. • Analyze > Correlate > bivariate • Analyze > regression > linear
Correlation • 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
Regression • 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
Comparing means • 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)
T-test for independent groups • 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
Paired Samples T-test • 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
One-way Analysis of Variance • 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
Multiple responses • 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
Thank you Wendiann Sethi Wendiann.sethi@shu.edu AS 202C or SC 128