<?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 table extracting data from analysis of GEE parameter Estimates in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-table-extracting-data-from-analysis-of-GEE-parameter/m-p/923458#M41424</link>
    <description>&lt;P&gt;So ... you are fitting GEE model with PROC GENMOD, ... fine to me.&lt;/P&gt;
&lt;P&gt;(just be aware there's also a PROC GEE)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LSMEANS statement can contain all model effects you are interested in.&lt;BR /&gt;The syntax is :&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xisDoc-eDocBody"&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="statug.introcom.lsm_syntax" class="aa-section"&gt;
&lt;DIV id="statug_introcom007266" class="aa-statementblock"&gt;
&lt;UL class="aa-statementblock" type="none"&gt;
&lt;LI&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;&lt;SPAN class="aa-statement"&gt;LSMEANS&lt;/SPAN&gt; &lt;SPAN class="aa-statementoptional"&gt;&amp;lt;model-effect&lt;FONT size="5"&gt;&lt;STRONG&gt;s&lt;/STRONG&gt;&lt;/FONT&gt;&amp;gt; &amp;lt;/ options&amp;gt;&lt;/SPAN&gt;;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;See here for an example:&lt;BR /&gt;Home &amp;gt; Analytics &amp;gt; Stat Procs &amp;gt; How to calculate adjusted odds ratios and 95% CIs for GEE using proc genmod?&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/How-to-calculate-adjusted-odds-ratios-and-95-CIs-for-GEE-using/td-p/408458" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/How-to-calculate-adjusted-odds-ratios-and-95-CIs-for-GEE-using/td-p/408458&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If you use "at" - option behind forward slash&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xisDoc-eDocBody"&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="statug.introcom.lsm_syntax" class="aa-section"&gt;
&lt;DIV class="aa-options"&gt;
&lt;DL class="aa-options"&gt;
&lt;DD&gt;
&lt;DIV class="xisDoc-eDocBody"&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="statug.introcom.lsm_syntax" class="aa-section"&gt;
&lt;DIV class="aa-options"&gt;
&lt;DL class="aa-options"&gt;
&lt;DD&gt;
&lt;PRE class="xisDoc-code"&gt;&lt;CODE class="language-sas"&gt;&lt;SPAN&gt;lsmeans A / at means;
lsmeans A / at x1=1.2;
lsmeans A / at (x1 x2)=(1.2 0.3);&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;, then you need multiple obviously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;W.r.t. LSMESTIMATE statement ... Yes, you need one LSMESTIMATE statement per&amp;nbsp;&lt;SPAN&gt;custom hypothesis test among the least squares means.&lt;BR /&gt;See here :&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;&lt;SPAN&gt;PharmaSUG2011 -- Paper SP01&lt;BR /&gt;CONTRAST and ESTIMATE Statements Made Easy: &lt;STRONG&gt;The LSMESTIMATE Statement&lt;/STRONG&gt;&lt;BR /&gt;Kathleen Kiernan, Randy Tobias, Phil Gibbs, and Jill Tao; SAS Institute Inc., Cary, NC &lt;BR /&gt;&lt;A href="https://www.lexjansen.com/pharmasug/2011/SAS/PharmaSUG-2011-SAS-SP01.pdf" target="_blank"&gt;https://www.lexjansen.com/pharmasug/2011/SAS/PharmaSUG-2011-SAS-SP01.pdf&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Using and Understanding LSMEANS and &lt;STRONG&gt;LSMESTIMATE&lt;/STRONG&gt;&lt;BR /&gt;David J. Pasta, ICON, San Francisco, CA&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/wuss/2014/103_Final_Paper_PDF.pdf" target="_blank"&gt;https://www.lexjansen.com/wuss/2014/103_Final_Paper_PDF.pdf&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;(from WUSS conference ;&amp;nbsp;Western Users of SAS® Software (WUSS))&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 08 Apr 2024 19:03:59 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2024-04-08T19:03:59Z</dc:date>
    <item>
      <title>Creating a table extracting data from analysis of GEE parameter Estimates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-table-extracting-data-from-analysis-of-GEE-parameter/m-p/923431#M41416</link>
      <description>&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm seeking assistance with extracting odds ratios from the "Analysis of GEE Parameter Estimates" table in SAS. Specifically, I need to generate a table that presents each parameter alongside its corresponding log odds estimate, and lower and upper 95% confidence limits, converted into odds ratios.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While I'm aware that this could be done using an LS Means statement, I'm looking for an alternative method that could facilitate this process. Perhaps there's a way to utilize &lt;CODE&gt;proc tabulate&lt;/CODE&gt; or &lt;CODE&gt;proc report&lt;/CODE&gt; to create this table without manual calculation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any guidance on this would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example of the table (proc genmod output) that I would like to retrieve data from.&lt;/P&gt;
&lt;P&gt;.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-07 at 11.21.43 PM.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95301i8E61BDE4D4FAC353/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-04-07 at 11.21.43 PM.png" alt="Screenshot 2024-04-07 at 11.21.43 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 16:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-table-extracting-data-from-analysis-of-GEE-parameter/m-p/923431#M41416</guid>
      <dc:creator>varatt90</dc:creator>
      <dc:date>2024-04-08T16:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a table extracting data from analysis of GEE parameter Estimates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-table-extracting-data-from-analysis-of-GEE-parameter/m-p/923446#M41422</link>
      <description>&lt;P&gt;Are you using PROC GEE ??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think an alternative method would make it easier.&lt;/P&gt;
&lt;P&gt;It would make it more "manual" than LSMESTIMATE statement.&lt;/P&gt;
&lt;P&gt;It's quite easy to do with :&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;lsmeans statement&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;lsmestimate statement&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;oddsratio statement (maybe not available in PROC GEE)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Usage Note 42728: Producing odds ratios for logistic models in the GENMOD or GEE procedure&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/42/728.html" target="_blank"&gt;https://support.sas.com/kb/42/728.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usage Note 41516: Testing hypotheses and estimating odds ratios within and across specific logits in LINK=GLOGIT models&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/41/516.html" target="_blank"&gt;https://support.sas.com/kb/41/516.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(The above usage note also applies when fitting the generalized logit model to repeated measures data using PROC GEE)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 17:13:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-table-extracting-data-from-analysis-of-GEE-parameter/m-p/923446#M41422</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-04-08T17:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a table extracting data from analysis of GEE parameter Estimates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-table-extracting-data-from-analysis-of-GEE-parameter/m-p/923447#M41423</link>
      <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using the Proc Genmod procedure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please correct me if I'm wrong but the LSMeans and LSMestimate need to be written for each parameter, correct? Is there a way to do this for all parameter included in the model without writing a LSMeans line for each parameter of interest?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, is there a resource you have discusses the placement of the values "1 -1 0" etc. for when you're working with a categorical variable that has more than two groups?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 17:19:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-table-extracting-data-from-analysis-of-GEE-parameter/m-p/923447#M41423</guid>
      <dc:creator>varatt90</dc:creator>
      <dc:date>2024-04-08T17:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a table extracting data from analysis of GEE parameter Estimates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-table-extracting-data-from-analysis-of-GEE-parameter/m-p/923458#M41424</link>
      <description>&lt;P&gt;So ... you are fitting GEE model with PROC GENMOD, ... fine to me.&lt;/P&gt;
&lt;P&gt;(just be aware there's also a PROC GEE)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LSMEANS statement can contain all model effects you are interested in.&lt;BR /&gt;The syntax is :&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xisDoc-eDocBody"&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="statug.introcom.lsm_syntax" class="aa-section"&gt;
&lt;DIV id="statug_introcom007266" class="aa-statementblock"&gt;
&lt;UL class="aa-statementblock" type="none"&gt;
&lt;LI&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;&lt;SPAN class="aa-statement"&gt;LSMEANS&lt;/SPAN&gt; &lt;SPAN class="aa-statementoptional"&gt;&amp;lt;model-effect&lt;FONT size="5"&gt;&lt;STRONG&gt;s&lt;/STRONG&gt;&lt;/FONT&gt;&amp;gt; &amp;lt;/ options&amp;gt;&lt;/SPAN&gt;;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;See here for an example:&lt;BR /&gt;Home &amp;gt; Analytics &amp;gt; Stat Procs &amp;gt; How to calculate adjusted odds ratios and 95% CIs for GEE using proc genmod?&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/How-to-calculate-adjusted-odds-ratios-and-95-CIs-for-GEE-using/td-p/408458" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/How-to-calculate-adjusted-odds-ratios-and-95-CIs-for-GEE-using/td-p/408458&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If you use "at" - option behind forward slash&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xisDoc-eDocBody"&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="statug.introcom.lsm_syntax" class="aa-section"&gt;
&lt;DIV class="aa-options"&gt;
&lt;DL class="aa-options"&gt;
&lt;DD&gt;
&lt;DIV class="xisDoc-eDocBody"&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="statug.introcom.lsm_syntax" class="aa-section"&gt;
&lt;DIV class="aa-options"&gt;
&lt;DL class="aa-options"&gt;
&lt;DD&gt;
&lt;PRE class="xisDoc-code"&gt;&lt;CODE class="language-sas"&gt;&lt;SPAN&gt;lsmeans A / at means;
lsmeans A / at x1=1.2;
lsmeans A / at (x1 x2)=(1.2 0.3);&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;, then you need multiple obviously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;W.r.t. LSMESTIMATE statement ... Yes, you need one LSMESTIMATE statement per&amp;nbsp;&lt;SPAN&gt;custom hypothesis test among the least squares means.&lt;BR /&gt;See here :&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;&lt;SPAN&gt;PharmaSUG2011 -- Paper SP01&lt;BR /&gt;CONTRAST and ESTIMATE Statements Made Easy: &lt;STRONG&gt;The LSMESTIMATE Statement&lt;/STRONG&gt;&lt;BR /&gt;Kathleen Kiernan, Randy Tobias, Phil Gibbs, and Jill Tao; SAS Institute Inc., Cary, NC &lt;BR /&gt;&lt;A href="https://www.lexjansen.com/pharmasug/2011/SAS/PharmaSUG-2011-SAS-SP01.pdf" target="_blank"&gt;https://www.lexjansen.com/pharmasug/2011/SAS/PharmaSUG-2011-SAS-SP01.pdf&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Using and Understanding LSMEANS and &lt;STRONG&gt;LSMESTIMATE&lt;/STRONG&gt;&lt;BR /&gt;David J. Pasta, ICON, San Francisco, CA&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/wuss/2014/103_Final_Paper_PDF.pdf" target="_blank"&gt;https://www.lexjansen.com/wuss/2014/103_Final_Paper_PDF.pdf&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;(from WUSS conference ;&amp;nbsp;Western Users of SAS® Software (WUSS))&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Apr 2024 19:03:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-table-extracting-data-from-analysis-of-GEE-parameter/m-p/923458#M41424</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-04-08T19:03:59Z</dc:date>
    </item>
  </channel>
</rss>

