<?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 GLIMMIX chi-sq /df in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLIMMIX-chi-sq-df/m-p/443060#M23300</link>
    <description>proc glimmix data=columbus;&lt;BR /&gt;class trt year day rep ;&lt;BR /&gt;model cost_toncp = trt day year trt*day trt*year trt*day*year/ddfm=kenwardroger;&lt;BR /&gt;random rep*day*year/subject=rep ;&lt;BR /&gt;lsmeans trt day year/lines;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This works well on cost per pound but not for cost per ton.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;None of the other variables needed to be converted.&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Mar 2018 21:23:55 GMT</pubDate>
    <dc:creator>jkj4</dc:creator>
    <dc:date>2018-03-06T21:23:55Z</dc:date>
    <item>
      <title>Proc GLIMMIX chi-sq /df</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLIMMIX-chi-sq-df/m-p/443010#M23298</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about why my model works in one instance, but when running the same data in a different unit function, the model no longer works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the example.&amp;nbsp; I have a study where I calculated cost per pound.&amp;nbsp; My model worked very well and did not have any over-dispersion as evidenced by a Gener. Chi-Square / DF of less than 1.0.&amp;nbsp; I needed to re-run the same numbers and wanted the units of evaluation to be cost per ton.&amp;nbsp; I took my cost per pound and multiplied by 2000 to get cost per ton.&amp;nbsp; When I ran these numbers using the same model my Gener. Chi-Square / DF was above 1000.&amp;nbsp; Why did this happen? And how do I correct?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 19:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLIMMIX-chi-sq-df/m-p/443010#M23298</guid>
      <dc:creator>jkj4</dc:creator>
      <dc:date>2018-03-06T19:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLIMMIX chi-sq /df</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLIMMIX-chi-sq-df/m-p/443032#M23299</link>
      <description>&lt;P&gt;Sounds like a data dependency but you haven't shared any data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a minimum share your Proc glimmix code. I am guessing one likely issue is one of the other variables in you model was based on "pounds" that needs a conversion for tons OR your original calculation that "calculated cost per pound" should be revisited and the "per ton" calculated there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I realize that data may be confidential. If you can duplicate the issue with non-sensitive data then you could provide that. Example data is best provided as data step code if you want anything tested. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 20:31:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLIMMIX-chi-sq-df/m-p/443032#M23299</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-03-06T20:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLIMMIX chi-sq /df</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLIMMIX-chi-sq-df/m-p/443060#M23300</link>
      <description>proc glimmix data=columbus;&lt;BR /&gt;class trt year day rep ;&lt;BR /&gt;model cost_toncp = trt day year trt*day trt*year trt*day*year/ddfm=kenwardroger;&lt;BR /&gt;random rep*day*year/subject=rep ;&lt;BR /&gt;lsmeans trt day year/lines;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This works well on cost per pound but not for cost per ton.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;None of the other variables needed to be converted.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Mar 2018 21:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLIMMIX-chi-sq-df/m-p/443060#M23300</guid>
      <dc:creator>jkj4</dc:creator>
      <dc:date>2018-03-06T21:23:55Z</dc:date>
    </item>
  </channel>
</rss>

