PROPORTIONS

PROPORTIONS is available in Statistics Base Edition.

PROPORTIONS computes tests and confidence intervals for binomial proportions or differences of proportions. Statistics are available for one-sample proportions (tested against a specified value), paired samples (different variables), or independent samples (different groups of cases).

One-sample tests and confidence intervals

PROPORTIONS
   [/ONESAMPLE varlist
      [TESTVAL={0.5**} 
               {value}] 
      [TESTTYPES={EXACT} {MIDP**} {SCORE**} {SCORECC}{WALD} {WALDCC} {NONE}]
      [CITYPES={AGRESTI_COULL**} {ANSCOMBE} {CLOPPER_PEARSON} {JEFFREYS**}
               {LOGIT}{WALD} {WALDCC} {WILSON_SCORE**} {WILSON_SCORECC}{NONE}]]
   [/SUCCESSVALUE={LAST**         } 
                  {FIRST          }
                  {LEVEL(values)  } 
                  {MIDPOINT       } 
                  {CUTPOINT(value)}]
   [/MISSING
      [SCOPE={ANALYSIS**} {LISTWISE}]
      [USERMISSING={EXCLUDE**} {INCLUDE}]
   [/CRITERIA
      [CILEVEL={95** } 
               {value}]]

**Default if subcommand or keyword is omitted.

Paired-samples tests and confidence intervals for differences in proportions

PROPORTIONS
   [/PAIREDSAMPLES varlist [WITH varlist[(PAIRED)] 
      [TESTTYPES={EXACT} {MIDP**} {MCNEMAR**} {MCNEMARCC} {WALD} {WALDCC}{NONE}]
      [CITYPES={AGRESTI_MIN} {BONETT_PRICE**} {NEWCOMBE**} {WALD} {WALDCC}{NONE]]
   [/SUCCESSVALUE={LAST**         } 
                  {FIRST          }
                  {LEVEL(values)  } 
                  {MIDPOINT       } 
                  {CUTPOINT(value)}]
   [/MISSING
      [SCOPE={ANALYSIS**} {LISTWISE}]
      [USERMISSING={EXCLUDE**} {INCLUDE}]
   [/CRITERIA
      [CILEVEL={95** } 
               {value}]]

**Default if subcommand or keyword is omitted.

Independent-samples tests and confidence intervals for differences in proportions

PROPORTIONS
   [/INDEPENDENTSAMPLES varlist BY varname
      [SELECT={LEVEL(1,2**                  })
              {value1/string1 value2/string2}
              {MIDPOINT}
              {CUTPOINT(value)}]
      [TESTTYPES={HAUCK_ANDERSON} {WALD} {WALDCC} {WALDH0**} {WALDH0CC} {NONE}]
      [CITYPES={AGRESTI_CAFFO**} {BROWN_LI_JEFFREYS} {HAUCK_ANDERSON}{NEWCOMBE**}
               {NEWCOMBECC} {WALD}{WALDCC}{NONE}]]
   [/SUCCESSVALUE={LAST**         } 
                  {FIRST          }
                  {LEVEL(values)  } 
                  {MIDPOINT       } 
                  {CUTPOINT(value)}]
   [/MISSING
      [SCOPE={ANALYSIS**} {LISTWISE}]
      [USERMISSING={EXCLUDE**} {INCLUDE}]
   [/CRITERIA
      [CILEVEL={95** } 
               {value}]]

**Default if subcommand or keyword is omitted.

Example

PROPORTIONS 
   /ONESAMPLE measure1 measure2 measure3
   /TESTSTYPES=EXACT 
   /CITYPES=CLOPPER_PEARSON.

Release history

Release 27.0.1
  • Command introduced.

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the PROPORTIONS command can be generated from the One-Sample Proportions, Paired-Samples Proportions, and Independent-Samples Proportions dialogs.