<?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: Warning after proc reg in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849251#M42059</link>
    <description>&lt;P&gt;Thank you, Rick.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This step helped me to identify the variable causing the problem. I dropped the variable and I no longer get the warning.&lt;/P&gt;&lt;PRE class=""&gt;&lt;CODE&gt;proc contents data=n2_mc_cog_a short varnum;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 20:38:37 GMT</pubDate>
    <dc:creator>Dianasoria</dc:creator>
    <dc:date>2022-12-12T20:38:37Z</dc:date>
    <item>
      <title>Warning after proc reg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849096#M42055</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a linear regression model in SAS 9.4 for UNIX using the following code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data n2_mc_cog_a;&lt;BR /&gt;set n2_mc_cog;&lt;BR /&gt;if mr93oc5f ne .;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;%macro explore (dep=, indep=) ;&lt;BR /&gt;proc reg data=n2_mc_cog_a;&lt;BR /&gt;**base model-MAIN;&lt;BR /&gt;model &amp;amp;dep=&amp;amp;indep age93 agecog raced1 /clb ;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%mend explore ;&lt;/P&gt;&lt;P&gt;%explore (dep= outcome1, indep= mr93c4d2 mr93c4d3 mr93c4d4) ;&lt;BR /&gt;%explore (dep=outcome2, indep= mr93c4d2 mr93c4d3 mr93c4d4) ;&lt;BR /&gt;%explore (dep=outcome3, indep= mr93c4d2 mr93c4d3 mr93c4d4) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I keep getting the following warning&amp;nbsp;&lt;/P&gt;&lt;P&gt;13864&lt;span class="lia-unicode-emoji" title=":warning:"&gt;⚠️&lt;/span&gt; The variable _NAME_ or _TYPE_ exists in a data set that is not TYPE=CORR, COV, SSCP, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me get rid of the warning?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 14:05:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849096#M42055</guid>
      <dc:creator>Dianasoria</dc:creator>
      <dc:date>2022-12-12T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Warning after proc reg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849112#M42056</link>
      <description>&lt;P&gt;Does data set "n2_mc_cog" have a variable _TYPE_ or _NAME_.&amp;nbsp; You could rename or drop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/418659"&gt;@Dianasoria&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running a linear regression model in SAS 9.4 for UNIX using the following code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data n2_mc_cog_a;&lt;BR /&gt;set n2_mc_cog;&lt;BR /&gt;if mr93oc5f ne .;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;%macro explore (dep=, indep=) ;&lt;BR /&gt;proc reg data=n2_mc_cog_a;&lt;BR /&gt;**base model-MAIN;&lt;BR /&gt;model &amp;amp;dep=&amp;amp;indep age93 agecog raced1 /clb ;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%mend explore ;&lt;/P&gt;
&lt;P&gt;%explore (dep= outcome1, indep= mr93c4d2 mr93c4d3 mr93c4d4) ;&lt;BR /&gt;%explore (dep=outcome2, indep= mr93c4d2 mr93c4d3 mr93c4d4) ;&lt;BR /&gt;%explore (dep=outcome3, indep= mr93c4d2 mr93c4d3 mr93c4d4) ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I keep getting the following warning&amp;nbsp;&lt;/P&gt;
&lt;P&gt;13864&lt;span class="lia-unicode-emoji" title=":warning:"&gt;⚠️&lt;/span&gt; The variable _NAME_ or _TYPE_ exists in a data set that is not TYPE=CORR, COV, SSCP, etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help me get rid of the warning?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 14:54:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849112#M42056</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2022-12-12T14:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Warning after proc reg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849114#M42057</link>
      <description>&lt;P&gt;Apparently, your input data set contains a variable that has a special name that SAS uses for special purposes. You can use PROC CONTENTS to figure out which variable names you have:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=n2_mc_cog_a short varnum;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since the variable is not important in the regression, you can DROP it from the analysis, like so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data n2_mc_cog_a;
set n2_mc_cog;
if mr93oc5f ne .;
drop _NAME_ _TYPE_;  /* probably only need one of these variable names */
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Dec 2022 14:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849114#M42057</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-12-12T14:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Warning after proc reg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849249#M42058</link>
      <description>&lt;P&gt;Thank you! I identified the variable causing the problem and dropped it&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 20:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849249#M42058</guid>
      <dc:creator>Dianasoria</dc:creator>
      <dc:date>2022-12-12T20:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Warning after proc reg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849251#M42059</link>
      <description>&lt;P&gt;Thank you, Rick.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This step helped me to identify the variable causing the problem. I dropped the variable and I no longer get the warning.&lt;/P&gt;&lt;PRE class=""&gt;&lt;CODE&gt;proc contents data=n2_mc_cog_a short varnum;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 20:38:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Warning-after-proc-reg/m-p/849251#M42059</guid>
      <dc:creator>Dianasoria</dc:creator>
      <dc:date>2022-12-12T20:38:37Z</dc:date>
    </item>
  </channel>
</rss>

