<?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 help with least median square regression problem in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/help-with-least-median-square-regression-problem/m-p/57405#M16004</link>
    <description>I am having problem with LMS regression problem.&lt;BR /&gt;
&lt;BR /&gt;
I have setup a work file from a microsoft excel file - homework.xls.  The file is two columns (y value is called dSC, x value column is drG1)&lt;BR /&gt;
&lt;BR /&gt;
I setup the following program in the editor:&lt;BR /&gt;
&lt;BR /&gt;
data work.homework;&lt;BR /&gt;
&lt;BR /&gt;
array ab{2} _ALL_;&lt;BR /&gt;
a=ab[,2]; b=ab[,1];&lt;BR /&gt;
&lt;BR /&gt;
print "*** Homework LMS regression ***";&lt;BR /&gt;
   optn = j(9,1,.);&lt;BR /&gt;
   optn[2]=3;&lt;BR /&gt;
   optn[3]=3;&lt;BR /&gt;
   optn[8]=3;&lt;BR /&gt;
call lms(sc,coef,wgt,optn,b,a);&lt;BR /&gt;
&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I am getting an error with the array setup portion of the program.  Also, I am getting an error where SAS is saying that the LMS subroutine is not setup properly.  Any help is greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Basically, I want to simply run least median regression on a two column dataset from the excel file homework.xls.  Nothing fancy.  Thanks alot in advance.</description>
    <pubDate>Tue, 28 Oct 2008 18:48:45 GMT</pubDate>
    <dc:creator>snelliri</dc:creator>
    <dc:date>2008-10-28T18:48:45Z</dc:date>
    <item>
      <title>help with least median square regression problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/help-with-least-median-square-regression-problem/m-p/57405#M16004</link>
      <description>I am having problem with LMS regression problem.&lt;BR /&gt;
&lt;BR /&gt;
I have setup a work file from a microsoft excel file - homework.xls.  The file is two columns (y value is called dSC, x value column is drG1)&lt;BR /&gt;
&lt;BR /&gt;
I setup the following program in the editor:&lt;BR /&gt;
&lt;BR /&gt;
data work.homework;&lt;BR /&gt;
&lt;BR /&gt;
array ab{2} _ALL_;&lt;BR /&gt;
a=ab[,2]; b=ab[,1];&lt;BR /&gt;
&lt;BR /&gt;
print "*** Homework LMS regression ***";&lt;BR /&gt;
   optn = j(9,1,.);&lt;BR /&gt;
   optn[2]=3;&lt;BR /&gt;
   optn[3]=3;&lt;BR /&gt;
   optn[8]=3;&lt;BR /&gt;
call lms(sc,coef,wgt,optn,b,a);&lt;BR /&gt;
&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I am getting an error with the array setup portion of the program.  Also, I am getting an error where SAS is saying that the LMS subroutine is not setup properly.  Any help is greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Basically, I want to simply run least median regression on a two column dataset from the excel file homework.xls.  Nothing fancy.  Thanks alot in advance.</description>
      <pubDate>Tue, 28 Oct 2008 18:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/help-with-least-median-square-regression-problem/m-p/57405#M16004</guid>
      <dc:creator>snelliri</dc:creator>
      <dc:date>2008-10-28T18:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: help with least median square regression problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/help-with-least-median-square-regression-problem/m-p/57406#M16005</link>
      <description>These IML examples should help.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/imlug/59656/HTML/default/robustregexpls.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/imlug/59656/HTML/default/robustregexpls.htm&lt;/A&gt;</description>
      <pubDate>Wed, 29 Oct 2008 13:01:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/help-with-least-median-square-regression-problem/m-p/57406#M16005</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2008-10-29T13:01:49Z</dc:date>
    </item>
  </channel>
</rss>

