<?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 PLM Error: A Data Set is Required to Produce Effect Plots for Your Model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553772#M27550</link>
    <description>&lt;P&gt;You are correct! If this were a production level project, I would most definitely want to save this in a directory that wasn't wiped after every session. However, this happens to be more "free-time modeling", and I'm not worried about loosing anything except the actual SAS file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To my point, though, even if i did save the model into a non-work directory, I still wouldn't be able to run the&amp;nbsp;&lt;STRONG&gt;Effectplot&lt;/STRONG&gt; as&amp;nbsp;&lt;STRONG&gt;PLM&amp;nbsp;&lt;/STRONG&gt;keeps giving me the: "&lt;STRONG&gt;&lt;EM&gt;A data set is required to produce Effect plots for your model&lt;/EM&gt;&lt;/STRONG&gt;" error =/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either way, thank you for sharing your advice!!&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2019 19:31:58 GMT</pubDate>
    <dc:creator>lkeyes</dc:creator>
    <dc:date>2019-04-24T19:31:58Z</dc:date>
    <item>
      <title>Proc PLM Error: A Data Set is Required to Produce Effect Plots for Your Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553708#M27547</link>
      <description>&lt;P&gt;As the Subject line says, I'm getting an error in Proc PLM telling me that: "&lt;STRONG&gt;A data set is required to produce effect plots for your model&lt;/STRONG&gt;". Insofar as I know, I've given it a dataset in the store??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This isn't exactly a huge issue, as I can run all the&amp;nbsp;&lt;STRONG&gt;Effectsplots&amp;nbsp;&lt;/STRONG&gt;within the model statement. However, it'd be nice not to have to re-run the model every time I'd like to look at a different plot ^_^&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insight into the issue (or glaring errors in my syntax) is greatly appreciated!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code I'm using:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data=clabsi;
class hiin region year_num;
model numerator = hiin|region|year_num/ dist=nb link=log offset=ln_days type3;
store work.clabsiNB;
run;

proc plm restore=clabsiNB;
	effectplot interaction(x=region sliceby=hiin) / clm connect;
	effectplot interaction(x=hiin sliceby=region) / clm connect;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Apr 2019 17:01:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553708#M27547</guid>
      <dc:creator>lkeyes</dc:creator>
      <dc:date>2019-04-24T17:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc PLM Error: A Data Set is Required to Produce Effect Plots for Your Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553742#M27549</link>
      <description>I think you should not select work folder to store the dataset as it gets&lt;BR /&gt;deleted upon closing of the session.&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Apr 2019 18:45:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553742#M27549</guid>
      <dc:creator>Amitpsingh1</dc:creator>
      <dc:date>2019-04-24T18:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc PLM Error: A Data Set is Required to Produce Effect Plots for Your Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553772#M27550</link>
      <description>&lt;P&gt;You are correct! If this were a production level project, I would most definitely want to save this in a directory that wasn't wiped after every session. However, this happens to be more "free-time modeling", and I'm not worried about loosing anything except the actual SAS file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To my point, though, even if i did save the model into a non-work directory, I still wouldn't be able to run the&amp;nbsp;&lt;STRONG&gt;Effectplot&lt;/STRONG&gt; as&amp;nbsp;&lt;STRONG&gt;PLM&amp;nbsp;&lt;/STRONG&gt;keeps giving me the: "&lt;STRONG&gt;&lt;EM&gt;A data set is required to produce Effect plots for your model&lt;/EM&gt;&lt;/STRONG&gt;" error =/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either way, thank you for sharing your advice!!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 19:31:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553772#M27550</guid>
      <dc:creator>lkeyes</dc:creator>
      <dc:date>2019-04-24T19:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc PLM Error: A Data Set is Required to Produce Effect Plots for Your Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553970#M27554</link>
      <description>&lt;P&gt;Good question. The item store you provide as input to PROC PLM contains a summary of a statistical model that can be used to perform post-fitting statistical analyses. The item store does not save the observations that were used to fit the statistical model and is different than a SAS data set. This gets discussed in the&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_plm_overview01.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;Basic Features&lt;/A&gt;&amp;nbsp;section of the PROC PLM documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your example I believe the reason you are getting the ERROR about needing a data set to produce the effect plot is because your model contains an offset variable. For models with an offset variable the EFFECTPLOT statement will compute predicted values only at the observation values unless the NOOFFSET option is specified. There is a note mentioning this is the detailed documentation for the&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect027.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;EFFECTPLOT statement &lt;/A&gt;&amp;nbsp;in the Shared Concepts and Topics chapter.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 14:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553970#M27554</guid>
      <dc:creator>MichaelL_SAS</dc:creator>
      <dc:date>2019-04-25T14:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc PLM Error: A Data Set is Required to Produce Effect Plots for Your Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553973#M27555</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256681"&gt;@MichaelL_SAS&lt;/a&gt;&amp;nbsp;Thank you so much!! That totally makes sense, and works. Also, thanks for the reference material&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 14:20:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-PLM-Error-A-Data-Set-is-Required-to-Produce-Effect-Plots/m-p/553973#M27555</guid>
      <dc:creator>lkeyes</dc:creator>
      <dc:date>2019-04-25T14:20:34Z</dc:date>
    </item>
  </channel>
</rss>

