<?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: coding for median regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/coding-for-median-regression/m-p/419032#M22028</link>
    <description>&lt;P&gt;You can't.&amp;nbsp; You can change the level in a data step.&amp;nbsp; Prepend a 'Z' or something to the level you want to be the last level so it sorts last.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2017 01:40:58 GMT</pubDate>
    <dc:creator>WarrenKuhfeld</dc:creator>
    <dc:date>2017-12-07T01:40:58Z</dc:date>
    <item>
      <title>coding for median regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/coding-for-median-regression/m-p/419023#M22024</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS 9.4 full edition. I am trying to do a median regression analysis. I pasted the base code below but it's not working. I also pasted the error messages below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc quantreg ci=resampling;

class VARIABLE1 (param=ref ref='CONTROL');

model COST=VARIABLE1 VARIABLE2 VARIABLE3 / quantile=0.25 0.5 0.75; 

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, ;, -, /, :, _ALL_,&lt;BR /&gt;_CHARACTER_, _CHAR_, _NUMERIC_.&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much in advance for the help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Laura&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 01:02:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/coding-for-median-regression/m-p/419023#M22024</guid>
      <dc:creator>lmyers2</dc:creator>
      <dc:date>2017-12-07T01:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: coding for median regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/coding-for-median-regression/m-p/419024#M22025</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_qreg_syntax03.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_qreg_syntax03.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Different procedures have different CLASS statements due to historical evolution.&amp;nbsp; You are specifying options that do not exist in quantreg.&amp;nbsp; I provide a link to the syntax.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 01:14:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/coding-for-median-regression/m-p/419024#M22025</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-12-07T01:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: coding for median regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/coding-for-median-regression/m-p/419030#M22027</link>
      <description>&lt;P&gt;Thanks - the manual doesn't mention how to program the reference group though using class statement in proc quantreg.&amp;nbsp; Would someone mind posting sample code?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Laura&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 01:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/coding-for-median-regression/m-p/419030#M22027</guid>
      <dc:creator>lmyers2</dc:creator>
      <dc:date>2017-12-07T01:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: coding for median regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/coding-for-median-regression/m-p/419032#M22028</link>
      <description>&lt;P&gt;You can't.&amp;nbsp; You can change the level in a data step.&amp;nbsp; Prepend a 'Z' or something to the level you want to be the last level so it sorts last.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 01:40:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/coding-for-median-regression/m-p/419032#M22028</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-12-07T01:40:58Z</dc:date>
    </item>
  </channel>
</rss>

