<?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 pls : saving the model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988165#M49452</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;links to my exact solution for this problem. You would use the test data set in PROC SCORE, rather than the training data set, as I did in that example. PROC SCORE gives the predicted values using the PLS model. The final step where I create data set named COMPARE is not needed for the case where you want to score a test data set. The model is stored in data set COEFFS and COEFFS_T.&lt;/P&gt;</description>
    <pubDate>Sat, 16 May 2026 10:55:26 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2026-05-16T10:55:26Z</dc:date>
    <item>
      <title>proc pls : saving the model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/987985#M49448</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Experts, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When applying the PLS procedure, is there an option to save the trained model for application to the test set?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2026 17:09:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/987985#M49448</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-05-15T17:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: proc pls : saving the model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988127#M49449</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;gives the explanation of how to predict a test data set here:&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2014/02/17/the-missing-value-trick-for-scoring-a-regression-model.html" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/iml/2014/02/17/the-missing-value-trick-for-scoring-a-regression-model.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2026 18:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988127#M49449</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2026-05-15T18:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc pls : saving the model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988159#M49450</link>
      <description>Thank you, but precisely, in Proc PLS we cannot use the train and test sets together in Proc.</description>
      <pubDate>Fri, 15 May 2026 21:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988159#M49450</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-05-15T21:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc pls : saving the model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988164#M49451</link>
      <description>&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/score-for-PLS-procedure-issue/m-p/676606" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/score-for-PLS-procedure-issue/m-p/676606&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The only thing you need to do is using SOLUTION option to save parameters estimator and score test data as PROC  GLM .</description>
      <pubDate>Sat, 16 May 2026 07:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988164#M49451</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-16T07:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc pls : saving the model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988165#M49452</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;links to my exact solution for this problem. You would use the test data set in PROC SCORE, rather than the training data set, as I did in that example. PROC SCORE gives the predicted values using the PLS model. The final step where I create data set named COMPARE is not needed for the case where you want to score a test data set. The model is stored in data set COEFFS and COEFFS_T.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 10:55:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988165#M49452</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2026-05-16T10:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: proc pls : saving the model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988166#M49453</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you, but precisely, in Proc PLS we cannot use the train and test sets together in Proc.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, you can use the test and train data set together, in certain situations. Obviously you are not in that situation.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 10:59:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988166#M49453</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2026-05-16T10:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc pls : saving the model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988180#M49454</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I found the answer to my question here:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASdevAnneMarie_0-1778955225158.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/115062iAA96E46C77EE13C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASdevAnneMarie_0-1778955225158.png" alt="SASdevAnneMarie_0-1778955225158.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 18:14:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988180#M49454</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-05-16T18:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc pls : saving the model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988181#M49455</link>
      <description>&lt;P&gt;This is the same thing I linked to in my original post, which you said was wrong, you said you can't use the training data set and test data set in the same PROC PLS.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 19:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988181#M49455</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2026-05-16T19:02:06Z</dc:date>
    </item>
  </channel>
</rss>

