PROPORTIONS
Tests and confidence intervals for one proportion, two independent proportions, or paired proportions.
Syntax
Section titled “Syntax”PROPORTIONS ONESAMPLE varlist [/TESTVAL=0.5] [/SUCCESS=LAST|FIRST|value] [/CRITERIA=CI(.95)].PROPORTIONS INDEPENDENT varlist BY g(v1 v2) [/SUCCESS=…].PROPORTIONS PAIRED a [b …] WITH c [d …] [/SUCCESS=…].Synopsis
Section titled “Synopsis”| Kind | Procedure (reads data, produces output) |
| Body | main /SUBCOMMAND[=] … |
| Changes data | no |
| Subcommands | /CRITERIA, /MISSING, /SUCCESS, /TESTVAL |
| Menu | Analyze ▸ Compare Means |
| Slot: Test Variable(s) | 1+ variable(s); levels: nominal, ordinal, scale; types: numeric, string |
Examples
Section titled “Examples”PROPORTIONS ONESAMPLE vote /TESTVAL=0.5.PROPORTIONS INDEPENDENT churn BY gender(1 2).- Intervals: Wald, Wilson score and Clopper-Pearson (one sample); Wald and Newcombe (independent); McNemar test for paired proportions.
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.