<?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 SCORE without some parameters in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/534557#M73886</link>
    <description>&lt;P&gt;Setting x4=0 was&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;'s original suggestion. You do it by using a DATA step view, as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&amp;nbsp;suggested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you mentioned mixed models and EBLUPs, I will mention that the&amp;nbsp;SCORE statement in PROC PLM produces that same scores as the OUTPM= data set in PROC MIXED. That is, the predicted values do not incorporate the EBLUP values. The predicted values are simply X*beta_hat. Thus if x4 is a &lt;STRONG&gt;random&lt;/STRONG&gt; effect, I think the SCORE statement does what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If x4 is a &lt;STRONG&gt;fixed&lt;/STRONG&gt; effect in your model, I do not believe there is a way to force the SCORE statement to exclude the x4 effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2019 18:27:57 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2019-02-11T18:27:57Z</dc:date>
    <item>
      <title>PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533703#M73838</link>
      <description>&lt;P&gt;Is there a way to score data based on a store from a previously executed model but exclude some parameters.&amp;nbsp; For example, let's say my model is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model y = x1 + x2 + x3 + x4;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When I store the parameters and score a new dataset based on this store, Y would be calculated as the sum of an intercept and X1 through X4.&amp;nbsp; I only want to score using intercept and X1 through X3--I want to skip X4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Haris&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 19:37:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533703#M73838</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2019-02-07T19:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533704#M73839</link>
      <description>&lt;P&gt;Can you use a value of zero for x4?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 19:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533704#M73839</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-07T19:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533706#M73840</link>
      <description>&lt;P&gt;Yes, I could do that but I don't want to loose the information in X4.&amp;nbsp; Renaming X4 to X4_1 and setting X4 to zero would do exactly what I need.&amp;nbsp; I am looking for an option to drop X4 from scoring without manipulating the original data.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 19:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533706#M73840</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2019-02-07T19:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533708#M73841</link>
      <description>&lt;P&gt;Well, then, mark me down as confused.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't understand this restriction&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Renaming X4 to X4_1 and setting X4 to zero would do exactly what I need.&amp;nbsp; I am looking for an option to drop X4 from scoring without manipulating the original data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You don't have to destroy the original data set. You can copy it and rename X4 and the original data set remains unchanged.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 19:48:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533708#M73841</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-07T19:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533710#M73842</link>
      <description>&lt;P&gt;Yes, you are correct: I can manipulate the dataset to achieve what I need.&amp;nbsp; I am lazy!&amp;nbsp; I am hoping there is an option that goes along wtih PROC PLM SCORE statement, something like 'SKIP X4' or 'SET X4=0' that SCORES without using the X4.&amp;nbsp; Do you think that's too much to ask?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, is there a way to edit the STORE and change the parameter for X4 to zero?&amp;nbsp; Store files are small and I would have no problem creating copies of the STORE.&amp;nbsp; My datasets are massive in size.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 19:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533710#M73842</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2019-02-07T19:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533711#M73843</link>
      <description>&lt;P&gt;You don't have to actually create a new dataset. You can define a view that will filter your data only when it is accessed by PLM.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:01:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533711#M73843</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-02-07T20:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533714#M73844</link>
      <description>&lt;P&gt;Another good alternative, PGStats, but it is still focused on manipulating the original data--non-destructively, in your case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, is it the case that there is no option in PROC PLM to skip or change parameters in the STORE when scoring?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:08:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533714#M73844</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2019-02-07T20:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533735#M73846</link>
      <description>Use the code statement to generate scoring code and modify the code to exclude X4.</description>
      <pubDate>Thu, 07 Feb 2019 20:39:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533735#M73846</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-07T20:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533777#M73848</link>
      <description>Thanks.  A bit messy and manual but gets the job done without the need to alter the master dataset.</description>
      <pubDate>Thu, 07 Feb 2019 23:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/533777#M73848</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2019-02-07T23:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/534516#M73883</link>
      <description>&lt;P&gt;If you want the model Y = x1 + x2 + x3, you need to go back to the data and fit the new model. Setting x4=0 in the scoring data is a valid operation, but "dropping x4" from the fitted model does not make statistical sense because the other parameter estimates will change when you drop x4 from the model. This is the reason that you can't edit the&amp;nbsp;item store that is read by PROC PLM. It prevents people from getting wrong answers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 16:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/534516#M73883</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-02-11T16:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/534551#M73885</link>
      <description>&lt;P&gt;Thanks, Rick.&amp;nbsp; I am not exactly clear what you mean by:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Setting x4=0 in the scoring data is a valid operation&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Can I do this when scoring or is this something I could do when creating the STORE?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With respect to 'does not make statistical sense', I am trying to do something similar to estimating BLUP vs NOBLUP predicted values just with fixed rather than random effects.&amp;nbsp; X4 is an effect of a geographical region.&amp;nbsp; But statistical the validity of dropping fixed parameters during scoring operation is a whole different topic.&amp;nbsp; I am only interested in the capabilities of PROC PLM at this point.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 17:52:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/534551#M73885</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2019-02-11T17:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/534557#M73886</link>
      <description>&lt;P&gt;Setting x4=0 was&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;'s original suggestion. You do it by using a DATA step view, as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&amp;nbsp;suggested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you mentioned mixed models and EBLUPs, I will mention that the&amp;nbsp;SCORE statement in PROC PLM produces that same scores as the OUTPM= data set in PROC MIXED. That is, the predicted values do not incorporate the EBLUP values. The predicted values are simply X*beta_hat. Thus if x4 is a &lt;STRONG&gt;random&lt;/STRONG&gt; effect, I think the SCORE statement does what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If x4 is a &lt;STRONG&gt;fixed&lt;/STRONG&gt; effect in your model, I do not believe there is a way to force the SCORE statement to exclude the x4 effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 18:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/534557#M73886</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-02-11T18:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PLM SCORE without some parameters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/534565#M73888</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My X4 is a FIXED effect so it seems like I will need to find a way to exclude it from the score outside of the native PROC PLM functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And since you mentioned it, the ability to score RANDOM as well as FIXED effects in PROC PLM would be very helpful in my work.&amp;nbsp; Right now the only way I know how to work out combinations of FIXED and RANDOM effects in mixed models where linear formulas for variance don't exist is the ESTIMATE statement in GLIMMIX.&amp;nbsp; Given how long some of the models take to estimate, the lack of ability to calculate inferential tests for combinations of FIXED and RANDOM effects in PROC PLM is limiting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope I am wrong and there is a way to do that that I am not aware off.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 18:56:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PLM-SCORE-without-some-parameters/m-p/534565#M73888</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2019-02-11T18:56:41Z</dc:date>
    </item>
  </channel>
</rss>

