<?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: Proc GBLIMM, outpost data set question in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GBLIMM-outpost-data-set-question/m-p/912464#M45296</link>
    <description>&lt;P&gt;I talked to a colleague who has more experience with PROC BGLIMM. He pointed me to the section of the documentation about how the procedure handles missing response values:&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_044/statug/statug_bglimm_details22.htm" target="_blank"&gt;SAS Help Center: Missing Data&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears that your data has missing responses for observations&amp;nbsp;82, 98, 118, 138, 149, and 158.&amp;nbsp; The columns in the OUTPOST= data set show the generated values for those observations for each of the 5,000 Monte Carlo iterations (since NMC=5000).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default, the procedure fills in missing value by using the model. If you don't want that, the MISSING=CC option enables you to use complete cases and drop observations that have one or more missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following statements are from the Getting Started example, but I have changed two response values to missing values (Obs=11 and Obs=28). When I run the program, the OUTPOST= data set contains the variables SideEffect_11 and SideEffect_28. You can draw histograms of those variables to see the 5000 imputed&amp;nbsp; values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data MultiCenter;
   input Center Group$ N SideEffect @@;
   datalines;
 1  A  32  14   1  B  33  18
 2  A  30   4   2  B  28   8
 3  A  23  14   3  B  24   9
 4  A  22   7   4  B  22  10
 5  A  20   6   5  B  21  12
 6  A  19   .   6  B  20   3
 7  A  17   2   7  B  17   6
 8  A  16   7   8  B  15   9
 9  A  13   1   9  B  14   5
10  A  13   3  10  B  13   1
11  A  11   1  11  B  12   2
12  A  10   1  12  B   9   0
13  A   9   2  13  B   9   6
14  A   8   1  14  B   8   .
15  A   7   1  15  B   8   0
;

proc bglimm data=MultiCenter nmc=10000 thin=2 seed=976352 plots=all outpost= YPost; 
   class Center Group;
   model SideEffect/N = / dist=normal;
   random int / subject = Center;
run;

/* plot the imputed values for missing responses */
title "Imputation of Missing Value for 11th Obs";
proc sgplot data=YPost;
   histogram SideEffect_11;
run;
title "Imputation of Missing Value for 28th Obs";
proc sgplot data=YPost;
   histogram SideEffect_28;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Try adding the MISSING=CC option and rerunning. The procedure now only uses 28 obs instead of 30 obs. The OUTPOST= data set no longer includes the&amp;nbsp;SideEffect_11 and SideEffect_28 columns.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2024 15:30:54 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2024-01-22T15:30:54Z</dc:date>
    <item>
      <title>Proc GBLIMM, outpost data set question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GBLIMM-outpost-data-set-question/m-p/912397#M45294</link>
      <description>&lt;P&gt;The dependent variable, Y, is a lab value, LID is a laboratory ID, SampleID is specimen ID.&amp;nbsp; A set of identical samples are sent to each lab for analysis.&amp;nbsp; I am using bglimm to calculate a Bayesian intraclass correlation with HPDR for the ICC.&amp;nbsp; That is working fine and the problem description is just for background. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;My question is about the outpost data set&lt;/U&gt;. Here is the code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc bglimm data=CPT2 seed= 202011 nthreads= -1 nbi=1000 nmc= 5000&amp;nbsp; &lt;STRONG&gt;outpost= YPost&lt;/STRONG&gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* stats= all plots= (trace autocorr density) diagnostics=all ; */&lt;BR /&gt;class SampleID LID;&lt;BR /&gt;model Y = / dist=normal;&lt;BR /&gt;random SampleID/ covprior=uniform(lower=0,upper=10) nuts ;&lt;BR /&gt;random LID/ covprior=uniform(lower=0,upper=10) nuts;&lt;BR /&gt;run; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The outpost dataset, named &lt;EM&gt;YPost&lt;/EM&gt; has everything we expect -- posterior values for each parameter for each iteration, but also has six additional columns named Y_82, Y_98, Y_118, Y_138, Y_149, &amp;amp;_158.&amp;nbsp; The analysis is working ok, I am getting what I need out of it, but I would like to understand what these added columns are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 23:18:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GBLIMM-outpost-data-set-question/m-p/912397#M45294</guid>
      <dc:creator>gp4</dc:creator>
      <dc:date>2024-01-21T23:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GBLIMM, outpost data set question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GBLIMM-outpost-data-set-question/m-p/912464#M45296</link>
      <description>&lt;P&gt;I talked to a colleague who has more experience with PROC BGLIMM. He pointed me to the section of the documentation about how the procedure handles missing response values:&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_044/statug/statug_bglimm_details22.htm" target="_blank"&gt;SAS Help Center: Missing Data&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears that your data has missing responses for observations&amp;nbsp;82, 98, 118, 138, 149, and 158.&amp;nbsp; The columns in the OUTPOST= data set show the generated values for those observations for each of the 5,000 Monte Carlo iterations (since NMC=5000).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default, the procedure fills in missing value by using the model. If you don't want that, the MISSING=CC option enables you to use complete cases and drop observations that have one or more missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following statements are from the Getting Started example, but I have changed two response values to missing values (Obs=11 and Obs=28). When I run the program, the OUTPOST= data set contains the variables SideEffect_11 and SideEffect_28. You can draw histograms of those variables to see the 5000 imputed&amp;nbsp; values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data MultiCenter;
   input Center Group$ N SideEffect @@;
   datalines;
 1  A  32  14   1  B  33  18
 2  A  30   4   2  B  28   8
 3  A  23  14   3  B  24   9
 4  A  22   7   4  B  22  10
 5  A  20   6   5  B  21  12
 6  A  19   .   6  B  20   3
 7  A  17   2   7  B  17   6
 8  A  16   7   8  B  15   9
 9  A  13   1   9  B  14   5
10  A  13   3  10  B  13   1
11  A  11   1  11  B  12   2
12  A  10   1  12  B   9   0
13  A   9   2  13  B   9   6
14  A   8   1  14  B   8   .
15  A   7   1  15  B   8   0
;

proc bglimm data=MultiCenter nmc=10000 thin=2 seed=976352 plots=all outpost= YPost; 
   class Center Group;
   model SideEffect/N = / dist=normal;
   random int / subject = Center;
run;

/* plot the imputed values for missing responses */
title "Imputation of Missing Value for 11th Obs";
proc sgplot data=YPost;
   histogram SideEffect_11;
run;
title "Imputation of Missing Value for 28th Obs";
proc sgplot data=YPost;
   histogram SideEffect_28;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Try adding the MISSING=CC option and rerunning. The procedure now only uses 28 obs instead of 30 obs. The OUTPOST= data set no longer includes the&amp;nbsp;SideEffect_11 and SideEffect_28 columns.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 15:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GBLIMM-outpost-data-set-question/m-p/912464#M45296</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-01-22T15:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GBLIMM, outpost data set question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GBLIMM-outpost-data-set-question/m-p/912548#M45298</link>
      <description>&lt;P&gt;Now that I know I feel like I should have seen that!&amp;nbsp; Thank you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 20:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GBLIMM-outpost-data-set-question/m-p/912548#M45298</guid>
      <dc:creator>gp4</dc:creator>
      <dc:date>2024-01-22T20:25:38Z</dc:date>
    </item>
  </channel>
</rss>

