BookmarkSubscribeRSS Feed
piyushstats
Calcite | Level 5

Hi Team,

 

Please suggest how to restrict the posterior mean value in Proc MCMC output? i.e. if I need the posterior mean for a particular parameter to lie within a particular range, then how shall I do it in SAS? I have attached one Proc MCMC output for the reference.

In that I need to change the posterior mean of "SOV_Mohani_b5" as a positive value. Although the variable has negative correlation value with the dependent variable in the raw data. Here I am generating posterior samples to remove auto-correlation from the same Linear Mixed Model. Please suggest a solution at the earliest.

 

Thanks!

 

Regards,

Piyush

1 REPLY 1
kaushik_patra
Obsidian | Level 7

You may want to try LOWER or UPPER option in the PRIOR statement.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1308 views
  • 0 likes
  • 2 in conversation