<?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: Creating a Mathematical model in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-Mathematical-model/m-p/690042#M209846</link>
    <description>&lt;P&gt;What do you mean by " write this model mathematically"?&lt;/P&gt;
&lt;P&gt;Are you looking for some sort of raw code to duplicate the functionality?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or an explanation of the calculations done? Read the friendly manual, i.e. the documentation for the procedure in the DETAILS section.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something else.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Oct 2020 15:15:43 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-10-08T15:15:43Z</dc:date>
    <item>
      <title>Creating a Mathematical model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-Mathematical-model/m-p/690032#M209841</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for someone to write this model mathematically if you don't mind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc GLIMMIX data=herd;
class testyear time ;
model mpd = testyear / oddsratio solution;
random herd(Time);
lsmeans  testyear / e cl oddsratio plots  ;
ods output lsmeans = MEANS;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Oct 2020 15:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-Mathematical-model/m-p/690032#M209841</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2020-10-08T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Mathematical model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-Mathematical-model/m-p/690042#M209846</link>
      <description>&lt;P&gt;What do you mean by " write this model mathematically"?&lt;/P&gt;
&lt;P&gt;Are you looking for some sort of raw code to duplicate the functionality?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or an explanation of the calculations done? Read the friendly manual, i.e. the documentation for the procedure in the DETAILS section.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something else.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 15:15:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-Mathematical-model/m-p/690042#M209846</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-10-08T15:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Mathematical model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-Mathematical-model/m-p/690044#M209847</link>
      <description>&lt;P&gt;You can use a CODE statement to have the code piped to a file and you can use that to help you determine your final equation if you're unsure of the format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=statcdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_glimmix_syntax04.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=statcdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_glimmix_syntax04.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;code file='/folders/myfolders/glimmix_score_code.sas';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Changing the path to something relevant for you, the idea is above and then check the program created for the logic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/151600"&gt;@Barkamih&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking for someone to write this model mathematically if you don't mind.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc GLIMMIX data=herd;
class testyear time ;
model mpd = testyear / oddsratio solution;
random herd(Time);
lsmeans  testyear / e cl oddsratio plots  ;
ods output lsmeans = MEANS;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 15:20:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-Mathematical-model/m-p/690044#M209847</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-08T15:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Mathematical model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-Mathematical-model/m-p/690045#M209848</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;y = A + b + e&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Y&amp;nbsp; is a binary&amp;nbsp;&lt;/P&gt;&lt;P&gt;a fixed effect&amp;nbsp;&lt;/P&gt;&lt;P&gt;b is random&amp;nbsp;nested within 12 months&amp;nbsp;&lt;/P&gt;&lt;P&gt;e is residual&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 15:26:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-Mathematical-model/m-p/690045#M209848</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2020-10-08T15:26:56Z</dc:date>
    </item>
  </channel>
</rss>

