<?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: Error message:  Invalid reference value for Health_Lit in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Error-message-Invalid-reference-value-for-Health-Lit/m-p/342805#M18032</link>
    <description>&lt;PRE&gt;

proc logistic data=XXX       descending              ;
by female;
class Health_Lit (ref='0') InsuranceType (ref='2') / order=internal;
model Medadh_c3 = PHQ8 GAD7 BL_PSS CIRS Health_Lit InsuranceType / link=glogit;
run;

&lt;/PRE&gt;</description>
    <pubDate>Tue, 21 Mar 2017 01:36:39 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2017-03-21T01:36:39Z</dc:date>
    <item>
      <title>Error message:  Invalid reference value for Health_Lit</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-message-Invalid-reference-value-for-Health-Lit/m-p/342793#M18029</link>
      <description>&lt;P&gt;I am trying to run the code below for SAS 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone see any errors that would prevent me for setting reference values as shown?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data=XXX;&lt;BR /&gt;by female;&lt;BR /&gt;class Health_Lit (ref='0') InsuranceType (ref='2') / order=internal;&lt;BR /&gt;model Medadh_c3 (descending) = PHQ8 GAD7 BL_PSS CIRS Health_Lit InsuranceType / link=glogit;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;LG&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 23:52:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-message-Invalid-reference-value-for-Health-Lit/m-p/342793#M18029</guid>
      <dc:creator>Lucette</dc:creator>
      <dc:date>2017-03-20T23:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error message:  Invalid reference value for Health_Lit</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-message-Invalid-reference-value-for-Health-Lit/m-p/342796#M18030</link>
      <description>&lt;P&gt;No, but since you've specified the ORDER option, I wonder if you have a formatted value and you're using the internal value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A small note from the documentation:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Specify the formatted value of the variable if a format is assigned.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_logistic_syntax05.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_logistic_syntax05.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, please post your code and error from the log, as well as a PROC CONTENTS from the input dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 00:05:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-message-Invalid-reference-value-for-Health-Lit/m-p/342796#M18030</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-21T00:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error message:  Invalid reference value for Health_Lit</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-message-Invalid-reference-value-for-Health-Lit/m-p/342805#M18032</link>
      <description>&lt;PRE&gt;

proc logistic data=XXX       descending              ;
by female;
class Health_Lit (ref='0') InsuranceType (ref='2') / order=internal;
model Medadh_c3 = PHQ8 GAD7 BL_PSS CIRS Health_Lit InsuranceType / link=glogit;
run;

&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Mar 2017 01:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-message-Invalid-reference-value-for-Health-Lit/m-p/342805#M18032</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-03-21T01:36:39Z</dc:date>
    </item>
  </channel>
</rss>

