Running the analysis
- To run a Bayesian Independent - Sample analysis, from the menus choose:
Figure 1. Bayesian Independent - Sample Inference dialog - In the Bayesian Independent - Sample Inference dialog, select Current Salary [salary] as the Test Variables(s) value and then select Gender [gender] as the Grouping Variable value. A grouping variable defines two groups for the unpaired t-test.
- Use the Define Groups settings to define two groups for the t-test by specifying
two values for the selected string variable (Current Salary [salary]).
- In the Define Groups section, enter f for the Group 1 value and m for the Group 2 value.
- Select Characterize Posterior Distribution as the Bayesian Analysis. The Bayesian inference is made from a perspective that is approached by characterizing posterior distributions. You can investigate the marginal posterior distribution of the parameter(s) of interest by integrating out the other nuisance parameters, and further construct Bayesian confidence intervals to draw direct inference.
- Click Priors and define the following prior distribution settings:
Figure 2. Bayesian Independent - Sample Inference: Prior Distribution dialog - Select Assume unequal variance as the Data Variance setting. The setting controls whether or not the two group variances are assumed to be unequal. By default, it is assumed that group variances are unequal.
- Click Run Analysis.