<?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: Proc Rank in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145488#M38679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc rank data=temp4 out=temp4 groups=4;&lt;/P&gt;&lt;P&gt;var hisugbev;&lt;/P&gt;&lt;P&gt;ranks hisugbev4;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc phreg;&lt;/P&gt;&lt;P&gt;class hisugbev4 (ref='0');&lt;/P&gt;&lt;P&gt;model tpyrs*c5_1(0)= age hisugbev4/rl ties=efron;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Mar 2014 03:04:48 GMT</pubDate>
    <dc:creator>newguy1580</dc:creator>
    <dc:date>2014-03-16T03:04:48Z</dc:date>
    <item>
      <title>Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145485#M38676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding proc rank. I created quartiles in sas using proc rank and then ran phreg afterwards for my model. my output however has 2 parameter estimates instead of 3 (I set the lowest quartile as the reference) Can anyone explain to me why that I have only 2 parameter estimates? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2014 23:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145485#M38676</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-15T23:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145486#M38677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 02:10:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145486#M38677</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-16T02:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145487#M38678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post your code, based on what you've posted hard to say.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:01:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145487#M38678</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-16T03:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145488#M38679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc rank data=temp4 out=temp4 groups=4;&lt;/P&gt;&lt;P&gt;var hisugbev;&lt;/P&gt;&lt;P&gt;ranks hisugbev4;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc phreg;&lt;/P&gt;&lt;P&gt;class hisugbev4 (ref='0');&lt;/P&gt;&lt;P&gt;model tpyrs*c5_1(0)= age hisugbev4/rl ties=efron;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:04:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145488#M38679</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-16T03:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145489#M38680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case, I just get level 2 and level 3 parameter estimates and for some reason no level 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:05:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145489#M38680</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-16T03:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145490#M38681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could it be that all level=1 cases are censored? - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145490#M38681</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-03-16T03:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145491#M38682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me check my output and get back to you on that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145491#M38682</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-16T03:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145492#M38683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 36,945 total observations and 36,700 were censored leaving 245 actual cases, i personally don't think that's the reason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145492#M38683</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-16T03:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145493#M38684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try running&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc freq data=temp4 ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;table hisugbev4*c5_1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145493#M38684</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-03-16T03:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145494#M38685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the cross tab of censor and your new 4 level ranking?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:33:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145494#M38685</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-03-16T03:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145495#M38686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Did you want to include referential coding?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;You may also want to point explicitly to data=temp4&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc phreg data=temp4;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;class hisugbev4 (ref='0')/param=REF;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;model tpyrs*c5_1(0)= age hisugbev4/rl ties=efron;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;what happens when you run a proc freq, none of the cells are 0?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc freq data =temp4;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;table hisugbev4*c5_1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145495#M38686</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-16T03:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145496#M38687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I run proc freq, for level=0 (reference) I have a total of 16,875 people, level=2 11,014 and level=3 9,086 for a grand total of 36,975...so level=1 doesn't show up. I guess there was no one that had a value that fell into that particular quartile?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145496#M38687</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-16T03:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145497#M38688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried putting in data=temp4 next to the proc phreg statement and ran the model again but nothing different..i get the same output. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145497#M38688</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-16T03:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145498#M38689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must have a large fraction of &lt;STRONG style="font-size: 12.727272033691406px; background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hisugbev&lt;/STRONG&gt; values that are tied... You should reconsider the way you divide up that variable if you want to get a meaningful model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:44:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145498#M38689</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-03-16T03:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145499#M38690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So are you saying try quintiles or tertiles instead of quartiles?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:46:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145499#M38690</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-16T03:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145500#M38691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at your actual values in a histogram to decide a distribution. Sometimes there's genuine data intervals visible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure to add the param=ref option as well, sorry to repeat that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 03:49:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145500#M38691</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-16T03:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145501#M38692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt; I ran proc univariate for the variable hisugbev and it is very left-skewed, about 65% of the observations have a value of 0 so that would probably explain the missing parameter estimate. My professor said I can still create quartiles even with the skewed data. Is there any sort of ideas you may have in mind? The data goes from 0-18 so i thought i could do maybe like 0-4, 4-8, 8-12, 12+&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 00:31:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145501#M38692</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-17T00:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145502#M38693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would probably make sense. To be sure, try looking at the distribution of uncensored events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ods graphics on;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proc univariate data=temp4;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where c5_1 ne 0;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var hisugbev;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;histogram;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 01:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145502#M38693</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-03-17T01:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145503#M38694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The histogram is highly left-skewed, basically the same as the one after running proc univariate for hisugbev. Do you think then what I suggested would still be a reasonable idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 01:49:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145503#M38694</guid>
      <dc:creator>newguy1580</dc:creator>
      <dc:date>2014-03-17T01:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Rank</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145504#M38695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would simply make sure I have a fair share of uncensored events in each category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 02:01:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Rank/m-p/145504#M38695</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-03-17T02:01:24Z</dc:date>
    </item>
  </channel>
</rss>

