<?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 reg not outputting residual plots in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458809#M5416</link>
    <description>&lt;P&gt;Maybe you need to sit down with someone at your company who knows SAS Studio and can debug this with you.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Apr 2018 19:29:11 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-04-30T19:29:11Z</dc:date>
    <item>
      <title>Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458452#M5383</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Typically proc reg, along with standard regression output (coefficients, r^2, etc), will also give you residual plots. For this iteration of my model, however, I am not seeing any residuals. Any clue as to why? Perhaps it's because I have so many dependent variables?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=paper.ceo_firm3;
	model salary=annual_return bonus annual_return_VOL_thou  
	stock_awards option_awards othcomp age male
	outdoors mining utilities construction wholesale 
	information finance real_estate professional 
	waste education healthcare arts food other manufacturing transportation retail VOL_thou  / acov clb;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-SAStuck&lt;/P&gt;</description>
      <pubDate>Sun, 29 Apr 2018 16:04:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458452#M5383</guid>
      <dc:creator>sastuck</dc:creator>
      <dc:date>2018-04-29T16:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458506#M5393</link>
      <description>Add the PLOTS option tot he PROC REG statement.</description>
      <pubDate>Mon, 30 Apr 2018 02:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458506#M5393</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-30T02:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458514#M5396</link>
      <description>&lt;P&gt;I added a plots statement (thanks for the tip) but am still not seeing anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*Model A. level-level salary model controlling for industry (and other factors) // good fit;
proc reg data=paper.ceo_firm3 plots=all;
	model salary=annual_return bonus annual_return_VOL_thou  
	stock_awards option_awards othcomp age male
	outdoors mining utilities construction wholesale 
	information finance real_estate professional 
	waste education healthcare arts food other manufacturing transportation retail VOL_thou  / acov clb;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Apr 2018 02:51:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458514#M5396</guid>
      <dc:creator>sastuck</dc:creator>
      <dc:date>2018-04-30T02:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458579#M5398</link>
      <description>&lt;P&gt;You need to turn on ods graphics if it is not already on, and open an output destination (if one is not already opened). For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
ods html;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Apr 2018 10:49:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458579#M5398</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-30T10:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458649#M5399</link>
      <description>&lt;P&gt;Ah good point. Something is still wrong though. Here's the code I ran:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*Model A. level-level salary model controlling for industry (and other factors) // good fit;
ods graphics on;
ods html;
proc reg data=paper.ceo_firm3 plots=all;
	model salary=annual_return bonus annual_return_VOL_thou  
	stock_awards option_awards othcomp age male
	outdoors mining utilities construction wholesale 
	information finance real_estate professional 
	waste education healthcare arts food other manufacturing transportation retail VOL_thou  / acov clb;
run;
ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and the log that followed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 NOTE: ODS statements in the SAS Studio environment may disable some output features.
 71         
 72         *Model A. level-level salary model controlling for industry (and other factors) // good fit;
 73         ods graphics on;
 74         ods html;
 NOTE: Writing HTML Body file: sashtml5.htm
 ERROR: Insufficient authorization to access /pbr/biconfig/940/Lev1/SASApp/sashtml5.htm.
 ERROR: No body file. HTML output will not be created.
 75         proc reg data=paper.ceo_firm3 plots=all;
 76         model salary=annual_return bonus annual_return_VOL_thou
 77         stock_awards option_awards othcomp age male
 78         outdoors mining utilities construction wholesale
 79         information finance real_estate professional
 80         waste education healthcare arts food other manufacturing transportation retail VOL_thou  / acov clb;
 81         run;
 
 WARNING: ODS graphics with more than 5000 points have been suppressed. Use the PLOTS(MAXPOINTS= ) option in the PROC REG statement 
          to change or override the cutoff.
 82         ods graphics off;
 83         
 84         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 96    &lt;/PRE&gt;&lt;P&gt;I also tried this without the&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods html;&lt;/PRE&gt;&lt;P&gt;piece, and that made the error go away, but I still did not see any residual plots.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 14:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458649#M5399</guid>
      <dc:creator>sastuck</dc:creator>
      <dc:date>2018-04-30T14:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458652#M5400</link>
      <description>&lt;PRE&gt; ERROR: Insufficient authorization to access /pbr/biconfig/940/Lev1/SASApp/sashtml5.htm.
 ERROR: No body file. HTML output will not be created.
&lt;/PRE&gt;
&lt;P&gt;Not really familiar with SAS Studio, but the error seems to indicate you cannot write the file in the location shown. You might need something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html path="/folder/subfolder/subsubfolder" file="myfile.html";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;where you have write access to the folder/subfolder/subsubfolder contained in the PATH= argument.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 14:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458652#M5400</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-30T14:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458657#M5401</link>
      <description>&lt;P&gt;I having trouble envisioning what the&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/folder/subfolder/subsubfolder&lt;/PRE&gt;&lt;P&gt;might look like. Should this be the file path of my SAS program?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 14:21:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458657#M5401</guid>
      <dc:creator>sastuck</dc:creator>
      <dc:date>2018-04-30T14:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458658#M5402</link>
      <description>&lt;P&gt;It is a folder that you have write access to.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 14:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458658#M5402</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-30T14:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458665#M5403</link>
      <description>&lt;P&gt;I have never heard of write access--after a quick google search I am still confused?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regardless, should I try different plots?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one gave me a different error for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*Model A. level-level salary model controlling for industry (and other factors) // good fit;
