<?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: How to include the name of the dependent variable in regression output from PROC Model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-include-the-name-of-the-dependent-variable-in-regression/m-p/687015#M33109</link>
    <description>&lt;P&gt;Well, that's a bummer. I suppose you will have to use ODS OUTPUT to save another table that includes the name of the response variable. You can then merge the two data sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This might get you started:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc model ...;
...
   ODS Output parameterestimates = Out1 ResidSummary=RS;
QUIT;

data Out;
merge Out1 RS(keep=Equation) ;
by Parameter notsorted;
run;

proc print data=Out;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 27 Sep 2020 10:28:33 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2020-09-27T10:28:33Z</dc:date>
    <item>
      <title>How to include the name of the dependent variable in regression output from PROC Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-include-the-name-of-the-dependent-variable-in-regression/m-p/687009#M33106</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to use the Proc Model statement to perform a regression of variable xy on a constant to determine the significance of the average coefficient. My problem is that the name of the dependent variable (xy) is not included in the output (please see figure below). When I used the Proc Reg statement the name of the dependent variable was always included in the Output (using ODS Output parameterestimates), but I do not know how I can include the name using Proc Model. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would be very grateful for any help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Proc Model.JPG" style="width: 685px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49836i35E763ABA19356C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Proc Model.JPG" alt="Proc Model.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc Model Data=Input;
parms b0;
Instruments / Intonly;
xy = b0;
Fit xy;
ODS Output parameterestimates = Out;
Run; Quit;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Sep 2020 07:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-include-the-name-of-the-dependent-variable-in-regression/m-p/687009#M33106</guid>
      <dc:creator>Tim_sas_</dc:creator>
      <dc:date>2020-09-27T07:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to include the name of the dependent variable in regression output from PROC Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-include-the-name-of-the-dependent-variable-in-regression/m-p/687015#M33109</link>
      <description>&lt;P&gt;Well, that's a bummer. I suppose you will have to use ODS OUTPUT to save another table that includes the name of the response variable. You can then merge the two data sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This might get you started:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc model ...;
...
   ODS Output parameterestimates = Out1 ResidSummary=RS;
QUIT;

data Out;
merge Out1 RS(keep=Equation) ;
by Parameter notsorted;
run;

proc print data=Out;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 10:28:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-include-the-name-of-the-dependent-variable-in-regression/m-p/687015#M33109</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-09-27T10:28:33Z</dc:date>
    </item>
  </channel>
</rss>

