T-TEST
T-TEST is available in the Statistics Base option.
T-TEST compares sample means by calculating Student’s t and displays the two-tailed probability of the difference between the means. Statistics are available for one-sample (tested against a specified value), independent samples (different groups of cases), or paired samples (different variables).
One-sample tests:
T-TEST TESTVAL n /VARIABLE=varlist
Independent-samples tests:
T-TEST GROUPS=varname ({1,2** }) /VARIABLES=varlist
{value }
{value,value}
Paired-samples tests:
T-TEST PAIRS=varlist [WITH varlist [(PAIRED)]] [/varlist ...]
All types of tests:
[/MISSING={ANALYSIS**} [INCLUDE]]
{LISTWISE }
[/CRITERIA=CI({0.95**})
{value }
**Default if the subcommand is omitted.
This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.
Syntax for the T-TEST command can be generated from the One-Sample T Test , Independent-Samples T Test , or Paired-Samples T Test dialog boxes.
Examples
T-TEST GROUPS=WORLD(1,3) /VARIABLES=NTCPRI NTCSAL NTCPUR.
T-TEST PAIRS=TEACHER CONSTRUC MANAGER.