<?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 Ordinal predictors in Quantreg in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Ordinal-predictors-in-Quantreg/m-p/774939#M37912</link>
    <description>&lt;P&gt;Dear SAS experts,&lt;/P&gt;
&lt;P&gt;I have two variables income (4 levels) and education (3 levels) that I would like to use as predictors for quantile regression.&amp;nbsp; I coded them as class variables but I believe it would be more correct to define them as ordinal. Is it possible to define independent variables as ordinal in Quantreg?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc quantreg data=Mydata CI=resampling order =internal;&lt;BR /&gt;class Income education mammography&lt;SPAN style="font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;format Income Income. Education edu.;&lt;BR /&gt;model DependentV = Income Age|Age education&amp;nbsp; mammography / diagnostics quantile=0.25 0.5 0.75 covb&lt;BR /&gt;plots= quantplot ;&lt;BR /&gt;test income/LR rankscore wald;&lt;BR /&gt;ods output parameterestimates = PMSQUANT;&lt;BR /&gt;run;quit;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Oct 2021 17:24:57 GMT</pubDate>
    <dc:creator>Giampaolo</dc:creator>
    <dc:date>2021-10-18T17:24:57Z</dc:date>
    <item>
      <title>Ordinal predictors in Quantreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Ordinal-predictors-in-Quantreg/m-p/774939#M37912</link>
      <description>&lt;P&gt;Dear SAS experts,&lt;/P&gt;
&lt;P&gt;I have two variables income (4 levels) and education (3 levels) that I would like to use as predictors for quantile regression.&amp;nbsp; I coded them as class variables but I believe it would be more correct to define them as ordinal. Is it possible to define independent variables as ordinal in Quantreg?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc quantreg data=Mydata CI=resampling order =internal;&lt;BR /&gt;class Income education mammography&lt;SPAN style="font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;format Income Income. Education edu.;&lt;BR /&gt;model DependentV = Income Age|Age education&amp;nbsp; mammography / diagnostics quantile=0.25 0.5 0.75 covb&lt;BR /&gt;plots= quantplot ;&lt;BR /&gt;test income/LR rankscore wald;&lt;BR /&gt;ods output parameterestimates = PMSQUANT;&lt;BR /&gt;run;quit;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 17:24:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Ordinal-predictors-in-Quantreg/m-p/774939#M37912</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2021-10-18T17:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ordinal predictors in Quantreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Ordinal-predictors-in-Quantreg/m-p/774956#M37914</link>
      <description>&lt;P&gt;No. Some SAS regression procedures enable you to specify an ordinal variable for the RESPONSE variable, but I don't think ordinal INDEPENDENT variables are supported on the CLASS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some people code ordinal explanatory variables (Likert variables) as evenly spaced integers, such as -1, 0, +1 for "disagree", "neutral", and "agree". You would then treat the variable as a continuous variable and NOT put it on the CLASS statement.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 17:48:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Ordinal-predictors-in-Quantreg/m-p/774956#M37914</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-10-18T17:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ordinal predictors in Quantreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Ordinal-predictors-in-Quantreg/m-p/774963#M37915</link>
      <description>Thank you!</description>
      <pubDate>Mon, 18 Oct 2021 18:28:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Ordinal-predictors-in-Quantreg/m-p/774963#M37915</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2021-10-18T18:28:04Z</dc:date>
    </item>
  </channel>
</rss>

