<?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 Proc GLM ODS Table ExpectedMeanSquares: Change the number of digits shown in the EMS multiplier? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509204#M1747</link>
    <description>&lt;P&gt;Suppose the output&amp;nbsp;generated by the RANDOM statement (proc GLM) is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sum of&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error&lt;BR /&gt;Source&amp;nbsp; &amp;nbsp; &amp;nbsp;DF&amp;nbsp; &amp;nbsp; &amp;nbsp;Squares&amp;nbsp; &amp;nbsp;Mean Square&amp;nbsp; &amp;nbsp;Expected Mean Square&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Error Term&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DF&amp;nbsp; &amp;nbsp; F Value&amp;nbsp; Pr &amp;gt; F&lt;/P&gt;&lt;P&gt;Variety&amp;nbsp; &amp;nbsp; &amp;nbsp; 3&amp;nbsp; &amp;nbsp; &amp;nbsp; 0.810160&amp;nbsp; &amp;nbsp; &amp;nbsp;0.270053&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Var(Residual) + 3.1795 Var(Variety)&amp;nbsp; MS(Residual)&amp;nbsp; &amp;nbsp; &amp;nbsp;9&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4.79&amp;nbsp; &amp;nbsp; &amp;nbsp; 0.0293&lt;BR /&gt;Residual&amp;nbsp; &amp;nbsp;9&amp;nbsp; &amp;nbsp; &amp;nbsp; 0.507917&amp;nbsp; &amp;nbsp; &amp;nbsp;0.056435&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Var(Residual)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the same is output to the ODS Table ExpectedMeanSquares. Is there a way to increase the number of decimal places in the 3.1795 value (in the output and in the&amp;nbsp; &lt;SPAN&gt;ExpectedMeanSquares table)? For example, rather than 3.1795 being shown, 3.17947689 is shown? I'm currently using the compress function to extract the value from the expectedmeansquare variable in the ExpectedMeanSquares table, and I'd like more precision since I'm using the value in subsequent calculations.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/P&gt;</description>
    <pubDate>Wed, 31 Oct 2018 16:45:00 GMT</pubDate>
    <dc:creator>MRB3855</dc:creator>
    <dc:date>2018-10-31T16:45:00Z</dc:date>
    <item>
      <title>Proc GLM ODS Table ExpectedMeanSquares: Change the number of digits shown in the EMS multiplier?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509204#M1747</link>
      <description>&lt;P&gt;Suppose the output&amp;nbsp;generated by the RANDOM statement (proc GLM) is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sum of&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error&lt;BR /&gt;Source&amp;nbsp; &amp;nbsp; &amp;nbsp;DF&amp;nbsp; &amp;nbsp; &amp;nbsp;Squares&amp;nbsp; &amp;nbsp;Mean Square&amp;nbsp; &amp;nbsp;Expected Mean Square&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Error Term&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DF&amp;nbsp; &amp;nbsp; F Value&amp;nbsp; Pr &amp;gt; F&lt;/P&gt;&lt;P&gt;Variety&amp;nbsp; &amp;nbsp; &amp;nbsp; 3&amp;nbsp; &amp;nbsp; &amp;nbsp; 0.810160&amp;nbsp; &amp;nbsp; &amp;nbsp;0.270053&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Var(Residual) + 3.1795 Var(Variety)&amp;nbsp; MS(Residual)&amp;nbsp; &amp;nbsp; &amp;nbsp;9&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4.79&amp;nbsp; &amp;nbsp; &amp;nbsp; 0.0293&lt;BR /&gt;Residual&amp;nbsp; &amp;nbsp;9&amp;nbsp; &amp;nbsp; &amp;nbsp; 0.507917&amp;nbsp; &amp;nbsp; &amp;nbsp;0.056435&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Var(Residual)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the same is output to the ODS Table ExpectedMeanSquares. Is there a way to increase the number of decimal places in the 3.1795 value (in the output and in the&amp;nbsp; &lt;SPAN&gt;ExpectedMeanSquares table)? For example, rather than 3.1795 being shown, 3.17947689 is shown? I'm currently using the compress function to extract the value from the expectedmeansquare variable in the ExpectedMeanSquares table, and I'd like more precision since I'm using the value in subsequent calculations.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 16:45:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509204#M1747</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2018-10-31T16:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLM ODS Table ExpectedMeanSquares: Change the number of digits shown in the EMS multiplier?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509209#M1748</link>
      <description>Change the underlying format. How are you capturing the table, I'm assuming ODS OUTPUT? The table should have the underlying value with the full details.</description>
      <pubDate>Wed, 31 Oct 2018 17:07:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509209#M1748</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-31T17:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLM ODS Table ExpectedMeanSquares: Change the number of digits shown in the EMS multiplier?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509210#M1749</link>
      <description>&lt;P&gt;If you are referring to a variable in a data set created by ODS OUTPUT then it has inherited a default format. You can either change the format in the data set manually or with Proc Datasets. Or apply a different format for any report procedure at time of display.&lt;/P&gt;
