<?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: Combing several glm plots into one in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/821867#M34950</link>
    <description>&lt;P&gt;ODS EXCEL can put many plots onto a single tab, so you can just scroll down in Excel to see them all. Is that what you want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file='myfile.xlsx' options(sheet_interval='NONE');
ods excel select diagnosticspanel(persist);
proc glm data = Test_data outstat = p_value plots=diagnostics;
model weight = bmi / CLPARM solution;
run; quit;
proc glm data = plasma outstat = p_value plots=diagnostics;
model height = weight / CLPARM solution;
run; quit;
proc glm data = plasma outstat = p_value plots=diagnostics;
model bmi = weight / CLPARM solution;
run; quit;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 06 Jul 2022 15:22:08 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-07-06T15:22:08Z</dc:date>
    <item>
      <title>Combing several glm plots into one</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/821718#M34937</link>
      <description>&lt;P&gt;How can I combine the prediction plot of the three below models into one plot? If you can give me a sample code, I would really appreciate it. Thanks!&lt;/P&gt;&lt;P&gt;proc glm data = Test_data outstat = p_value plots=diagnostics;&lt;BR /&gt;model weight = bmi / CLPARM solution;&lt;BR /&gt;run;&lt;BR /&gt;proc glm data = plasma outstat = p_value plots=diagnostics;&lt;BR /&gt;model height = weight / CLPARM solution;&lt;BR /&gt;run;&lt;BR /&gt;proc glm data = plasma outstat = p_value plots=diagnostics;&lt;BR /&gt;model bmi = weight / CLPARM solution;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 21:06:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/821718#M34937</guid>
      <dc:creator>FROA</dc:creator>
      <dc:date>2022-07-05T21:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Combing several glm plots into one</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/821727#M34938</link>
      <description>&lt;P&gt;Do you mean 3 plots side-by-side fitting on one page? Or 3 plots one above the other fitting on one page? Or some other arrangement fitting on one page?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please explain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what is the purpose of modeling WEIGHT=BMI and then later BMI=WEIGHT?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 21:37:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/821727#M34938</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-05T21:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Combing several glm plots into one</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/821865#M34949</link>
      <description>&lt;P&gt;Hi Paige,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying!&lt;BR /&gt;The order does not matter, and these are only template models, not the actual models. BMI and Weight could be replaced by any other variable. I just am looking for a sample code to combine different "glm" models' plots into one table/page of plots.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 15:11:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/821865#M34949</guid>
      <dc:creator>FROA</dc:creator>
      <dc:date>2022-07-06T15:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Combing several glm plots into one</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/821867#M34950</link>
      <description>&lt;P&gt;ODS EXCEL can put many plots onto a single tab, so you can just scroll down in Excel to see them all. Is that what you want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file='myfile.xlsx' options(sheet_interval='NONE');
ods excel select diagnosticspanel(persist);
proc glm data = Test_data outstat = p_value plots=diagnostics;
model weight = bmi / CLPARM solution;
run; quit;
proc glm data = plasma outstat = p_value plots=diagnostics;
model height = weight / CLPARM solution;
run; quit;
proc glm data = plasma outstat = p_value plots=diagnostics;
model bmi = weight / CLPARM solution;
run; quit;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Jul 2022 15:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/821867#M34950</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-06T15:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Combing several glm plots into one</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/822017#M34960</link>
      <description>&lt;P&gt;It sounds like you want to use the ODS LAYOUT GRIDDED statement. See&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2015/11/23/ods-statement-options-to-change/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2015/11/23/ods-statement-options-to-change/&lt;/A&gt;&lt;BR /&gt;AND&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2017/08/14/advanced-ods-controlling-precisely-output-displayed/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2017/08/14/advanced-ods-controlling-precisely-output-displayed/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's how it would look for some sample data:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods layout gridded columns=2 advance=table;
ods noproctitle;
ods graphics / width=400px height=300px;
ods select FitPlot(persist);

proc glm data = sashelp.heart outstat = p_value plots(MAXPOINTS=NONE)=diagnostics;
model weight = MRW / CLPARM solution;
run;
proc glm data = sashelp.heart outstat = p_value plots(MAXPOINTS=NONE)=diagnostics;
model height = weight / CLPARM solution;
run;
proc glm data = sashelp.heart outstat = p_value plots(MAXPOINTS=NONE)=diagnostics;
model MRW = weight / CLPARM solution;
run;
quit;

ods layout end;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Alternatively, you can write the data to a SAS data set and use PROC SGPANEL to create the graphs yourself.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 10:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Combing-several-glm-plots-into-one/m-p/822017#M34960</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-07-07T10:36:13Z</dc:date>
    </item>
  </channel>
</rss>

