Example (BAYES INDEPENDENT command)

BAYES INDEPENDENT
     /MISSING SCOPE = ANALYSIS
     /CRITERIA CILEVEL = 95
     /INFERENCE DISTRIBUTION = NORMAL VARIABLES = salary ANALYSIS = POSTERIOR
          GROUP = gender SELECT = LEVEL(f m)
     /PRIOR EQUALDATAVAR = FALSE VARDIST = DIFFUSE MEANDIST = DIFFUSE .
  • 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 the salary variable, Characterize Posterior Distribution (POSTERIOR) as the ANALYSIS method, and gender as the grouping variable (GROUP).
  • PRIOR specifies the prior distribution. The example uses diffuse priors for both the mean (MEANDIST) and variance (VARDIST) parameters.