You are on page 1of 4

This document contains the text from the file “VG Practice Syntax 1.SPS”.

If you are using a


student version of SPSS you will not be able to open .SPS files, however you can see the text
from this file below.

FREQUENCIES
VARIABLES=gre_q1 gre_v1 gre_tot1
/STATISTICS=STDDEV VARIANCE MINIMUM MAXIMUM MEAN MEDIAN MODE
/HISTOGRAM NORMAL
/ORDER= ANALYSIS .

FREQUENCIES
VARIABLES=gre_tot1 gre_tot2 gre_tot3
/NTILES= 4
/STATISTICS=STDDEV VARIANCE MINIMUM MAXIMUM MEAN MEDIAN MODE
/HISTOGRAM NORMAL
/ORDER= ANALYSIS .

SUMMARIZE
/TABLES=gre_tot1 gre_tot2 gre_tot3 BY program BY sex
/FORMAT=NOLIST TOTAL
/TITLE='Case Summaries'
/MISSING=VARIABLE
/CELLS=COUNT MEAN STDDEV .

OLAP CUBES
gre_tot1 gre_tot2 gre_tot3 BY program BY sex
/CELLS=COUNT MEAN STDDEV
/TITLE='OLAP Cubes'.

EXAMINE
VARIABLES=gre_tot1 gre_tot2 gre_tot3 BY program sex
/PLOT BOXPLOT STEMLEAF HISTOGRAM
/COMPARE GROUP
/STATISTICS NONE
/CINTERVAL 95
/MISSING LISTWISE
/NOTOTAL.

T-TEST
/TESTVAL=1000
/MISSING=ANALYSIS
/VARIABLES=gre_tot1
/CRITERIA=CIN (.95) .

T-TEST
/TESTVAL=900
/MISSING=ANALYSIS
/VARIABLES=gre_tot1 gre_tot2 gre_tot3
/CRITERIA=CIN (.95) .

T-TEST
GROUPS=sex(1 2)
/MISSING=ANALYSIS
/VARIABLES=gre_tot1
/CRITERIA=CIN(.95) .

T-TEST
GROUPS=sex(1 2)
/MISSING=ANALYSIS
/VARIABLES=gre_tot1 gre_tot2 gre_tot3
/CRITERIA=CIN(.95) .

T-TEST
PAIRS= gre_tot1 WITH gre_tot2 (PAIRED)
/CRITERIA=CIN(.95)
/MISSING=ANALYSIS.

T-TEST
PAIRS= gre_tot1 gre_tot2 WITH gre_tot2 gre_tot3 (PAIRED)
/CRITERIA=CIN(.95)
/MISSING=ANALYSIS.

ONEWAY
gre_tot1 BY major
/STATISTICS DESCRIPTIVES HOMOGENEITY
/PLOT MEANS
/MISSING ANALYSIS
/POSTHOC = TUKEY ALPHA(.05).

ONEWAY
gre_tot1 BY major
/STATISTICS DESCRIPTIVES HOMOGENEITY
/PLOT MEANS
/MISSING ANALYSIS.

UNIANOVA
gre_tot1 BY major
/METHOD = SSTYPE(3)
/INTERCEPT = INCLUDE
/POSTHOC = major ( TUKEY )
/PLOT = PROFILE( major )
/PRINT = DESCRIPTIVE ETASQ OPOWER HOMOGENEITY
/CRITERIA = ALPHA(.05)
/DESIGN = major .

UNIANOVA
gre_tot1 BY sex major
/METHOD = SSTYPE(3)
/INTERCEPT = INCLUDE
/POSTHOC = major ( TUKEY )
/PLOT = PROFILE( major*sex )
/PRINT = DESCRIPTIVE ETASQ OPOWER HOMOGENEITY
/CRITERIA = ALPHA(.05)
/DESIGN = sex major sex*major .

GLM
gre_tot1 gre_tot2 gre_tot3
/WSFACTOR = time 3 Polynomial
/METHOD = SSTYPE(3)
/PLOT = PROFILE( time )
/EMMEANS = TABLES(time) COMPARE ADJ(LSD)
/PRINT = DESCRIPTIVE ETASQ OPOWER
/CRITERIA = ALPHA(.05)
/WSDESIGN = time .

GLM
gre_q1 gre_q2 gre_q3
/WSFACTOR = time 3 Polynomial
/METHOD = SSTYPE(3)
/PLOT = PROFILE( time )
/EMMEANS = TABLES(time) COMPARE ADJ(LSD)
/PRINT = DESCRIPTIVE ETASQ OPOWER
/CRITERIA = ALPHA(.05)
/WSDESIGN = time .

CORRELATIONS
/VARIABLES=gre_tot1 gre_tot2 gre_tot3
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE .

CORRELATIONS
/VARIABLES=gre_tot1 with gre_tot2 gre_tot3
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE .

* Curve Estimation.
TSET NEWVAR=NONE .
CURVEFIT /VARIABLES=gre_tot2 WITH gre_tot1
/CONSTANT
/MODEL=LINEAR
/PRINT ANOVA
/PLOT FIT.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT gre_tot2
/METHOD=ENTER gre_tot1
/CASEWISE PLOT(ZRESID) OUTLIERS(2) .

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT gre_tot3
/METHOD=ENTER sex /METHOD=ENTER gre_tot1 gre_tot2
/PARTIALPLOT ALL
/SCATTERPLOT=(*ZRESID ,*ZPRED )
/CASEWISE PLOT(ZRESID) OUTLIERS(2)
/SAVE COOK SDBETA .

CROSSTABS
/TABLES=sex BY program
/FORMAT= AVALUE TABLES
/STATISTIC=CHISQ
/CELLS= COUNT EXPECTED ROW COLUMN TOTAL
/COUNT ROUND CELL
/BARCHART .

NPAR TEST
/CHISQUARE=major
/EXPECTED=66.7 66.7 66.7
/MISSING ANALYSIS.