<?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: PROC LOGISTIC: Invalid reference value in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772500#M31082</link>
    <description>&lt;P&gt;Show your log for that data step.&lt;/P&gt;
&lt;P&gt;The code you show for mitosis (and WND_inf and WND_NEC) will generate errors:&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;if mit_w = ' 'yes' then mitosis = '1'; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See the two ' after equal? That is the comparison, Yes would be treated as a variable in an incorrect position and I expect you get many other errors from unbalanced quotes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even the code you show has the color coding indicating that your code has unbalance quotes. Look at the places where YES appears black - that is a variable, vs the colored version inside quotes such as after COMP_W.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;General hint: ALWAYS show code from the log with all the messages.&lt;/P&gt;
&lt;P&gt;Did you check the log after the data step? It is quite likely that your Proc Logistic code is using a previous version of the data set, possibly with different variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 17:29:31 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-10-06T17:29:31Z</dc:date>
    <item>
      <title>PROC LOGISTIC: Invalid reference value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772490#M31078</link>
      <description>&lt;P&gt;I'm using a data set called groin; it collects data on groin dissection surgery.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Y is a binary dummy variable for any complications.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;X's include patient, disease, and treatment characteristics. This is but a sample of my data and it includes wound infection (binary), wound necrosis (binary), mitosis (binary), patient cancer status (binary), and operative time in min (continuous).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've done assessments in frequencies and univariate logistic models; everything went smoothly.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data groin (keep = patient_id comp wnd_inf wnd_nec mitosis stats op_time); 
set raw_data; 
&lt;STRONG&gt;/*Complications*/&lt;/STRONG&gt;
if comp_w = 'yes' then comp = '1'; 
if comp_w = 'no' then comp = '0';
&lt;STRONG&gt;/*Wound infection*/&lt;/STRONG&gt;
if wnd_w = 'yes' then wnd_inf= '1'; 
if wnd_w  = 'no' then wnd_inf = '0';
&lt;STRONG&gt;/*Wound necrosis*/&lt;/STRONG&gt;
if nec_w = 'yes' then wnd_nec = '1'; 
if nec_w  = 'no' then wnd_nec = '0';
&lt;STRONG&gt;/*Mitosis*/&lt;/STRONG&gt;
if mit_w = ' 'yes' then mitosis = '1'; 
if mit_w  = 'no' then mitosis = '0';
&lt;STRONG&gt;/*Current cancer status*/&lt;/STRONG&gt;
if pt_stat = 'cancer free' then stats = '0';
if pt_stat = 'recurred' then stats = '1'; run; 

&lt;STRONG&gt;/*Example of univariate log reg*/&lt;/STRONG&gt;
proc logisitc data = groin descending; 
class mitosis (ref = '0') /param = ref; 
model comp = mitosis/ clodds = wald orpvalue; run; 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However, when doing the full model following this code, the error of INVALID REFERENCE VALUE shows up for mitosis&lt;/P&gt;
&lt;PRE&gt;proc logisitc data = groin descending; 
class mitosis (ref = '0') &lt;BR /&gt;&lt;CODE class=" language-sas"&gt;wnd_inf (ref = '0') &lt;BR /&gt;wnd_nec (ref = '0')  &lt;BR /&gt;stats&amp;nbsp;(ref = '0') &lt;BR /&gt;op_time&lt;/CODE&gt; /param = ref; model comp = &lt;CODE class=" language-sas"&gt;wnd_inf wnd_nec mitosis stats op_time&lt;/CODE&gt;/ clodds = wald orpvalue; run;&lt;/PRE&gt;
&lt;P&gt;Why would it work in the small model but not the full?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the log that accompanies my real code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*Small model*/
9543          proc logistic data = ga_2 descending;   /*Desceding puts complication = 1 as the
9543! reference group*/
9544                                                              /*Therefore it acesses the
9544! probability of having complication*/
9545                              class   sex_num  (ref = '0')
9546                                      thickness_num   (ref = '0')
9547                                      hist_num (ref = '0')
9548                                      mitosis_bin (ref = '0')
9549                                      ulcer_num   (ref = '0')
9550                                      lvi_num (ref = '0')
9551                                      regression_num (ref = '0')
9552                                      smoker_num  (ref = '0')
9553                                      diabetes_num (ref = '0')
9554                                      card_num (ref = '0')
9555                                      hypo_th_num (ref = '0')
9556                                      staff       (ref = '1')
9557                                      present_num (ref = '0')
9558                                      indication_num (ref = '0')
9559                                      dissec_num  (ref = '0')
9560                                      op_time
9561                                      blood_loss
9562                                      dur_immobile
9563                                      dur_postop_ab
9564                                      hosp_stay
9565                                      tot_ln
9566                                      tot_pos_ln
9567                                      neo_num (ref = '0')
9568                                      sys_num (ref = '0')
9569                                      adj_rt_num (ref = '0')
9570                                      recur_site_num  (ref = '1')
9571                                      /param = ref;
9572
9573                              model COMP_NUM =
9574                                  sex_num
9575                                  thickness_num   hist_num
9576                                  mitosis_bin
9577                                  ulcer_num       lvi_num     regression_num
9578                                  smoker_num  diabetes_num    card_num
9579                                  hypo_th_num
9580                                  staff   present_num     indication_num
9581                                  dissec_num  op_time  blood_loss     no_drains_left
9581! dur_immobile    dur_postop_ab   hosp_stay
9582                                  tot_ln  tot_pos_ln
9583                                  neo_num     sys_num     adj_rt_num
9584                                  recur_site_num
9585                                  / clodds = wald orpvalue;
9586                              title 'Multivariate Analyses, all variables'; run;

