<?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: Format and ref value in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542641#M149941</link>
    <description>&lt;P&gt;proc logistic data= pe. matched_21_plus_co_inf_updated;&lt;BR /&gt;strata group;&lt;BR /&gt;class CMV_IgG_rev (ref='2');&lt;BR /&gt;model PEstatus (event='1')= CMV_IgG_rev;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;316 proc logistic data= pe. matched_21_plus_co_inf_updated;&lt;BR /&gt;NOTE: Data file PE.MATCHED_21_PLUS_CO_INF_UPDATED.DATA is in a format that is native to another&lt;BR /&gt;host, or the file encoding does not match the session encoding. Cross Environment Data Access&lt;BR /&gt;will be used, which might require additional CPU resources and might reduce performance.&lt;BR /&gt;317 strata group;&lt;BR /&gt;318 class CMV_IgG_rev (ref='2');&lt;BR /&gt;319 model PEstatus (event='1')= CMV_IgG_rev;&lt;BR /&gt;320 run;&lt;/P&gt;&lt;P&gt;ERROR: Invalid reference value for CMV_IgG_rev.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: There were 78 observations read from the data set PE.MATCHED_21_PLUS_CO_INF_UPDATED.&lt;BR /&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2019 02:51:57 GMT</pubDate>
    <dc:creator>wajs</dc:creator>
    <dc:date>2019-03-13T02:51:57Z</dc:date>
    <item>
      <title>Format and ref value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542633#M149934</link>
      <description>&lt;P&gt;Hi, I am working on a dataset with microorganisms. For Proc format, my values are CMV_IgG_rev 1.'Present', 2.'Absent'. In Proc logistic, I put (ref='Absent') or (ref='2'), log turns out invalid reference value. Please guide me.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 02:23:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542633#M149934</guid>
      <dc:creator>wajs</dc:creator>
      <dc:date>2019-03-13T02:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Format and ref value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542640#M149940</link>
      <description>&lt;P&gt;Please post the code, or better, the log of the format and logistic proc calls.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 02:46:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542640#M149940</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-03-13T02:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Format and ref value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542641#M149941</link>
      <description>&lt;P&gt;proc logistic data= pe. matched_21_plus_co_inf_updated;&lt;BR /&gt;strata group;&lt;BR /&gt;class CMV_IgG_rev (ref='2');&lt;BR /&gt;model PEstatus (event='1')= CMV_IgG_rev;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;316 proc logistic data= pe. matched_21_plus_co_inf_updated;&lt;BR /&gt;NOTE: Data file PE.MATCHED_21_PLUS_CO_INF_UPDATED.DATA is in a format that is native to another&lt;BR /&gt;host, or the file encoding does not match the session encoding. Cross Environment Data Access&lt;BR /&gt;will be used, which might require additional CPU resources and might reduce performance.&lt;BR /&gt;317 strata group;&lt;BR /&gt;318 class CMV_IgG_rev (ref='2');&lt;BR /&gt;319 model PEstatus (event='1')= CMV_IgG_rev;&lt;BR /&gt;320 run;&lt;/P&gt;&lt;P&gt;ERROR: Invalid reference value for CMV_IgG_rev.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: There were 78 observations read from the data set PE.MATCHED_21_PLUS_CO_INF_UPDATED.&lt;BR /&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 02:51:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542641#M149941</guid>
      <dc:creator>wajs</dc:creator>
      <dc:date>2019-03-13T02:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Format and ref value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542642#M149942</link>
      <description>&lt;P&gt;If you think the variable is numeric with single digit values then try using a format statement to make sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data= pe. matched_21_plus_co_inf_updated;
  strata group;
  class CMV_IgG_rev (ref='2');
  format CMV_IgG_rev 1.;
  model PEstatus (event='1')= CMV_IgG_rev;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Mar 2019 03:07:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542642#M149942</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-03-13T03:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Format and ref value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542658#M149947</link>
      <description>&lt;P&gt;&lt;BR /&gt;990 proc logistic data= pe. matched_21_plus_co_inf_updated;&lt;BR /&gt;NOTE: Data file PE.MATCHED_21_PLUS_CO_INF_UPDATED.DATA is in a format that is native to another&lt;BR /&gt;host, or the file encoding does not match the session encoding. Cross Environment Data Access&lt;BR /&gt;will be used, which might require additional CPU resources and might reduce performance.&lt;BR /&gt;991 strata group;&lt;BR /&gt;992 class CMV_IgG_rev (ref='2');&lt;BR /&gt;993 format CMV_IgG_rev 1.;&lt;BR /&gt;994 model PEstatus (event='1')= CMV_IgG_rev;&lt;BR /&gt;995 run;&lt;/P&gt;&lt;P&gt;ERROR: Invalid reference value for CMV_IgG_rev.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: There were 78 observations read from the data set PE.MATCHED_21_PLUS_CO_INF_UPDATED.&lt;BR /&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;BR /&gt;real time 0.20 seconds&lt;BR /&gt;cpu time 0.12 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 04:52:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542658#M149947</guid>
      <dc:creator>wajs</dc:creator>
      <dc:date>2019-03-13T04:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Format and ref value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542681#M149957</link>
      <description>&lt;P&gt;Maxim 3: Know Your Data.&lt;/P&gt;
&lt;P&gt;Run a proc contents on your dataset (to see the type of CMV_IgG_rev) and a proc freq for variable CMV_IgG_rev.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 08:34:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542681#M149957</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-13T08:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Format and ref value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542789#M150003</link>
      <description>&lt;P&gt;Look at what is in your dataset.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  set PE.MATCHED_21_PLUS_CO_INF_UPDATED;
  formatted=quote(trim(vvalue( CMV_IgG_rev)));
  raw =  CMV_IgG_rev  ;
run;
proc freq ;
  tables raw*formatted / list missing;
run;
  &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Mar 2019 13:55:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542789#M150003</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-03-13T13:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Format and ref value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542841#M150032</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the guidance! There was issue with my values in throriginal dataset which I could find after running proc freq.&lt;/P&gt;&lt;P&gt;wajs&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 15:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542841#M150032</guid>
      <dc:creator>wajs</dc:creator>
      <dc:date>2019-03-13T15:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Format and ref value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542842#M150033</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;Thanks for this advice!&lt;/P&gt;&lt;P&gt;Here is the output; what should do wth "."?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;TABLE cellspacing="1" cellpadding="1" border="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The SAS System&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;DIV class="c proctitle"&gt;The FREQ Procedure&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;raw formatted Frequency Percent CumulativeFrequency CumulativePercent. " ."0 " 0"1 " 1" &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;6.41&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;6.41&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;51.28&lt;/TD&gt;&lt;TD&gt;45&lt;/TD&gt;&lt;TD&gt;57.69&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;33&lt;/TD&gt;&lt;TD&gt;42.31&lt;/TD&gt;&lt;TD&gt;78&lt;/TD&gt;&lt;TD&gt;100.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Mar 2019 15:51:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-and-ref-value/m-p/542842#M150033</guid>
      <dc:creator>wajs</dc:creator>
      <dc:date>2019-03-13T15:51:56Z</dc:date>
    </item>
  </channel>
</rss>

