<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: STORE equivalent in PROC MCMC in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/STORE-equivalent-in-PROC-MCMC/m-p/857414#M42398</link>
    <description>&lt;P&gt;You could do something similar to this example in the documentation to compute posteriors for the odds ratios.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mcmc_examples16.htm" target="_blank"&gt;SAS Help Center: Missing at Random Analysis&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2023 17:45:17 GMT</pubDate>
    <dc:creator>SAS_Rob</dc:creator>
    <dc:date>2023-02-06T17:45:17Z</dc:date>
    <item>
      <title>STORE equivalent in PROC MCMC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/STORE-equivalent-in-PROC-MCMC/m-p/857279#M42395</link>
      <description>&lt;P&gt;I am fitting a logistic regression in PROC MCMC and need to calculate the 95% HPD Credible Interval on the Odds Ratio (exponentiated) scale for each chain before taking the average across chains. Rather than taking the average posterior mean(s) and interval values and&amp;nbsp;&lt;EM&gt;then&lt;/EM&gt; exponentiating, I need to exponentiate means and interval values and then take the average. The BAYES statement has the STORE option so that posterior samples and 95% CrI can be determined. Note: I need to use PROC MCMC, so any solutions with GENMOD aren't desired.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could I accomplish this, either through an existing statement or through a manual calculation? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc mcmc data=data.XX 
	plots=all
	nbi=1000 
	nmc=9000 
    seed=123 
	dic 
	plots(smooth)=all 
	statistics=all
	outpost=post1;
  	parms (beta0 B_tx) 0;
	prior beta0 ~ normal(0,var=1);
	prior B_tx ~ normal(0,var=1);
	p = logistic(beta0 + B_tx*tx);
	model outcome ~ binary(p);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 Feb 2023 19:20:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/STORE-equivalent-in-PROC-MCMC/m-p/857279#M42395</guid>
      <dc:creator>lsandell</dc:creator>
      <dc:date>2023-02-05T19:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: STORE equivalent in PROC MCMC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/STORE-equivalent-in-PROC-MCMC/m-p/857414#M42398</link>
      <description>&lt;P&gt;You could do something similar to this example in the documentation to compute posteriors for the odds ratios.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mcmc_examples16.htm" target="_blank"&gt;SAS Help Center: Missing at Random Analysis&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 17:45:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/STORE-equivalent-in-PROC-MCMC/m-p/857414#M42398</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2023-02-06T17:45:17Z</dc:date>
    </item>
  </channel>
</rss>

