Overview (BAYES ONESAMPLE: Binomial command)
BAYES ONESAMPLE
: Binomial invokes the one-sample inference procedure. The procedure
provides options for executing Bayesian one-sample inference on Binomial distribution. The parameter
of interest is π, which denotes the probability of success in a fixed number of trials that may lead
to either success or failure. Note that each trial is independent of each other, and the probability
π remains the same in each trial. A binomial random variable can be seen as the sum of a fixed
number of independent Bernoulli trials.
Although it is not necessary, a prior from the Beta distribution family is normally chosen when estimating a binomial parameter. The Beta family is conjugate for the binomial family, and as such leads to the posterior distribution with a closed form still in the Beta distribution family.
Options
- Missing values
- You can specify the method in which to control missing values (exclude cases pairwise or listwise).
- Credible interval percentage
- You can specify the significance level for computing credible intervals.
- Bayesian analysis method
- You can specify
POSTERIOR
,BAYESFACTOR
, orBOTH
. - Recode data
- You can specify the recode data and set parameters for the estimation of Bayes factors.
- Prior distribution settings
- You can specify the prior distribution for the variance parameter.
Subcommand order
- The subcommands can be named in any order.
Syntax rules
- PRECDIST and VARDIST are mutually exclusive.
- The /DATA sublist must be a subset of VARIABLES.
Limitations
- PRECDIST and VARDIST are mutually exclusive.