ERROR: Invalid reference value for mitosis_bin.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 141 observations read from the data set WORK.GA_2.
NOTE: PROCEDURE LOGISTIC used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Oct 2021 17:41:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772490#M31078</guid>
      <dc:creator>deengyn</dc:creator>
      <dc:date>2021-10-06T17:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC: Invalid reference value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772493#M31080</link>
      <description>&lt;P&gt;Did your data step run?&amp;nbsp; There are extra quotes in the code you posted.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if wnd_w = ' 'yes' then wnd_inf= '1';&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Oct 2021 17:11:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772493#M31080</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-10-06T17:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC: Invalid reference value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772500#M31082</link>
      <description>&lt;P&gt;Show your log for that data step.&lt;/P&gt;
&lt;P&gt;The code you show for mitosis (and WND_inf and WND_NEC) will generate errors:&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;if mit_w = ' 'yes' then mitosis = '1'; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See the two ' after equal? That is the comparison, Yes would be treated as a variable in an incorrect position and I expect you get many other errors from unbalanced quotes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even the code you show has the color coding indicating that your code has unbalance quotes. Look at the places where YES appears black - that is a variable, vs the colored version inside quotes such as after COMP_W.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;General hint: ALWAYS show code from the log with all the messages.&lt;/P&gt;
&lt;P&gt;Did you check the log after the data step? It is quite likely that your Proc Logistic code is using a previous version of the data set, possibly with different variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 17:29:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772500#M31082</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-06T17:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC: Invalid reference value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772503#M31083</link>
      <description>Apologies, it did indeed run; this is a sample example and I mistyped</description>
      <pubDate>Wed, 06 Oct 2021 17:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772503#M31083</guid>
      <dc:creator>deengyn</dc:creator>
      <dc:date>2021-10-06T17:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC: Invalid reference value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772504#M31084</link>
      <description>Apologies, the code shared above is an edited version of what I have on my set (since it has a total of 23 variables). &lt;BR /&gt;The original code does indeed run. &lt;BR /&gt;&lt;BR /&gt;Thank you, I'll add the log now and transfer it from the server.</description>
      <pubDate>Wed, 06 Oct 2021 17:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772504#M31084</guid>
      <dc:creator>deengyn</dc:creator>
      <dc:date>2021-10-06T17:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC: Invalid reference value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772514#M31087</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/326508"&gt;@deengyn&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Apologies, the code shared above is an edited version of what I have on my set (since it has a total of 23 variables). &lt;BR /&gt;The original code does indeed run. &lt;BR /&gt;&lt;BR /&gt;Thank you, I'll add the log now and transfer it from the server.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your first post references Mitosis, the error is showing as Mitosis_bin, which is not shown in the data step. So one suspects more is missing.&lt;/P&gt;
