Programming the statistical procedures from SAS

Restricting the value of posterior means in proc mcmc

Reply
New Contributor
Posts: 2

Restricting the value of posterior means in proc mcmc

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

Occasional Contributor
Posts: 12

Re: Restricting the value of posterior means in proc mcmc

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

Ask a Question
Discussion stats
  • 1 reply
  • 161 views
  • 0 likes
  • 2 in conversation