<?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 How I could get the correlation between the mortality and the clusters? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232176#M54679</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to this area and I need your help!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In order to study the relation between mortality [ 0 (survived) or 1 (died)] that 68 strains produced and the test (I to X), I have applied an univariable logistic regression analysis with proc genmod. So far so good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data=data descend;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class Strain Test;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;model Mortality= Strain Test/ dist= binomial link= logit type3 noint aggregate;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;lsmeans Strain Test/diff;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Now, I need help with the following. I want to assess the associations between the mortality with the ERIC-PCR results (clusters for each strain, from 1 to 7) and one sequence type (ST) of the strains (binomial variable; 0 = absence and 1=presence).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I could get the correlation between the mortality and the clusters?&lt;BR /&gt;&lt;BR /&gt;To the association between mortality and the sequence type (ST), I have attempted using the next procedures, and I have achieved the same result, but I am not sure if it is right:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data=data descend;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class ST;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;model Mortality= ST / dist= binomial link= logit type3 noint aggregate;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;lsmeans ST /diff;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc anova data=data plots(maxpoints=none);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class ST82;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;model porcent*=St82;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;means ST82/ Bon;&lt;BR /&gt;run;&lt;BR /&gt;* porcent = number of subjects dead/number of subjects used per strain (in porcent)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc ttest data=data;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class ST;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;var porcent;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;I would appreciate some help with the correct syntax for this question...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2015 11:32:45 GMT</pubDate>
    <dc:creator>Ana</dc:creator>
    <dc:date>2015-10-29T11:32:45Z</dc:date>
    <item>
      <title>How I could get the correlation between the mortality and the clusters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232176#M54679</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to this area and I need your help!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In order to study the relation between mortality [ 0 (survived) or 1 (died)] that 68 strains produced and the test (I to X), I have applied an univariable logistic regression analysis with proc genmod. So far so good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data=data descend;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class Strain Test;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;model Mortality= Strain Test/ dist= binomial link= logit type3 noint aggregate;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;lsmeans Strain Test/diff;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Now, I need help with the following. I want to assess the associations between the mortality with the ERIC-PCR results (clusters for each strain, from 1 to 7) and one sequence type (ST) of the strains (binomial variable; 0 = absence and 1=presence).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I could get the correlation between the mortality and the clusters?&lt;BR /&gt;&lt;BR /&gt;To the association between mortality and the sequence type (ST), I have attempted using the next procedures, and I have achieved the same result, but I am not sure if it is right:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data=data descend;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class ST;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;model Mortality= ST / dist= binomial link= logit type3 noint aggregate;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;lsmeans ST /diff;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc anova data=data plots(maxpoints=none);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class ST82;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;model porcent*=St82;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;means ST82/ Bon;&lt;BR /&gt;run;&lt;BR /&gt;* porcent = number of subjects dead/number of subjects used per strain (in porcent)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc ttest data=data;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class ST;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;var porcent;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;I would appreciate some help with the correct syntax for this question...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 11:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232176#M54679</guid>
      <dc:creator>Ana</dc:creator>
      <dc:date>2015-10-29T11:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: How I could get the correlation between the mortality and the clusters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232859#M54760</link>
      <description>Use &lt;BR /&gt;&lt;BR /&gt;proc genmod data=data CORR descend;</description>
      <pubDate>Tue, 03 Nov 2015 08:21:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232859#M54760</guid>
      <dc:creator>pearsoninst</dc:creator>
      <dc:date>2015-11-03T08:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: How I could get the correlation between the mortality and the clusters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232881#M54764</link>
      <description>&lt;P&gt;Dear pearsoninst,&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, CORR is considered a syntax error and therefore it is ignored.&lt;BR /&gt;&lt;BR /&gt;Do you have any other suggestions or idea?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 14:06:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232881#M54764</guid>
      <dc:creator>Ana</dc:creator>
      <dc:date>2015-11-03T14:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: How I could get the correlation between the mortality and the clusters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232882#M54765</link>
      <description>I am very sorry , i did not realize you are are using genmod . I i thought it is Proc REG . Corr works for that ..I have not idea on Genmod. Very sorry</description>
      <pubDate>Tue, 03 Nov 2015 14:33:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232882#M54765</guid>
      <dc:creator>pearsoninst</dc:creator>
      <dc:date>2015-11-03T14:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: How I could get the correlation between the mortality and the clusters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232884#M54767</link>
      <description>&lt;P&gt;Thank you all the same!&lt;BR /&gt;If you know, how I could get the correlation between the mortality (binary variable) and the clusters with the Proc REG is also well received.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 14:42:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/232884#M54767</guid>
      <dc:creator>Ana</dc:creator>
      <dc:date>2015-11-03T14:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: How I could get the correlation between the mortality and the clusters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/233048#M54791</link>
      <description>&lt;PRE class="sascode"&gt;proc surveyreg data=newdata total=10;
   cluster Clustervariable;
   model yvariable=xvariable;
run;&lt;/PRE&gt;
&lt;P style="margin: 0in; margin-bottom: .0001pt; line-height: 15.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; margin-bottom: .0001pt; line-height: 15.0pt; orphans: auto; text-align: start; widows: 1; -webkit-text-stroke-width: 0px; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;and to find only the correlation use CORR Procedure.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 12:05:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/233048#M54791</guid>
      <dc:creator>pearsoninst</dc:creator>
      <dc:date>2015-11-04T12:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: How I could get the correlation between the mortality and the clusters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/233067#M54794</link>
      <description>&lt;P&gt;Thank you for your suggestion dear pearsoninst!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know the proc surveyreg but I will prove it!&lt;BR /&gt;About proc CORR, what would be the best correlation coefficient to analyze my data?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 13:32:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-I-could-get-the-correlation-between-the-mortality-and-the/m-p/233067#M54794</guid>
      <dc:creator>Ana</dc:creator>
      <dc:date>2015-11-04T13:32:48Z</dc:date>
    </item>
  </channel>
</rss>

