<?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 genmod. how to get parameter estimates and 95% CIs for categorical variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/756706#M238970</link>
    <description>&lt;P&gt;Confidence interval has no meaning when discussing character variables. If you mean CI of a different numeric variable for each level of a character variable that is doable. Since reference an Estimate statement then perhaps you can share the current procedure code so we have some chance of seeing what other variables you are using.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 16:48:42 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-07-26T16:48:42Z</dc:date>
    <item>
      <title>proc genmod. how to get parameter estimates and 95% CIs for categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/756678#M238946</link>
      <description>&lt;P&gt;i have a 3-level categorical character variable DOSE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;values are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1-5&lt;/LI&gt;&lt;LI&gt;6-12&lt;/LI&gt;&lt;LI&gt;13+&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i would like to get estimates and 95% confidence intervals for "6-12" and 13+" where "1-5" is the reference group. what would be the syntax of the ESTIMATE statement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks for your help.&lt;/P&gt;&lt;P&gt;Christine&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 15:54:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/756678#M238946</guid>
      <dc:creator>cpeloquin</dc:creator>
      <dc:date>2021-07-26T15:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc genmod. how to get parameter estimates and 95% CIs for categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/756706#M238970</link>
      <description>&lt;P&gt;Confidence interval has no meaning when discussing character variables. If you mean CI of a different numeric variable for each level of a character variable that is doable. Since reference an Estimate statement then perhaps you can share the current procedure code so we have some chance of seeing what other variables you are using.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 16:48:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/756706#M238970</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-07-26T16:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: proc genmod. how to get parameter estimates and 95% CIs for categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/757118#M239073</link>
      <description>&lt;P&gt;Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 12:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/757118#M239073</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-07-27T12:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: proc genmod. how to get parameter estimates and 95% CIs for categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/757134#M239080</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/271479"&gt;@cpeloquin&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;i would like to get estimates and 95% confidence intervals for "6-12" and 13+" where "1-5" is the reference group. what would be the syntax of the ESTIMATE statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Assuming you really mean that you want 95% confidence intervals for &lt;FONT color="#FF0000"&gt;the estimated model coefficients of&lt;/FONT&gt; "6-12" and 13+", these are given by default from PROC GENMOD, as can be seen in this example:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_genmod_examples04.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_genmod_examples04.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to compare these statistically, and get confidence intervals for the difference, you can get this from the LSMEANS statement with the CL option.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If that's not what you mean, then please explain further.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 14:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/757134#M239080</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-07-27T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: proc genmod. how to get parameter estimates and 95% CIs for categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/757136#M239081</link>
      <description>&lt;P&gt;This should be posted in the Statistical Procedures Community rather than here. However, regardless of the distribution of your actual response variable, you can get the mean of it at each level of your Dose variable by specifying it the LSMEANS statement. Do not use the ESTIMATE statement. Make sure that Dose appears in the CLASS statement. Add the ILINK and CL options which will add columns in the LSMEANS table labeled "Mean" which has the mean estimate and confidence limits. For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;lsmeans dose / ilink cl;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 14:32:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-genmod-how-to-get-parameter-estimates-and-95-CIs-for/m-p/757136#M239081</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-07-27T14:32:44Z</dc:date>
    </item>
  </channel>
</rss>