ods graphics on;
proc reg data=paper.ceo_firm3 (maxpoints=none);
	model salary=annual_return bonus annual_return_VOL_thou  
	stock_awards option_awards othcomp age male
	outdoors mining utilities construction wholesale 
	information finance real_estate professional 
	waste education healthcare arts food other manufacturing transportation retail VOL_thou  / acov clb;
run;
ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 NOTE: ODS statements in the SAS Studio environment may disable some output features.
 71         
 72         *Model A. level-level salary model controlling for industry (and other factors) // good fit;
 73         ods graphics on;
 74         proc reg data=paper.ceo_firm3 (maxpoints=none);
                                           _________
                                           22
 ERROR 22-7: Invalid option name MAXPOINTS.
 75         model salary=annual_return bonus annual_return_VOL_thou
 76         stock_awards option_awards othcomp age male
 77         outdoors mining utilities construction wholesale
 78         information finance real_estate professional
 79         waste education healthcare arts food other manufacturing transportation retail VOL_thou  / acov clb;
 NOTE: The previous statement has been deleted.
 80         run;
 
 WARNING: No variables specified for an SSCP matrix. Execution terminating.
 NOTE: PROCEDURE REG used (Total process time):
       real time           0.00 seconds
       user cpu time       0.01 seconds
       system cpu time     0.00 seconds
       memory              3412.09k
       OS Memory           33984.00k
       Timestamp           04/30/2018 02:33:47 PM
       Step Count                        70  Switch Count  0
       Page Faults                       0
       Page Reclaims                     477
       Page Swaps                        0
       Voluntary Context Switches        3
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           48
       
 
 81         ods graphics off;
 82         
 83         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 95         &lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Apr 2018 14:36:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458665#M5403</guid>
      <dc:creator>sastuck</dc:creator>
      <dc:date>2018-04-30T14:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458673#M5404</link>
      <description>&lt;P&gt;This has to do with your installation/set up and it's probably not a 'googleable' question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is SAS installed for you? Are you using SAS UE, SAS Academics on Demand, a version your company or university installed?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The first two have instructions on setting the path, if it's a custom version (company or Uni) you'll need to check with your IT team to understand where you have access.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 14:49:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458673#M5404</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-30T14:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458765#M5411</link>
      <description>&lt;P&gt;PATH= should contain the full path name of a folder somewhere on one of the disks attached to your computer, where you want to write your results to. It has to be a location you are allowed to write to.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 17:46:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458765#M5411</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-30T17:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458802#M5414</link>
      <description>&lt;P&gt;What i'm not understanding (&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;) is why I can get plots easily for other models in the same program. For example, this:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=paper.ceo_firm plots(maxpoints=none);
	model salary=annual_return bonus stock_awards age male;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Gives me the output i'm looking for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 19:12:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458802#M5414</guid>
      <dc:creator>sastuck</dc:creator>
      <dc:date>2018-04-30T19:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458809#M5416</link>
      <description>&lt;P&gt;Maybe you need to sit down with someone at your company who knows SAS Studio and can debug this with you.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 19:29:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/458809#M5416</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-30T19:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/866401#M10881</link>
      <description>&lt;LI-SPOILER&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/177874"&gt;@sastuck&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;Not sure if it's too late to help here, but I believe the reason your plots are not showing is due to a missing option in the proc step. If you keep the rest of your code the same but change the first line to include the following plots option:&lt;BR /&gt;&lt;PRE&gt;proc reg data=paper.ceo_firm3 plots=studentpanel;&lt;/PRE&gt;It may take care of the issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Sun, 26 Mar 2023 18:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/866401#M10881</guid>
      <dc:creator>ajd555</dc:creator>
      <dc:date>2023-03-26T18:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/866402#M10882</link>
      <description>&lt;P&gt;My former answer was incomplete. Try the following:&lt;/P&gt;&lt;PRE&gt;ods graphics on;
proc reg data=paper.ceo_firm3 plots=studentpanel;
	model salary=annual_return bonus annual_return_VOL_thou  
	stock_awards option_awards othcomp age male
	outdoors mining utilities construction wholesale 
	information finance real_estate professional 
	waste education healthcare arts food other manufacturing transportation retail VOL_thou  / acov clb;
run;
ods graphics off;&lt;/PRE&gt;</description>
      <pubDate>Sun, 26 Mar 2023 18:34:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/866402#M10882</guid>
      <dc:creator>ajd555</dc:creator>
      <dc:date>2023-03-26T18:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg not outputting residual plots</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/866625#M10885</link>
      <description>&lt;P&gt;Maybe try with 100 obs?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 20:04:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-reg-not-outputting-residual-plots/m-p/866625#M10885</guid>
      <dc:creator>tom_grant</dc:creator>
      <dc:date>2023-03-27T20:04:35Z</dc:date>
    </item>
  </channel>
</rss>

