<?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: Reduced rank regression in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598860#M172756</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/293117"&gt;@catch18&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;My apologies, 350 is the sample size.&lt;/P&gt;
&lt;P&gt;I notice that in putting all the responses in the&amp;nbsp;model at once my sample size is drastically reduced.&lt;/P&gt;
&lt;P&gt;Each variable has different missing numbers and this way SAS adds up all the missing numbers and equates it to all the variables. For instance weight has no missing number but SAS uses say 250 observations instead of 350. Is there a way to avoid this without imputation?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is still confusing to me. You initially ask about transforming non-normal variables, but when asked to clarify that, you talk about missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the real question?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 23:14:09 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-10-23T23:14:09Z</dc:date>
    <item>
      <title>Reduced rank regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598561#M172627</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm running reduced rank regression for the first time with the sas code as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;pls&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=Theresa.morphdiet &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;method&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=RRR&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nfac&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;6&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; varssdetails;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;model&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; BWt BLen HdCirc wt_6m Hgt_6m HdCirc_6m = &amp;amp;xlist;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=pattern &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;xscore&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=scoreRRR &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;yscore&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=scoreRRR;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;I have several response anthropometric variables (12)and dietary data comprised of 48 food groups defined with a macro as &amp;amp;xlist. I'm just wondering whether with the pls method I could include all 12 response variables at once? Also, would I need to log transform non-normal response variables (n= 350) or is this incorporated into the pls method?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thanks.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 23:10:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598561#M172627</guid>
      <dc:creator>catch18</dc:creator>
      <dc:date>2019-10-22T23:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced rank regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598609#M172644</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt; would be the expert on this topic...&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 05:06:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598609#M172644</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-10-23T05:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced rank regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598610#M172645</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 05:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598610#M172645</guid>
      <dc:creator>catch18</dc:creator>
      <dc:date>2019-10-23T05:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced rank regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598657#M172658</link>
      <description>&lt;P&gt;PROC PLS handles as many response variables as you have at once.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no need to transform x-variables, but your message is unclear. At one place you say 12 response variables, at another place you have 350 response variables.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 10:56:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598657#M172658</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-23T10:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced rank regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598807#M172726</link>
      <description>&lt;P&gt;My apologies, 350 is the sample size.&lt;/P&gt;
&lt;P&gt;I notice that in putting all the responses in the&amp;nbsp;model at once my sample size is drastically reduced.&lt;/P&gt;
&lt;P&gt;Each variable has different missing numbers and this way SAS adds up all the missing numbers and equates it to all the variables. For instance weight has no missing number but SAS uses say 250 observations instead of 350. Is there a way to avoid this without imputation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 19:29:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598807#M172726</guid>
      <dc:creator>catch18</dc:creator>
      <dc:date>2019-10-23T19:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced rank regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598856#M172753</link>
      <description>&lt;P&gt;Proc PLS has a proc option MISSING= that has 3 possible values, NONE which is the default and excludes observation if any variables have missing values, MISSING=AVG fills the missing values with the mean value or imputes with the mean value, or MISSING=EM which does an iterative approach of calculate as Missing=AVG then replace the "means" with the predicated values and redoes the model. The EM allows additional parameters&amp;nbsp;of MAXITER to set how many of those iterations takes place and Epsilon which specifies a convergence criteria which defaults to 0.00000001. The options might be used as MISSING=EM(MAXITER=100 EPSILON= 0.001)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the values I show for Maxiter and Epsilon are only to show the syntax. I have no idea whether 100 or 0.0001 would be appropriate for any specific task.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 22:42:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598856#M172753</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-23T22:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced rank regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598860#M172756</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/293117"&gt;@catch18&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;My apologies, 350 is the sample size.&lt;/P&gt;
&lt;P&gt;I notice that in putting all the responses in the&amp;nbsp;model at once my sample size is drastically reduced.&lt;/P&gt;
&lt;P&gt;Each variable has different missing numbers and this way SAS adds up all the missing numbers and equates it to all the variables. For instance weight has no missing number but SAS uses say 250 observations instead of 350. Is there a way to avoid this without imputation?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is still confusing to me. You initially ask about transforming non-normal variables, but when asked to clarify that, you talk about missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the real question?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 23:14:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598860#M172756</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-23T23:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced rank regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598863#M172757</link>
      <description>&lt;P&gt;I thought my question on non-normal response variables with proc pls was answered when you said "no need to transform".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My subsequent question is based on your suggestion of putting in all the response variables at once, which I agree to, but then I also notice that doing that greatly reduces my sample size. Hence my question on missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 23:21:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598863#M172757</guid>
      <dc:creator>catch18</dc:creator>
      <dc:date>2019-10-23T23:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced rank regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598864#M172758</link>
      <description>&lt;P&gt;Thanks for the suggestion.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 23:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598864#M172758</guid>
      <dc:creator>catch18</dc:creator>
      <dc:date>2019-10-23T23:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced rank regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598963#M172815</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/293117"&gt;@catch18&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I thought my question on non-normal response variables with proc pls was answered when you said "no need to transform".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My subsequent question is based on your suggestion of putting in all the response variables at once, which I agree to, but then I also notice that doing that greatly reduces my sample size. Hence my question on missing values.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I did say "no need to transform the x-variables", although I don't see where you have clearly stated you were talking about x-variables. In fact, your original message specifically referred to transforming response variables: "would I need to log transform non-normal response variables"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For missing values, I would try the EM algorithm.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 12:05:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reduced-rank-regression/m-p/598963#M172815</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-24T12:05:26Z</dc:date>
    </item>
  </channel>
</rss>

