BAYES REGRESSION
BAYES REGRESSION is available in Custom Tables and Advanced Statistics.
BAYES REGRESSION dependent varname [BY factor list] [WITH covariate list]
/CRITERIA
CILEVEL = {95**} {value}
TOL = {0.000001**} {value}
MAXITER = {2000**} {integer}
/DESIGN
REGWGT = {variable}@@
FACTORS = {factors}##
COVARIATES = {covariates}$$
/INFERENCE
ANALYSIS = {POSTERIOR**} {BAYESFACTOR} {BOTH}
/ESTBF
COMPUTATION = {JZS**} {ZELLNER(value)} {HYPER(3** {value})} {ROUDER(1** {value})}
COMPARE = {NULL**} {FULL}
/PRIOR
TYPE = {REFERENCE**} {CONJUGATE}
SHAPEPARAM = {value}
SCALEPARAM = {value}
MEANVECTOR = {values}
VMATRIX = {IDENTITY**} {lower_triangular_matrix}%%
[/PREDICT
REGRESSORS = {values}]
[/SAVE
[ MEANPRED[(varname)]] [VARIANCE[(varname)]] [MODE[(varname)]] [CIMEANPREDL[(varname)]]
[ CIMEANPREDU[(varname)]]]
[/OUTFILE
PARAMETER = 'filename']
[/PLOT
COVARIATES = {covariate_sublist}
FACTORS = {factor_sublist}
MAX CATEGORY = {2**} {integer}^^
INTERCEPT = {FALSE**} {TRUE}
ERRORVAR = {FALSE**} {TRUE}
BAYESPRED = {FALSE**} {TRUE}]&&
[/FTEST ⊕
[ LABEL = 'labelName']
VARIABLES = {varlist}⊖
INTERCEPT = {FALSE**} {TRUE}⊗
[ TESTVALUES = {values}]] ⊜
** Default if the subcommand or keyword is omitted.
@@ Only one regression weight variable is allowed.
## Must be a subset of the factor list.
$$ Must be a subset of the covariate list.
%% Separate rows with semicolons.
^^ Controls the number of factor levels to be plotted.
&& Can be TRUE when values are specified for REGRESSORS.
⊕ Multiple /FTEST subcommands are allowed.
⊖ Must be a subset of COVARIATES and FACTORS.
⊗ Must be TRUE when VARIABLES is empty.
⊜ Assumes all values are equal to 0 when not specified.
Release History
Release 25.0
- Command introduced