<?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 Check categorical variable distribution in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216818#M11746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to check categorical variable distribution over a period of time. For example, the distribution of variable district code has changed over a period of time ( Time 0 - Period of model Development, time1 -&amp;nbsp; after one year).&lt;/P&gt;&lt;P&gt;I perform the following analysis for numeric variables.&lt;/P&gt;&lt;P&gt;Step 1 -&amp;nbsp; Rank variable into 10 group (decile) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, sans-serif; font-size: 16px; font-style: italic; background-color: #fdfdfd;"&gt;Step 2- (% of records based on variable in Scoring Sample (A) - % of records based on variable in Training Sample (B)) * In(A/ B)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, sans-serif; font-size: 16px; font-style: italic; background-color: #fdfdfd;"&gt;Step 3 -&amp;nbsp; Then sum up the scores in step2 on 10 groups&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, sans-serif; font-size: 16px; font-style: italic; background-color: #fdfdfd;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, sans-serif; font-size: 16px; font-style: italic; background-color: #fdfdfd;"&gt;I'm little bit skeptical about the same analysis for categorical variables.&amp;nbsp; I guess chi square analysis isn't correct technique to check it. Am i correct? What's the correct way? &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 21:04:11 GMT</pubDate>
    <dc:creator>Ujjawal</dc:creator>
    <dc:date>2015-08-04T21:04:11Z</dc:date>
    <item>
      <title>Check categorical variable distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216818#M11746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to check categorical variable distribution over a period of time. For example, the distribution of variable district code has changed over a period of time ( Time 0 - Period of model Development, time1 -&amp;nbsp; after one year).&lt;/P&gt;&lt;P&gt;I perform the following analysis for numeric variables.&lt;/P&gt;&lt;P&gt;Step 1 -&amp;nbsp; Rank variable into 10 group (decile) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, sans-serif; font-size: 16px; font-style: italic; background-color: #fdfdfd;"&gt;Step 2- (% of records based on variable in Scoring Sample (A) - % of records based on variable in Training Sample (B)) * In(A/ B)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, sans-serif; font-size: 16px; font-style: italic; background-color: #fdfdfd;"&gt;Step 3 -&amp;nbsp; Then sum up the scores in step2 on 10 groups&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, sans-serif; font-size: 16px; font-style: italic; background-color: #fdfdfd;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, sans-serif; font-size: 16px; font-style: italic; background-color: #fdfdfd;"&gt;I'm little bit skeptical about the same analysis for categorical variables.&amp;nbsp; I guess chi square analysis isn't correct technique to check it. Am i correct? What's the correct way? &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 21:04:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216818#M11746</guid>
      <dc:creator>Ujjawal</dc:creator>
      <dc:date>2015-08-04T21:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Check categorical variable distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216819#M11747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the the options in proc freq, there's a test for trends over time. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 21:31:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216819#M11747</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-04T21:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Check categorical variable distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216820#M11748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which test? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 04:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216820#M11748</guid>
      <dc:creator>Ujjawal</dc:creator>
      <dc:date>2015-08-05T04:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Check categorical variable distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216821#M11749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This categorical variable is nominal or ordered ?&lt;/P&gt;&lt;P&gt;and how many levels does this variable have ?&lt;/P&gt;&lt;P&gt;If two level , you could try&amp;nbsp; TRAND analysis.&lt;/P&gt;&lt;P&gt;tables var * time / trend cl ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise , try MEASURE analysis.&lt;/P&gt;&lt;P&gt;tables var* Dose / measures cl;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 13:02:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216821#M11749</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-08-05T13:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Check categorical variable distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216822#M11750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TREND test&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 14:30:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216822#M11750</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-05T14:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Check categorical variable distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216823#M11751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trend test is only for 2*N matrix , if I was right . while MEASURE(Association test) is for N*M matrix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 14:46:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216823#M11751</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-08-05T14:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Check categorical variable distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216824#M11752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OP mentioned 2*N - Time before and Time after measurements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 14:50:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Check-categorical-variable-distribution/m-p/216824#M11752</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-05T14:50:16Z</dc:date>
    </item>
  </channel>
</rss>

