<?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: multivariate analysis with categorical variables in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/758423#M36923</link>
    <description>&lt;P&gt;You haven't said exactly what you want to test or estimate, which is a vital thing to state when asking for a recommendation on an analysis method. Assuming that what you want to do are pairwise comparisons among the states, then this could be most easily done using PROC LOGISTIC and the LSMEANS statement. For example, these statements would provide multiple comparisons among the states adjusted for recruitment. This assumes that the effect of recruitment is the same across the states... if not than the interaction needs to be included. The ILINK option gives the estimated adjusted probability of RESPONSE="Y" for each state. The DIFF option provides a table of tests comparing the states.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic;
class state recruitment / param=glm;
model response(event="Y")=state recruitment;
lsmeans state / ilink diff;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 30 Jul 2021 15:28:08 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2021-07-30T15:28:08Z</dc:date>
    <item>
      <title>multivariate analysis with categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/754600#M36915</link>
      <description>&lt;P&gt;What statistical test would you use for this analysis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dependent variable: response rate (Y/N)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Independent variable: U.S. state (there is a list of 10 states)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Control for recruitment method: categorical variable with 2 categories&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 14:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/754600#M36915</guid>
      <dc:creator>hein68</dc:creator>
      <dc:date>2021-07-16T14:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: multivariate analysis with categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/754601#M36916</link>
      <description>&lt;P&gt;There are probably a number of ways of handling this in SAS, but PROC LOGISTIC is where I would start.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 14:43:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/754601#M36916</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-07-16T14:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: multivariate analysis with categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/754605#M36917</link>
      <description>&lt;P&gt;General overview of Logistic regression&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.listendata.com/2013/04/logistic-regression-analysis-with-sas.html" target="_blank"&gt;https://www.listendata.com/2013/04/logistic-regression-analysis-with-sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS Specific example - I suggest you work through this before trying it with your data&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_logistic_examples02.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_logistic_examples02.htm&lt;/A&gt;&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/74483"&gt;@hein68&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;What statistical test would you use for this analysis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dependent variable: response rate (Y/N)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Independent variable: U.S. state (there is a list of 10 states)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Control for recruitment method: categorical variable with 2 categories&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 15:10:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/754605#M36917</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-07-16T15:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: multivariate analysis with categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/754726#M36918</link>
      <description>PROC CATMOD is designed for category variables anaylsis .</description>
      <pubDate>Sat, 17 Jul 2021 11:03:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/754726#M36918</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-07-17T11:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: multivariate analysis with categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/758423#M36923</link>
      <description>&lt;P&gt;You haven't said exactly what you want to test or estimate, which is a vital thing to state when asking for a recommendation on an analysis method. Assuming that what you want to do are pairwise comparisons among the states, then this could be most easily done using PROC LOGISTIC and the LSMEANS statement. For example, these statements would provide multiple comparisons among the states adjusted for recruitment. This assumes that the effect of recruitment is the same across the states... if not than the interaction needs to be included. The ILINK option gives the estimated adjusted probability of RESPONSE="Y" for each state. The DIFF option provides a table of tests comparing the states.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic;
class state recruitment / param=glm;
model response(event="Y")=state recruitment;
lsmeans state / ilink diff;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Jul 2021 15:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multivariate-analysis-with-categorical-variables/m-p/758423#M36923</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-07-30T15:28:08Z</dc:date>
    </item>
  </channel>
</rss>

