Example (BAYES ONESAMPLE: Binomial command)

BAYES ONESAMPLE
     /MISSING SCOPE = ANALYSIS
     /CRITERIA CILEVEL = 95
     /INFERENCE DISTRIBUTION = BINOMIAL VARIABLES = gender ANALYSIS = BAYESFACTOR
     /DATA VARIABLES = gender SUCCESS = LEVEL(f) ALTERPRIORPARAM = 5 5 .
  • MISSING specifies how missing values are handled. The example specifies ANALYSIS as the missing values SCOPE. The example excludes records with missing values on a test-by-test basis. Records with missing values for a field, that is used for a specific test, are omitted from the test.
  • CRITERIA specifies that the significance level for computing credible intervals (CILEVEL) is set to the default value of 95.
  • INFERENCE specifies the distribution and variables for the analysis. The example uses a binomial distribution, the gender variable, and Estimate Bayes Factor (BAYESFACTOR) as the ANALYSIS method.
  • DATA specifies data variance and set parameters for the estimation of Bayes factors. The example uses the gender variable.