office for faculty excellence - piratepanelcore.ecu.edu/ofe/statisticsresearch/spss 2 9 15...
TRANSCRIPT
![Page 1: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/1.jpg)
By Hui Bian
Office for Faculty Excellence
1
![Page 2: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/2.jpg)
• My office is located in 1001 Joyner library, room 1006
• Email: [email protected]
• Tel: 252-328-5428
• You can download sample data files from: http://core.ecu.edu/ofe/StatisticsResearch/
2
![Page 3: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/3.jpg)
• Exercise: recode variables Q33, Q43, and Q49
–Recode 1 = 0 days/times into 0 = non-use
–Recode >= 2 (other categories) into 1 = use
3
![Page 4: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/4.jpg)
• The coding for the new recoded variables
![Page 5: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/5.jpg)
• Go to Transform > Recode into Different Variables
![Page 6: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/6.jpg)
• Click Old and New Values button to get
![Page 7: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/7.jpg)
• Exercise: compute a new variable named Drug_N to assess total number of drugs that adolescents used during the last 30 days.
–Only three drugs are assessed: Q33r, Q43r, and Q49r
–The total number of drugs should be between 0 and 3.
![Page 8: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/8.jpg)
• Go to Transform > Compute Variable
–Target Variable: type Drug_N
–Numeric Expression: SUM(Q33r,Q43r,Q49r)
• Function group: Statistical
• Functions and Special Variables: Sum
–If button: check Include all cases
![Page 9: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/9.jpg)
![Page 10: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/10.jpg)
• Recode variables: convert a string variable into a numeric variable
– Example: Q2 (Gender From CSV data file) is a string variable. Convert this variable into a numeric variable Q2r with two categories: Female = 1 and Male = 2.
–Go to Transform > Recode into Different Variables
10
![Page 11: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/11.jpg)
11
![Page 12: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/12.jpg)
• Click Old and New Values button
12
![Page 13: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/13.jpg)
• Sort cases by variables: Data > Sort Cases
• You can use Sort Cases to find missing.
13
![Page 14: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/14.jpg)
![Page 15: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/15.jpg)
• Select cases –Example. Select Females for analysis.
–Go to Data > Select Cases
–Under Select: Check If condition is satisfied
–Click If button
– In the blank window type Q2 = 1
–Click Continue, click OK
15
![Page 16: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/16.jpg)
![Page 17: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/17.jpg)
You should see a new variable: filter_$ (Variable view), deleting this variable means deleting the selection.
17
![Page 18: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/18.jpg)
18
Slashes mean Unselected cases. They are excluded from the data analysis.
![Page 19: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/19.jpg)
• Select cases –Exercise. Select cases who used any of
cigarettes, alcohol, and marijuana during the last 30 days.
–Go to Data > Select Cases –Check “If condition satisfied” –Click If button –Type Q33 > 1 | Q43 > 1 | Q49 > 1, click
Continue, click OK.
19
![Page 20: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/20.jpg)
![Page 21: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/21.jpg)
![Page 22: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/22.jpg)
• If we run Frequency of Drug_use, we should only get the frequency of drug users
![Page 23: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/23.jpg)
• For example, we have both baseline and posttest data files and want to merge them into one file.
• Before merge files, we need to sort cases by matching variable first. In this example, code is the matching variable.
23
![Page 24: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/24.jpg)
• Use baseline data file as active dataset.
• Open both baseline and posttest data files (or just open baseline data file).
• Go to Data > Merge Files: two choices: Add cases and Add variables.
• For this example, we choose Add variables (we want to add posttest variables into the file).
![Page 25: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/25.jpg)
25
![Page 26: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/26.jpg)
26
![Page 27: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/27.jpg)
• Convert Multivariate to Univariate Format
–Multivariate structure: that is all values for each subject appear in one row under column’s names defined as the same for all subjects.
27
![Page 28: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/28.jpg)
• Use data: restructure data_multivariate.sav
– Each subject has seven time-point data (depression: pre, dep1-dep6)
28
![Page 29: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/29.jpg)
• Go to Data > Restructure
29
![Page 30: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/30.jpg)
• We only have one variable (depression variable) that needs to be transposed.
30
![Page 31: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/31.jpg)
31
![Page 32: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/32.jpg)
32
![Page 33: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/33.jpg)
33
![Page 34: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/34.jpg)
34
![Page 35: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/35.jpg)
35
![Page 36: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/36.jpg)
• Data screening
–Understand your variables
–Do the variables meet the statistical assumptions when use parametric tests?
–Check outliers
![Page 37: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/37.jpg)
• Distribution diagnosis: Graphs
–Histograms
–Stem-and-Leaf Plots
–Box Plots
–Normal Q-Q Plots
![Page 38: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/38.jpg)
• Three SPSS functions used for data screening
–Frequencies
–Descriptives
–Explore
![Page 39: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/39.jpg)
• Go to Analyze > Descriptive Statistics, you should see:
–Frequencies
–Descriptives
–Explore
![Page 40: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/40.jpg)
• Example: run Frequencies of Q49 (How many times use marijuana 30 days)
![Page 41: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/41.jpg)
• Central tendency
–A measure that is most representative of all scores in a distribution.
–Mean, median, mode
• Dispersion(variability):
–A measure of the spread of scores in a distribution.
–Variance, standard deviation, range
![Page 42: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/42.jpg)
• Percentile Values
–SPSS reports 25th, 50th, and 75th percentile values.
–You also can tell SPSS to get any percentile values
![Page 43: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/43.jpg)
• Distribution
• Skewness and kurtosis are statistics that characterize the shape and symmetry of the distribution.
• The normal distribution is symmetric and has skewness and kurtosis values of zero.
![Page 44: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/44.jpg)
• Skewness: is a measure of symmetry
–Positive skewness: a long right tail.
–Negative skewness: a long left tail.
![Page 45: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/45.jpg)
• Kurtosis: a measure of the extent to which observations cluster around a central point. – Leptokurtic data values are more peaked (positive
kurtosis) than normal distribution.
– Platykurtic data values are flatter and more dispersed along the X axis (negative kurtosis) than normal distribution.
![Page 46: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/46.jpg)
• Click Charts to get a histograms
![Page 47: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/47.jpg)
• SPSS output of Frequency analysis
Note: Standard error is an estimate of the standard deviation of a statistic. Range is the difference between the highest value and the lowest value.
![Page 48: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/48.jpg)
• SPSS output of Frequency analysis
![Page 49: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/49.jpg)
• SPSS output of Frequency analysis
![Page 50: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/50.jpg)
• Descriptives function
– Example: Run Descriptives of Q49
![Page 51: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/51.jpg)
• SPSS output of Descriptives analysis
![Page 52: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/52.jpg)
• Second example: Out of three drugs (Q33, Q43, and Q49), we want to know which drug was used most frequently among high school students.
• We use Descriptives function to sort variables by Mean or by Sum.
![Page 53: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/53.jpg)
• Go to Analyze > Descriptive Statistics > Descriptives > Click Options
Under Display Order, check Descending means
![Page 54: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/54.jpg)
• SPSS output
![Page 55: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/55.jpg)
• Syntax for sort by Sum
–DESCRIPTIVES VARIABLES=Q33 Q43 Q49
/STATISTICS=SUM MEAN STDDEV /SORT=SUM (D).
![Page 56: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/56.jpg)
• Explore function
–Example: run Explore for Q6 and Q49
![Page 57: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/57.jpg)
• Explore function: click Statistics and Plots to get:
![Page 58: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/58.jpg)
• SPSS output: descriptives, similar to the results from Frequencies and Descriptives
![Page 59: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/59.jpg)
• SPSS output: histograms
![Page 60: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/60.jpg)
• SPSS output: stem-and- leaf graph of Q6
![Page 61: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/61.jpg)
• SPSS output: rotated stem and leaf graph
![Page 62: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/62.jpg)
• SPSS output: normal Q-Q plots
![Page 63: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/63.jpg)
• Box plots
Meyers, Gamst, & Guarino (2006)
![Page 64: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/64.jpg)
• SPSS output: box plots
![Page 65: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/65.jpg)
• Explore Q6 by sex (Q2)
![Page 66: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/66.jpg)
• SPSS output
![Page 67: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/67.jpg)
• Histograms
![Page 68: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/68.jpg)
• Stem-and-leaf plots
![Page 69: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/69.jpg)
• Normal Q-Q plots
![Page 70: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/70.jpg)
• Box plots
![Page 71: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/71.jpg)
• Test means: t tests and Analysis of variance
– T tests
• one sample t test
• Independent-samples t test
• Paired-samples t test
– Analysis of variance (ANOVA)
• One-way/two-way between subject design
• One-way/two-way within subject design
• Mixed design
![Page 72: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/72.jpg)
• Go to Analyze > Compare Means
![Page 73: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/73.jpg)
• Student’s T test – The method assumes that the results follow the
normal distribution (also called student's t-distribution) if the null hypothesis is true.
– The paired t-test is used when you have a paired design.
– The independent t-test is used when you have an independent design.
![Page 74: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/74.jpg)
• Independent-samples t test – Example: we want to know if there is a
difference between sex groups (Q2) in height (Q6).
–Go to Analyze > Compare Means > Independent-Samples T Test
![Page 75: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/75.jpg)
• Test variable: Q6 (dependent variable)
• Grouping variable: Q2 (two groups: female and male)
• Coding of Q2: 1= Female and 2= Male
![Page 76: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/76.jpg)
Click Define Groups, type 1 for Group 1 and 2 for Group 2 based upon the coding of Q2
![Page 77: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/77.jpg)
• SPSS output
![Page 78: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/78.jpg)
• Mean height of females = 1.62, SD = .07
• Mean height of males = 1.76, SD = .09
• t = -94.28, df = 12470.68, p = .00
• Conclusion: there is significant difference between female and male groups in height.
![Page 79: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/79.jpg)
• Analysis of Variance (ANOVA) –Used to compare means of two or more
than two groups
–One-way ANOVA (between subjects): there is only one factor variable
– Example: we want to know if there is difference in height (Q6) among four grade groups (Q3)
![Page 80: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/80.jpg)
• Original coding of Q3
![Page 81: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/81.jpg)
• We need to recode Q3 in order to get rid of the last category.
–Then the new variable has four categories
–Go to Transform > Recode into a different variable
![Page 82: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/82.jpg)
• Recoding Q3 into Q3r
![Page 83: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/83.jpg)
• Go to Analyze > General Linear Model > Univariate
![Page 84: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/84.jpg)
• SPSS output
![Page 85: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/85.jpg)
• SPSS output
F(3, 12545) = 60.83, p = .00. There was a difference in height among four grade levels.
![Page 86: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/86.jpg)
• Post Hoc tests
–We have already obtained a significant omnibus F-test with a factor of four levels.
–We need to know which means are significantly different.
![Page 87: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/87.jpg)
• Click Post Hoc button
![Page 88: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/88.jpg)
• Results of Post Hoc tests
![Page 89: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/89.jpg)
Meyers, L. S., Gamst, G., & Guarino, A. J. (2006). Applied multivariate research: design and interpretation. Thousand Oaks, CA: Sage Publications, Inc.
![Page 90: Office for Faculty Excellence - PiratePanelcore.ecu.edu/ofe/StatisticsResearch/SPSS 2 9 15 14.pdf · •Kurtosis: a measure of the extent to which observations cluster around a central](https://reader033.vdocuments.site/reader033/viewer/2022041711/5e483a7ed7001478e66a51d7/html5/thumbnails/90.jpg)
90