&lt;P&gt;In the code below the variable X has been assigned a format of Best4. meaning that it only displays 4 characters including a decimal if needed. This would be the default format as created by ODS OUTPUT. Then printing the same value a specified format involving 5 decimal points shows more digits.&lt;/P&gt;
&lt;PRE&gt;data example;
   x = 123 / 7;
   format x best4.;
run;

proc print data=example;
   var x;
   format x 8.5;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Oct 2018 17:09:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509210#M1749</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-31T17:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLM ODS Table ExpectedMeanSquares: Change the number of digits shown in the EMS multiplier?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509315#M1759</link>
      <description>&lt;P&gt;Yes, ODS output. The complicating thing is, the&amp;nbsp;&lt;SPAN&gt;expectedmeansquare variable&lt;/SPAN&gt; in the ODS output Table is a character variable. So I'm extracting the digits from a character variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 20:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509315#M1759</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2018-10-31T20:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLM ODS Table ExpectedMeanSquares: Change the number of digits shown in the EMS multiplier?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509338#M1767</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The complicating thing is, the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;expectedmeansquare variable&lt;/SPAN&gt;&lt;SPAN&gt; in the ODS output Table is a character variable. So I'm extracting the digits (via the compress function) from a character variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 21:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509338#M1767</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2018-10-31T21:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLM ODS Table ExpectedMeanSquares: Change the number of digits shown in the EMS multiplier?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509354#M1772</link>
      <description>If you can post some code &amp;amp; data to generate the table Ill take a look. Usually it has the numeric values as well as character values. Absolute worst case you can modify the template, and if it’s only character this is a perfectly good reason to change it permanently. &lt;BR /&gt;&lt;BR /&gt;PS fake data and code is fine, just needs to generate the ODS table.</description>
      <pubDate>Wed, 31 Oct 2018 21:31:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509354#M1772</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-31T21:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLM ODS Table ExpectedMeanSquares: Change the number of digits shown in the EMS multiplier?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509433#M1784</link>
      <description>&lt;P&gt;Thanks Reeza: Here ya go!&lt;/P&gt;&lt;P&gt;/********/&lt;/P&gt;&lt;P&gt;DATA Untitled;&lt;BR /&gt;INPUT Damage Variety &amp;amp;$;&lt;BR /&gt;Lines;&lt;BR /&gt;3.9 A&lt;BR /&gt;3.6 B&lt;BR /&gt;4.15 C&lt;BR /&gt;3.35 D&lt;BR /&gt;4.05 A&lt;BR /&gt;4.2 B&lt;BR /&gt;4.6 C&lt;BR /&gt;3.8 D&lt;BR /&gt;4.25 A&lt;BR /&gt;4.05 B&lt;BR /&gt;4.15 C&lt;BR /&gt;3.85 B&lt;BR /&gt;4.4 C&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ods select none;&lt;BR /&gt;PROC glm DATA=Untitled ALPHA=0.05;&lt;BR /&gt;CLASS Variety;&lt;BR /&gt;MODEL Damage = Variety;&lt;BR /&gt;RANDOM Variety/Test;&lt;BR /&gt;ods output ExpectedMeanSquares=EMS;&lt;BR /&gt;RUN;&lt;BR /&gt;ods output close;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 09:30:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-GLM-ODS-Table-ExpectedMeanSquares-Change-the-number-of/m-p/509433#M1784</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2018-11-01T09:30:53Z</dc:date>
    </item>
  </channel>
</rss>

