<?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: Factor scores for Reduced Rank Regression in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820939#M34874</link>
    <description>&lt;P&gt;Yes, the Relative risk in table 6 were calculated by logistic model (a new model) not from RRR. This paper might use the scores as a independent variable in the new logistic model. I figured out my problems.&lt;BR /&gt;Thank you so much for your help!&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 15:17:33 GMT</pubDate>
    <dc:creator>KKAY</dc:creator>
    <dc:date>2022-06-29T15:17:33Z</dc:date>
    <item>
      <title>Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/788288#M32367</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp; Reduced Rank Regression (RRR) to derive dietary patterns using 33 food groups with 5 response variables.&lt;/P&gt;&lt;P&gt;I am using the following SAS code:&lt;/P&gt;&lt;P&gt;proc pls data=RRR method=RRR&lt;/P&gt;&lt;P&gt;nfac=5 ;&lt;/P&gt;&lt;P&gt;model Response1&amp;nbsp; Response2&amp;nbsp; Response3&amp;nbsp; Response4&amp;nbsp; Response5&amp;nbsp; = group1-group33;&lt;/P&gt;&lt;P&gt;output out=pattern xscore=scorex yscore=scorey;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;This gave me correlation loading plot (in the form of radar plot) which I am not familiar with to interpret with confidence. I wanted to see loading coefficients for each factor score produced by this procedure. How can I get this, please? You support is highly appreciated and thanks in advance for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:47:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/788288#M32367</guid>
      <dc:creator>Kunko</dc:creator>
      <dc:date>2022-01-04T14:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/788298#M32369</link>
      <description>&lt;P&gt;It would help if you provided a portion of your data set as SAS data step code (&lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_self"&gt;instructions&lt;/A&gt;) and not in any other format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the Y loadings from PROC PLS, you need to do this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc pls data=RRR method=RRR nfac=5 details;
    ods output yweights=yloadings;
    model Response1  Response2  Response3  Response4  Response5  = group1-group33;
    output out=pattern xscore=scorex yscore=scorey;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 15:26:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/788298#M32369</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-01-04T15:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/789207#M32389</link>
      <description>&lt;P&gt;It worked well. Thank you, Paige!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 10:01:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/789207#M32389</guid>
      <dc:creator>Kunko</dc:creator>
      <dc:date>2022-01-10T10:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820803#M34850</link>
      <description>&lt;P&gt;I have the same problems in using RRR. I have read the a published paper（&lt;A href="https://doi.org/10.1093/aje/kwh134" target="_blank" rel="noopener"&gt;https://doi.org/10.1093/aje/kwh134&lt;/A&gt;&lt;SPAN&gt;） which used RRR to find a dietary mode. In that paper, the author gave many results obtained by RRR （as follows）.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1、In table 5, it gave the “&lt;SPAN&gt;Response score coefficient&lt;/SPAN&gt;”&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KKAY_0-1656446261047.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72788iE7CBB109F7C64328/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KKAY_0-1656446261047.png" alt="KKAY_0-1656446261047.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2、in table 8, it gave the "Standardized score parameter 、Correlation with score"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KKAY_1-1656446386780.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72789iB43D6779490EB2AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KKAY_1-1656446386780.png" alt="KKAY_1-1656446386780.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I have no idea how to obtain them or what are their names&amp;nbsp; in the RRR results if using the following code. Could you help me?&lt;/P&gt;&lt;P&gt;proc pls data=abc method=RRR&lt;BR /&gt;nfac=4 varss details;&lt;BR /&gt;model b c d e = ab1-ab10/SOLUTION ;&lt;BR /&gt;output out=pattern xscore=scorex yscore=scorey;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the results, it will show "Model Effect Loadings"、"Model Effect Weights"、"Dependent Variable Weights"、"Coded Regression Coefficients for 4 Extracted Factors" and "Parameter Estimates".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which one is the “&lt;SPAN&gt;Response score coefficient&lt;/SPAN&gt;”&amp;nbsp; in table 5 (the picture above)?&lt;/P&gt;&lt;P&gt;Which one is the&amp;nbsp;"Standardized score parameter 、Correlation with score" in the table 8 (the picture above)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3、in this paper in table 6, the factor scores from RRR were used as the&amp;nbsp;independent variable to build a new regression. I thought is was ok. Is the "factor scores" in the table 6 means the output values of&amp;nbsp; "xscore" column (as in my sas code)?&lt;/P&gt;&lt;P&gt;Why I asked this, because I saw your doubt about in another reply. Some one want to use the factor scores to build a regression. Are they same things? Could we?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KKAY_3-1656447793325.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72791i0779BFB7E2E394D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KKAY_3-1656447793325.png" alt="KKAY_3-1656447793325.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sorry for ask the questions here&amp;nbsp;instead of starting a new post! Just I hope you could see it or some one who know the answers could help me!&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 20:38:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820803#M34850</guid>
      <dc:creator>KKAY</dc:creator>
      <dc:date>2022-06-28T20:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820819#M34851</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Response score coefficients come from the piece of code that I wrote that you left out:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;    ods output yweights=yloadings;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;I don't know, I suspect there are some intermediate steps in the paper you cite that I haven't seen&lt;/LI&gt;
&lt;LI&gt;I think the model used in that paper has parameterized the model differently than PROC PLS. In the paper you are working from with both PLS and RRR in the table, there is a single regression coefficient for Factor 1 and a single regression coefficient for Factor 2 and so on. It seems as if PROC PLS doesn't produce a single regression coefficient for each Factor as in Table 6 in the case of multiple Y variables, it only produces a single regression coefficient for each factor in the case of only one Y variable (and then the value is equal to 1) — a different parameterization. Both parameterizations should produce the same model and the same predicted values. And so while it may be possible to algebraically derive the values that are in Table 6 from the PROC PLS output, I don't know how to do that off the top of my head. You would have to go through the algebra of RRR to see if these can be derived from the "Dependent Variable Weights". But, you don't have to do that at all — if the goal is to build a regression equation, PROC PLS gives that to you in the output as "Parameter Estimates" or "Parameter Estimates for Centered and Scaled Data" and you don't really need to have the model parameterized as in Table 6.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 28 Jun 2022 21:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820819#M34851</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-06-28T21:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820821#M34852</link>
      <description>Thank you for your reply at this time! it is night, you are so kind!&lt;BR /&gt;I compared the yweights, it is the "Dependent Variable Weights" if I add the "details" option. it that the Response score coefficients?</description>
      <pubDate>Tue, 28 Jun 2022 21:57:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820821#M34852</guid>
      <dc:creator>KKAY</dc:creator>
      <dc:date>2022-06-28T21:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820825#M34853</link>
      <description>&lt;P&gt;It is only night in half the world&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, the "Dependent Variable Weights" are the Response score coefficients&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 22:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820825#M34853</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-06-28T22:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820830#M34854</link>
      <description>&lt;P&gt;Thank you very much, Paige!&lt;/P&gt;&lt;P&gt;First, I think the author use the&amp;nbsp; "factor scores"&amp;nbsp; as&amp;nbsp; a new dependent variablesIs，and a new health outcome as dependent variable to build a new regression model. This regression is not the previous regression by RRR method as the dependent variable changed, so the previous "Parameter Estimates" of &lt;SPAN&gt;response variables was not matching&lt;/SPAN&gt;. It is a new&amp;nbsp;exploring.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Back to the original problem:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;(1) I know each&amp;nbsp;&lt;SPAN&gt;extracted&lt;/SPAN&gt;&amp;nbsp;factor (Factor 1……) in RRR have one fixed parameter of every&amp;nbsp;independent variable (eg. "ab1……"，also like the different food in table 8） or&amp;nbsp;dependent variable (eg. "b c d e" in my code) .&amp;nbsp;&lt;/P&gt;&lt;P&gt;so it could be create a "scores", such as "xscore"、“yscore” we have output.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;So my question is whether the "factor scores"&amp;nbsp; here in the table 6 is the output column of&amp;nbsp; "xscore" or the "yscore"?&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;（2）If it is&amp;nbsp;"xscore"——could we calculate the "xscore" through m&lt;SPAN&gt;ultiply-accumulate&lt;/SPAN&gt;&amp;nbsp;of independent variables and their "model Effect Loadings" (name was according to the RRR results) ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example:&amp;nbsp; &amp;nbsp; &amp;nbsp;ab1 * “model effect Loadings of ab1” + ab2 * “model Effect Loadings of ab2” +……&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 22:48:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820830#M34854</guid>
      <dc:creator>KKAY</dc:creator>
      <dc:date>2022-06-28T22:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820891#M34865</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;So my question is whether the "factor scores"&amp;nbsp; here in the table 6 is the output column of&amp;nbsp; "xscore" or the "yscore"?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For RRR (and PLS), the factor is a linear combination of X variables predicting a linear combination of Y variables. Also, Table 6 is showing a relative risk, which isn't a direct output from RRR, there has to be some other calculation done with the RRR results.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 12:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820891#M34865</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-06-29T12:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820939#M34874</link>
      <description>&lt;P&gt;Yes, the Relative risk in table 6 were calculated by logistic model (a new model) not from RRR. This paper might use the scores as a independent variable in the new logistic model. I figured out my problems.&lt;BR /&gt;Thank you so much for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 15:17:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/820939#M34874</guid>
      <dc:creator>KKAY</dc:creator>
      <dc:date>2022-06-29T15:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/843729#M36619</link>
      <description>Hi, I am using RRR for an analysis of Dietary pattern. I have data for two sets of data for 2021 and 2022, where data for the response variable is missing in 2021, so I want to calculate the 2021 meal score using the dietary pattern coefficients generated by the 2022 RRR. So far I have extracted Xloading, how to calculate the final meal score for each sample. Thanks!</description>
      <pubDate>Fri, 11 Nov 2022 08:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/843729#M36619</guid>
      <dc:creator>JianJian</dc:creator>
      <dc:date>2022-11-11T08:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Factor scores for Reduced Rank Regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/843798#M36628</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/436994"&gt;@JianJian&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please start a new thread for new problems. I'll be happy to answer your questions (if I can) in a new thread.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 14:34:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-scores-for-Reduced-Rank-Regression/m-p/843798#M36628</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-11-11T14:34:49Z</dc:date>
    </item>
  </channel>
</rss>

