<?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: Label2 error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Label2-error/m-p/408870#M67138</link>
    <description>&lt;P&gt;Open your t0 data set and see which variable has the value RSQuare and replace it with that variable name instead.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2017 19:19:00 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-10-30T19:19:00Z</dc:date>
    <item>
      <title>Label2 error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Label2-error/m-p/408860#M67137</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code below is from the following link (&lt;A href="https://stats.idre.ucla.edu/sas/faq/how-can-i-bootstrap-estimates-in-sas/" target="_self"&gt;https://stats.idre.ucla.edu/sas/faq/how-can-i-bootstrap-estimates-in-sas/&lt;/A&gt;) for bootstrapping. I am trying to run this code, but I get an error msg in the beginning. "Label2" seems to be uninitialized.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basic statistics are saved into dataset t0, and we are trying to save the value where the&amp;nbsp; label says RSquare.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My code is the following:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;output&lt;/SPAN&gt; FitStatistics = t0;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;&lt;STRONG&gt;glm&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;data&lt;/SPAN&gt;=data_predict;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;class&lt;/SPAN&gt; year (ref=&lt;SPAN class="s3"&gt;"2010"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;model&lt;/SPAN&gt; cost=contract|year|age|female /&lt;SPAN class="s1"&gt;solution&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s4"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN class="s4"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p4"&gt;*store the estimated r-square;&lt;/P&gt;&lt;P class="p5"&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt; _null_&lt;SPAN class="s4"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;set&lt;/SPAN&gt; t0;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;if&lt;/SPAN&gt; label2=&lt;SPAN class="s3"&gt;"RSquare"&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;then&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;call&lt;/SPAN&gt; symput(&lt;SPAN class="s3"&gt;'r2bar'&lt;/SPAN&gt;, cvalue2);&lt;/P&gt;&lt;P class="p2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s4"&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 19:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Label2-error/m-p/408860#M67137</guid>
      <dc:creator>GKati</dc:creator>
      <dc:date>2017-10-30T19:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Label2 error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Label2-error/m-p/408870#M67138</link>
      <description>&lt;P&gt;Open your t0 data set and see which variable has the value RSQuare and replace it with that variable name instead.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 19:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Label2-error/m-p/408870#M67138</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-30T19:19:00Z</dc:date>
    </item>
  </channel>
</rss>

