Hello,
Are you talking about Bayesian methods?
SAS provides two avenues for Bayesian analysis: built-in Bayesian analysis in certain modeling procedures and the MCMC procedure for general-purpose modeling. The built-in Bayesian procedures are ideal for data analysts beginning to use Bayesian methods, and they suffice for many analysis objectives.
See :
Paper SAS400-2014
An Introduction to Bayesian Analysis with SAS/STAT® Software
Maura Stokes, Fang Chen, and Funda Gunes
SAS Institute Inc.
https://support.sas.com/resources/papers/proceedings14/SAS400-2014.pdf
Your ANOVA is a General Linear Model (GLM)
and you can do Bayesian Inference in the General Linear Model using a Bayesian MCMC routine.
PROC ANOVA and PROC GLM do not have a BAYES statement, but PROC GENMOD does have a BAYES statement.
If needed you can use PROC GENMOD with a normal distribution and the identity link function (to mimic PROC GLM).
BR,
Koen
If it is as simple as comparing means, you can use a MEANS statement (ANOVA, GLM) or an LSMEANS statement (GLM and others). If the comparison is more complicated, use an LSMESTIMATE statement to construct the a priori comparison you wish to make.
SteveDenham
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Ready to level-up your skills? Choose your own adventure.