<?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: Can I use chi-square tests to examine relation between clusters and other variables? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189308#M9848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Separation in this case would be a good thing - it means some variables are classify/categorizing your clusters well.&amp;nbsp; &lt;/P&gt;&lt;P&gt;It's worth looking into what variables caused the separation and if its truly predictive or a measurement error. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Nov 2014 17:11:38 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2014-11-27T17:11:38Z</dc:date>
    <item>
      <title>Can I use chi-square tests to examine relation between clusters and other variables?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189307#M9847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will someone please answer my statistically naive question: Can I use chi square to test for relationship (or independence) between clusters (produced by K-means, using 2 continuos variables) and categorical variables? I attempted a logistic regression but separation occurred and I could not correct for this and need an alternative. Note this is not medical data but a social science study of household demographics. Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 16:16:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189307#M9847</guid>
      <dc:creator>annasantos</dc:creator>
      <dc:date>2014-11-27T16:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use chi-square tests to examine relation between clusters and other variables?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189308#M9848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Separation in this case would be a good thing - it means some variables are classify/categorizing your clusters well.&amp;nbsp; &lt;/P&gt;&lt;P&gt;It's worth looking into what variables caused the separation and if its truly predictive or a measurement error. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 17:11:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189308#M9848</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-11-27T17:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use chi-square tests to examine relation between clusters and other variables?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189309#M9849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I am not a statistician and do not program and am using JMP for my analysis. I am unable to to determine the cause of separation. Also, to clarify, I have three clusters that emerged from k-means (using 2 variables: income, and %catch sold). I then wanted to test the relationship between the 3 clusters and other variables (location of household, habitat, gear, etc) as independent chi square tests. I am asking about the chi-square option because when I ran logistic regression (clusters-dependent: location of household, habitat, gear, etc-independent) separation occurred. In other words I am trying to determine if there is a relationship between market oriented households (from clusters) and their location, habitat they extract from etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand this may not be robust as regression but is it an option?&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 17:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189309#M9849</guid>
      <dc:creator>annasantos</dc:creator>
      <dc:date>2014-11-27T17:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use chi-square tests to examine relation between clusters and other variables?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189310#M9850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, assuming your observations (households, I assume) are independent, you could look at the association of each variable (ignoring all other variables) with the clusters by using PROC FREQ.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq;&lt;/P&gt;&lt;P&gt; table location*cluster / chisq;&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, to determine the partial effect of each variable after taking account of the effects of the other variables, you would need to either use stratification or a model-based approach.&amp;nbsp; The model-based approach would be a nominal (generalized logit) logistic model.&amp;nbsp; It sounds like you already tried this and it resulted in separation issues, probably due to the data being too sparse to support the model.&amp;nbsp; A possible alternative is stratification using the CMH option in PROC FREQ.&amp;nbsp; For example, this tests the effect of location after stratifying on habitat.&amp;nbsp; You may want the NOPRINT option to avoid printing all the separate location*cluster tables for the various habitat levels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq;&lt;/P&gt;&lt;P&gt; table habitat*location*cluster / cmh noprint;&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 21:51:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189310#M9850</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2014-12-01T21:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use chi-square tests to examine relation between clusters and other variables?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189311#M9851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, this is very helpful. I appreciate it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 22:13:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-I-use-chi-square-tests-to-examine-relation-between-clusters/m-p/189311#M9851</guid>
      <dc:creator>annasantos</dc:creator>
      <dc:date>2014-12-01T22:13:46Z</dc:date>
    </item>
  </channel>
</rss>

