<?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 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/349935#M18339</link>
    <description>&lt;P&gt;Dear SAS Gurus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data with 475 variables. I want to compress the number of variables say 10-20 variables by&amp;nbsp;&lt;/P&gt;&lt;P&gt;principal component without losing too much information then the data is used to proc logistic for modelling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please show me any sample codes to do this easily? any your existing quick sample is fine with me for start with.&lt;/P&gt;&lt;P&gt;(If required I will look into more details options all afterward!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc princomp data=model out=.......&lt;/P&gt;&lt;P&gt;then&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data=model_after_princom........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I am lazy and I know if I read cuple of manuals and some try and error will lead me the solution but&amp;nbsp;&lt;/P&gt;&lt;P&gt;please some of you Gurus help me to save sometime.&lt;/P&gt;&lt;P&gt;Any samples will do help!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Gurus all the time,&lt;/P&gt;&lt;P&gt;Kaz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2017 01:36:05 GMT</pubDate>
    <dc:creator>k_shide</dc:creator>
    <dc:date>2017-04-14T01:36:05Z</dc:date>
    <item>
      <title>475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/349935#M18339</link>
      <description>&lt;P&gt;Dear SAS Gurus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data with 475 variables. I want to compress the number of variables say 10-20 variables by&amp;nbsp;&lt;/P&gt;&lt;P&gt;principal component without losing too much information then the data is used to proc logistic for modelling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please show me any sample codes to do this easily? any your existing quick sample is fine with me for start with.&lt;/P&gt;&lt;P&gt;(If required I will look into more details options all afterward!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc princomp data=model out=.......&lt;/P&gt;&lt;P&gt;then&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data=model_after_princom........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I am lazy and I know if I read cuple of manuals and some try and error will lead me the solution but&amp;nbsp;&lt;/P&gt;&lt;P&gt;please some of you Gurus help me to save sometime.&lt;/P&gt;&lt;P&gt;Any samples will do help!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Gurus all the time,&lt;/P&gt;&lt;P&gt;Kaz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 01:36:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/349935#M18339</guid>
      <dc:creator>k_shide</dc:creator>
      <dc:date>2017-04-14T01:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350035#M18347</link>
      <description>&lt;P&gt;The examples in the SAS manuals cover the syntax; just google&lt;/P&gt;
&lt;P&gt;princomp examples site:sas.com&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to study the PRINCOMP results to determine the number of eignevalues to use; its not an automatic feed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PRINCOMP discards records with missing data.&amp;nbsp; You will need at least 2500 complete observations to get components you can rely on (5 x # variables).&amp;nbsp; You may be able to use PROC MI to get better estimates, but that increases the work significantly.&amp;nbsp; Google&lt;/P&gt;
&lt;P&gt;princomp sample size site:sas.com&lt;/P&gt;
&lt;P&gt;for a more complete discussion.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 13:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350035#M18347</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2017-04-14T13:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350039#M18348</link>
      <description>&lt;P&gt;If you already have Y variable, why not use PROC HPGENSELECT to pick up the significant variables ?&lt;/P&gt;
&lt;P&gt;proc princomp is applied to No Y variable scenario .&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 13:50:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350039#M18348</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-04-14T13:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350050#M18349</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/120766"&gt;@k_shide&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Dear SAS Gurus,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a data with 475 variables. I want to compress the number of variables say 10-20 variables by&amp;nbsp;&lt;/P&gt;
&lt;P&gt;principal component without losing too much information then the data is used to proc logistic for modelling.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please show me any sample codes to do this easily? any your existing quick sample is fine with me for start with.&lt;/P&gt;
&lt;P&gt;(If required I will look into more details options all afterward!)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc princomp data=model out=.......&lt;/P&gt;
&lt;P&gt;then&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc logistic data=model_after_princom........&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know I am lazy and I know if I read cuple of manuals and some try and error will lead me the solution but&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please some of you Gurus help me to save sometime.&lt;/P&gt;
&lt;P&gt;Any samples will do help!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Gurus all the time,&lt;/P&gt;
&lt;P&gt;Kaz&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;First, I think the idea of picking 10-20 variables out of 475 is not the best thing to do. Furthermore, PROC PRINCOMP (Principal Components analysis) doesn't really let you get 10-20 original variables, it gives you a smaller number of new variables which are linear combinations of the original variables. In other words, all 475 of the original variables are still used. I don't know how to use Principal Components Analysis to reduce the original variables down to 10-20.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The alternative that I recommend to Principal Components in this sitaution is Partial Least Squares analysis (PROC PLS), which has a major advantage over Principal Components. PLS finds dimensions that are predictive of Y, whereas PCA does not. To me, that seems like such a major improvement over PCA that&amp;nbsp;I would not use PCA here. All of your original variables remain in the PLS model, and those which have very little effect on the Y variable will have loadings close to zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to do a logistic regression version of PLS, you would use PROC PLS with a binary or multinomial response variable (which would be represented by 0/1 dummy variables). No need for PROC LOGISTIC in this case. A more mathematically correct alternative is given &lt;A href="https://cedric.cnam.fr/fichiers/RC906.pdf" target="_self"&gt;here&lt;/A&gt; but I do not know of any SAS code that implements this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also would not use PROC HPGENSELECT because many statisticians have decided that they do not trust forward, backward and stepwise selection methods.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 14:11:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350050#M18349</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-04-14T14:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350053#M18350</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I think OP maybe means PROC VARCLUS .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;I also would not use PROC HPGENSELECT because many statisticians have decided that they do not trust forward, backward and stepwise selection methods"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you give me more detail information. If those methods are not trusted why SAS would not state this in documentatoin.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And an alternative way is use PROC LOGISTIC + selection=stepwise .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 14:16:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350053#M18350</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-04-14T14:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350055#M18351</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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can Google "problems with stepwise regression" to find many articles on this matter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why would SAS do this? I don't know, other than to say there are many methods in SAS (and other statistical packages) that were developed a long time ago, newer procedures are now available that have superior properties, but these old procedures remain in SAS (and other statistical packages)&amp;nbsp;... possibly because some people still want these older methods and don't know about the newer methods. That is all pure speculation on my part.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 14:28:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350055#M18351</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-04-14T14:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350061#M18353</link>
      <description>&lt;P&gt;Sorry. Google has been banned by Chinese government.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC HPGENSELECT is quite new proc , and the only one PROC can select variable&amp;nbsp;&lt;/P&gt;
&lt;P&gt;under many different distribution like binomial, possion, ...........&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 14:31:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350061#M18353</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-04-14T14:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350062#M18354</link>
      <description>&lt;P&gt;Other search engines should find the same&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But here's a few articles&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ma.utexas.edu/users/mks/statmistakes/stepwise.html" target="_blank"&gt;https://www.ma.utexas.edu/users/mks/statmistakes/stepwise.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.danielezrajohnson.com/stepwise.pdf" target="_blank"&gt;http://www.danielezrajohnson.com/stepwise.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.126.4133&amp;amp;rep=rep1&amp;amp;type=pdf" target="_blank"&gt;http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.126.4133&amp;amp;rep=rep1&amp;amp;type=pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 14:38:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350062#M18354</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-04-14T14:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350345#M18370</link>
      <description>&lt;P&gt;Everyone&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;P&gt;Maybe some of you misunderstood so let me clarify.&lt;/P&gt;&lt;P&gt;What I was intending to do was currently I am a initial phase of developing modells and need not academic statistical proof for this.&lt;/P&gt;&lt;P&gt;I tried from Tensorflow from Python to MATLAB module including my old friend SAS to see what is the potential upside of using different methods.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what I needed was a quick dirty solution for any potential upside by using principal components to summarise the variables into less dimensions without loosing too much information. What I used SAS mainly was like early 2000s when %treedesc was the cutting edge CHAID model module and I lost all my programs to do some automatic macros to do this type of things. And overmore, as some of you suggested some new procedure which is good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And more over some of you also suggested there are not easy automated way in PRINCOMP and that is helping me not to waste of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just thank everyone to give me some information value and I am determined to read through all the sas documents to achieve what i was intending to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kaz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 04:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350345#M18370</guid>
      <dc:creator>k_shide</dc:creator>
      <dc:date>2017-04-16T04:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350354#M18372</link>
      <description>&lt;PRE&gt;
If you still stick with principal component analysis, try PROC VARCLUS


&lt;/PRE&gt;</description>
      <pubDate>Sun, 16 Apr 2017 10:00:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350354#M18372</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-04-16T10:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350355#M18373</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/120766"&gt;@k_shide&lt;/a&gt; wrote:&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;So what I needed was a quick dirty solution for any potential upside by using principal components to summarise the variables into less dimensions without loosing too much information.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;But this is different than your original question in which you said:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;I want to compress the number of variables say 10-20 variables&lt;/BLOCKQUOTE&gt;
&lt;P&gt;These small differences in wording make a huge difference. Your original question seems to imply that you want to select 10-20 of your original 475 variables, which Principal Components will not do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course, Principal Components will give you fewer DIMENSIONS than your original 475 variables. It will not give you 10-20 of your original variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;So which is it? Do you want fewer of your original variables to work with? Or do you want 10-20 DIMENSIONS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, as I explained above, PCA is not the right tool to select fewere DIMENSIONS. PLS is the tool, because it finds DIMENSIONS that are predictive of your Y variable, while PCA does not.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 11:58:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350355#M18373</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-04-16T11:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350449#M18381</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again some advice.&lt;/P&gt;&lt;P&gt;I still make myself misunderstood so let me clarify again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to have is X1-X475 into say Z1-Z10 which is linear combination of original 475 variables but X1 to X10 are all right angles each other in terms of 10 dimensional space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of you found selection=stepwise takes really long time to converge and for SAS it may be easier by using Z1-Z10 which is still linear combination of 475 variables but as # of variables it's only 10 for the calculations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again I just want everyone to give me precious advices.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kaz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 08:24:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350449#M18381</guid>
      <dc:creator>k_shide</dc:creator>
      <dc:date>2017-04-17T08:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350450#M18382</link>
      <description>&lt;P&gt;Thanks Ksharp. I remember you helped me already a couple of times. Everyone helped me but your simple solution rings my bell as an old SAS users' method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 08:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350450#M18382</guid>
      <dc:creator>k_shide</dc:creator>
      <dc:date>2017-04-17T08:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350480#M18384</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I want to have is X1-X475 into say Z1-Z10 which is linear combination of original 475 variables but X1 to X10 are all right angles each other in terms of 10 dimensional space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some of you found selection=stepwise takes really long time to converge and for SAS it may be easier by using Z1-Z10 which is still linear combination of 475 variables but as # of variables it's only 10 for the calculations.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/120766"&gt;@k_shide&lt;/a&gt;&amp;nbsp;Thank you, this is certainly clear now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I stand by my recommendation to perform Partial Least Squares (PROC PLS)&amp;nbsp;regression on this data, and I stand by my recommendation to NOT use Principal Components Analysis (PROC PRINCOMP); and I add a recommendation to NOT use PROC VARCLUS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC PLS will indeed give you new dimensions Z1-Z10 (or however many you want, it doesn't have to be 10) that are &lt;EM&gt;predictive&lt;/EM&gt; of your response. That's what PLS does, it finds orthogonal dimensions&amp;nbsp;that are linear combinations of your original 475 X variables, that have predictive power. Neither PRINCOMP nor VARCLUS tries to find results that are predictive of your response, the algorithms used do not care or know about the Y variables; and so PRINCOMP and VARCLUS can easily produce new dimensions Z1-Z10 that are not very predictive of your response.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 12:32:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/350480#M18384</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-04-17T12:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: 475 variables to 10-20 variables by proc princomp and then proc logistic any sample code please</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/351093#M18402</link>
      <description>Dear PaigeMiller thank you for the confirmation.&lt;BR /&gt;I will do look at PLS for the purpose.&lt;BR /&gt;&lt;BR /&gt;Kaz&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Wed, 19 Apr 2017 00:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/475-variables-to-10-20-variables-by-proc-princomp-and-then-proc/m-p/351093#M18402</guid>
      <dc:creator>k_shide</dc:creator>
      <dc:date>2017-04-19T00:55:01Z</dc:date>
    </item>
  </channel>
</rss>