&lt;P&gt;Perhaps paste the code from the LOG for the data step as well. Or perhaps Proc Freq output for the variable Mitosis_bin.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 18:21:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772514#M31087</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-06T18:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC: Invalid reference value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772780#M31108</link>
      <description>&lt;P&gt;So, here is the frequency output:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deengyn_0-1633618532601.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64471iCEC89689BD9BE9CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deengyn_0-1633618532601.png" alt="deengyn_0-1633618532601.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general, these are all the variables:&lt;/P&gt;
&lt;TABLE width="623px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="83px"&gt;
&lt;P&gt;Variable&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="83px"&gt;
&lt;P&gt;Number of outputs used&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="83px"&gt;
&lt;P&gt;Number of outputs missing&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="83px"&gt;
&lt;P&gt;Variable description&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sex&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Binary&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thickness&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Categorical, discrete&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Histology, subtype&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Binary&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mitosis&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;68&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;73&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Binary&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ulceration&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;78&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;63&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Binary&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LVI&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;69&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;72&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Binary&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Regression&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;63&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;78&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Binary&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Smoker&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;116&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;25&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Binary&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;9.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Diabetes&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Binary&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;10.&amp;nbsp;&amp;nbsp; Cardiac disease&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Binary&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;11.&amp;nbsp;&amp;nbsp; Hypothyroidism&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Binary&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="56px"&gt;
&lt;P&gt;12.&amp;nbsp;&amp;nbsp; Staff/surgeon&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="56px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="56px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="56px"&gt;
&lt;P&gt;Categorical, discrete&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="56px"&gt;
&lt;P&gt;13.&amp;nbsp;&amp;nbsp; Presentation&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="56px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="56px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="56px"&gt;
&lt;P&gt;Categorical, discrete&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="56px"&gt;
&lt;P&gt;14.&amp;nbsp;&amp;nbsp; Indication&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="56px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="56px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="56px"&gt;
&lt;P&gt;Categorical, discrete&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="56px"&gt;
&lt;P&gt;15.&amp;nbsp;&amp;nbsp; Dissection type&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="56px"&gt;
&lt;P&gt;139&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="56px"&gt;
&lt;P&gt;2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="56px"&gt;
&lt;P&gt;Categorical, discrete&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;16.&amp;nbsp;&amp;nbsp; OP time&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;133&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;8&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Continuous&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;17.&amp;nbsp;&amp;nbsp; Blood loss&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;91&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;50&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Continuous&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;18.&amp;nbsp;&amp;nbsp; Number of drains left&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Continuous&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;19.&amp;nbsp;&amp;nbsp; Duration of immobility&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;79&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;62&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Continuous&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="56px"&gt;
&lt;P&gt;20.&amp;nbsp;&amp;nbsp; Duration of post-op AB use&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="56px"&gt;
&lt;P&gt;80&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="56px"&gt;
&lt;P&gt;61&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="56px"&gt;
&lt;P&gt;Continuous&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;21.&amp;nbsp;&amp;nbsp; Total hospital stay&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;80&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;61&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Continuous&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;22.&amp;nbsp;&amp;nbsp; Total LN&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;140&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Continuous&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="214.653px" height="29px"&gt;
&lt;P&gt;23.&amp;nbsp;&amp;nbsp; Total positive LN&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.483px" height="29px"&gt;
&lt;P&gt;141&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96.8924px" height="29px"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.8472px" height="29px"&gt;
&lt;P&gt;Continuous&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code runs after removing MITOSIS_BINARY, but the numbers are all so weird. Some variables don't show up, the one of the continuous variables is seen as categorical.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deengyn_1-1633618862974.png" style="width: 449px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64473i6E6700D003F3504F/image-dimensions/449x572?v=v2" width="449" height="572" role="button" title="deengyn_1-1633618862974.png" alt="deengyn_1-1633618862974.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 15:01:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Invalid-reference-value/m-p/772780#M31108</guid>
      <dc:creator>deengyn</dc:creator>
      <dc:date>2021-10-07T15:01:21Z</dc:date>
    </item>
  </channel>
</rss>

