27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

T-TEST<br />

Overview<br />

Options<br />

One-sample tests:<br />

T-TEST TESTVAL n /VARIABLE=varlist<br />

Independent-samples tests:<br />

T-TEST GROUPS=varname ({1,2** }) /VARIABLES=varlist<br />

{value }<br />

{value,value}<br />

Paired-samples tests:<br />

T-TEST PAIRS=varlist [WITH varlist [(PAIRED)]] [/varlist ...]<br />

All types of tests:<br />

[/MISSING={ANALYSIS**} [INCLUDE]]<br />

{LISTWISE }<br />

[/CRITERIA=CI({0.95**})<br />

{value }<br />

**Default if the subcommand is omitted.<br />

Examples<br />

T-TEST GROUPS=WORLD(1,3) /VARIABLES=NTCPRI NTCSAL NTCPUR.<br />

T-TEST PAIRS=TEACHER CONSTRUC MANAGER.<br />

T-TEST compares sample means by calculating Student’s t and displays the two-tailed<br />

probability of the difference between the means. Statistics are available for one-sample<br />

(tested against a specified value), independent samples (different groups of cases), or<br />

paired samples (different variables). Other procedures that compare group means are<br />

ANOVA, ONEWAY, UNIANOVA, GLM, and MANOVA (GLM and MANOVA are available in the<br />

SPSS Advanced Models option).<br />

Statistics. There are no optional statistics. All statistics available are displayed by default.<br />

Basic Specification<br />

The basic specification depends on whether you want a one-sample test, an independentsamples<br />

test or a paired-samples test. For all types of tests, T-TEST displays Student’s t,<br />

1581

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!