<?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: Analysis of Multivariate Categorical Data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Analysis-of-Multivariate-Categorical-Data/m-p/598095#M29115</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/77934"&gt;@mmohotsi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there no SAS Procedure that I can use for better analysis of this data?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What "better analysis" are you looking for? Describe how the analysis you have shown is not sufficient.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2019 12:06:21 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-10-21T12:06:21Z</dc:date>
    <item>
      <title>Analysis of Multivariate Categorical Data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Analysis-of-Multivariate-Categorical-Data/m-p/598010#M29110</link>
      <description>&lt;P&gt;Colleuges&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ma trying to analyse a data where there are FIVE areas where to find an impact. These Five areas are named SubA through to SubE. The independent variables are pH, Turbidity,...EC. If an impact is found, it is either found on one of the SubA..SubE. If an impact is found then it is represented by 1 otherwise 0; I tried to use the logistic regression for each SubA...SubE as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data=dataset1 outest = betas covout;&lt;/P&gt;&lt;P&gt;model SubA(event = '1') = Temp Salinity Turbidity Conductivity TC EC&lt;/P&gt;&lt;P&gt;/ selection = stepwise&lt;BR /&gt;slentry = 0.5&lt;BR /&gt;slstay = 0.5 details lackfit;&lt;BR /&gt;by Season;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data=dataset1 outest = betas covout;&lt;/P&gt;&lt;P&gt;model SubB(event = '1') = Temp Salinity Turbidity Conductivity TC EC&lt;/P&gt;&lt;P&gt;/ selection = stepwise&lt;BR /&gt;slentry = 0.5&lt;BR /&gt;slstay = 0.5 details lackfit;&lt;BR /&gt;by Season;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there no SAS Procedure that I can use for better analysis of this data?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 01:52:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Analysis-of-Multivariate-Categorical-Data/m-p/598010#M29110</guid>
      <dc:creator>mmohotsi</dc:creator>
      <dc:date>2019-10-21T01:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Analysis of Multivariate Categorical Data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Analysis-of-Multivariate-Categorical-Data/m-p/598016#M29111</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/77934"&gt;@mmohotsi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=dataset1 outest = betas covout;

model SubA(event = '1') = Temp Salinity Turbidity Conductivity TC EC

/ selection = stepwise
slentry = 0.5
slstay = 0.5 details lackfit;
by Season;

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;There are at least 3 issues in your problem.&lt;/P&gt;
&lt;P&gt;[1] the definition of dependent variable. For LR, it takes 0/1. You are mixing it with 5 Areas. I recommend you to use a new variable to hold 0 or 1 and use 5 areas as categorical independent variable.&lt;/P&gt;
&lt;P&gt;[2] The BY statement. The regression coefficients are determined using the number of covariate-patterns of the independent variables. It means the number of distinct patterns found in your data. The more that number better the betas. The use of BY might reduce that number. My suggestion is use SEASON as a categorical independent variable.&lt;/P&gt;
&lt;P&gt;[3] Stepwise Regression. There are two views on its need. Do not use it because SAS provides that option. Do LR first without it and if you have sufficient number of covariate patterns then try STEPWISE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 03:58:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Analysis-of-Multivariate-Categorical-Data/m-p/598016#M29111</guid>
      <dc:creator>KachiM</dc:creator>
      <dc:date>2019-10-21T03:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Analysis of Multivariate Categorical Data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Analysis-of-Multivariate-Categorical-Data/m-p/598095#M29115</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/77934"&gt;@mmohotsi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there no SAS Procedure that I can use for better analysis of this data?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What "better analysis" are you looking for? Describe how the analysis you have shown is not sufficient.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 12:06:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Analysis-of-Multivariate-Categorical-Data/m-p/598095#M29115</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-21T12:06:21Z</dc:date>
    </item>
  </channel>
</rss>

