Data View
Variable View
Indicate missing values
SPSS Syntax
File -> New -> Syntax
Statements end with a period (.)
variable not case-sensitive.
Generating Random Numbers
Transform -> Compute Variable...
Enter new variable or choose existing variable, then in "Function group" choose "Random Numbers"
Select the distribution you want
COMPUTE X=RV.NORMAL(?,?).
EXECUTE.
Histogram
Graphs -> Legacy Dialogs -> Histogram
GRAPH
/HISTOGRAM=X.
Hypothesis Tests
one-proportion z test: Analyze -> Compare Means -> One Sample T Test
T-TEST
/TESTVAL= ?
/VARIABLES = ?
/Criteria = CI(?)
one-sample t test: Analyze -> Compare Means -> One Sample T Test
T-TEST
/TESTVAL= ?
/VARIABLES = ?
/Criteria = CI(?)