T-TEST
One-sample, independent-samples and paired-samples t tests with effect sizes.
Syntax
Section titled “Syntax”T-TEST TESTVAL=x /VARIABLES=varlist.T-TEST GROUPS=g(v1 v2)|g(cut) /VARIABLES=varlist.T-TEST PAIRS=a [WITH b [(PAIRED)]].[/CRITERIA=CI(.95)] [/MISSING=ANALYSIS|LISTWISE] [/ES DISPLAY(TRUE|FALSE)].Synopsis
Section titled “Synopsis”| Kind | Procedure (reads data, produces output) |
| Body | main /SUBCOMMAND[=] … |
| Changes data | no |
| Subcommands | /CRITERIA, /ES, /GROUPS, /MISSING, /PAIRS, /SUMMARY, /TESTVAL, /VARIABLES |
| Menu | Analyze ▸ Compare Means |
| Slot: Test Variable(s) | 1+ variable(s); levels: scale, ordinal; types: numeric |
| Slot: Grouping Variable | 0–1 variable(s); levels: nominal, ordinal, scale; types: numeric, string |
Examples
Section titled “Examples”T-TEST GROUPS=gender(1 2) /VARIABLES=income.T-TEST PAIRS=before WITH after (PAIRED).T-TEST TESTVAL=50 /VARIABLES=score.- The independent-samples test reports Levene’s test (mean-centred) and both equal-variance and Welch rows.
- Effect sizes: Cohen’s d and Hedges’ g with exact noncentral-t intervals, and Glass’s delta.
Related
Section titled “Related”ONEWAY, NPAR TESTS, PROPORTIONS
Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.