1 * Encoding: UTF-8.
2 * A simple example to introduce .sps files .
3
4 get file="../Data/Cars.sav".
5 * Can also be downloaded from https://www.ssc.wisc.edu/~hemken/SPSSworkshop
s/Data .
28 Jun 16
6 GRAPH /SCATTERPLOT(BIVAR)=weight WITH mpg.
7
/home/h/hemken/PUBLIC_web/SPSSworkshops/Data/Cars.sav
8 descriptives variables=weight mpg.
9
/home/h/hemken/PUBLIC_web/SPSSworkshops/Data/Cars.sav
Descriptive Statistics
|
N |
Minimum |
Maximum |
Mean |
Std. Deviation |
Vehicle Weight (lbs.) |
406 |
732 |
5140 |
2969.56 |
849.827 |
Miles per Gallon |
398 |
9 |
47 |
23.51 |
7.816 |
Valid N (listwise) |
398 |
|
|
|
|
10 CORRELATIONS
11 /VARIABLES=mpg weight.
12
/home/h/hemken/PUBLIC_web/SPSSworkshops/Data/Cars.sav
Correlations
|
Miles per Gallon |
Vehicle Weight (lbs.) |
Miles per Gallon |
Pearson Correlation |
1 |
-.807 |
Sig. (2-tailed) |
|
.000 |
N |
398 |
398 |
Vehicle Weight (lbs.) |
Pearson Correlation |
-.807 |
1 |
Sig. (2-tailed) |
.000 |
|
N |
398 |
406 |
13 show version.
14
/home/h/hemken/PUBLIC_web/SPSSworkshops/Data/Cars.sav
Version
Component |
Version |
Date |
STATISTICSB |
19.00.00 |
20-DEC-2010 |
libspsswctl.so |
19.00.00 |
20-DEC-2010 |
libspsswlib.so |
19.00.00 |
20-DEC-2010 |
libspsswpea.so |
19.00.00 |
20-DEC-2010 |
libspsswcde.so |
19.00.00 |
20-DEC-2010 |
libspsswgra.so |
19.00.00 |
20-DEC-2010 |
libspsswfil.so |
19.00.00 |
20-DEC-2010 |
15
14 command lines read.
0 errors detected.
0 warnings issued.
2 seconds CPU time.
3 seconds elapsed time.
End of job.