<?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 I'm trying to run a factor analysis but I'm having some trouble in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/I-m-trying-to-run-a-factor-analysis-but-I-m-having-some-trouble/m-p/280023#M14753</link>
    <description>&lt;P&gt;I imported the data as followed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Generated Code (IMPORT) */&lt;BR /&gt;/* Source File: Hatco x1-x7.txt */&lt;BR /&gt;/* Source Path: /home/tmaciver7840/my_content */&lt;BR /&gt;/* Code generated on: Friday, June 24, 2016 3:56:21 PM */&lt;/P&gt;&lt;P&gt;%web_drop_table(WORK.IMPORT4);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FILENAME REFFILE "/home/tmaciver7840/my_content/Hatco x1-x7.txt" TERMSTR=CR;&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE=REFFILE&lt;BR /&gt;DBMS=tab&lt;BR /&gt;OUT=WORK.IMPORT4;&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;PROC CONTENTS DATA=WORK.IMPORT4; RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%web_open_table(WORK.IMPORT4);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm good up to this point. Now I just need a little help with running a factor analysis. I appreciate any guidance. Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jun 2016 16:15:38 GMT</pubDate>
    <dc:creator>Tommac72584</dc:creator>
    <dc:date>2016-06-24T16:15:38Z</dc:date>
    <item>
      <title>I'm trying to run a factor analysis but I'm having some trouble</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/I-m-trying-to-run-a-factor-analysis-but-I-m-having-some-trouble/m-p/280023#M14753</link>
      <description>&lt;P&gt;I imported the data as followed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Generated Code (IMPORT) */&lt;BR /&gt;/* Source File: Hatco x1-x7.txt */&lt;BR /&gt;/* Source Path: /home/tmaciver7840/my_content */&lt;BR /&gt;/* Code generated on: Friday, June 24, 2016 3:56:21 PM */&lt;/P&gt;&lt;P&gt;%web_drop_table(WORK.IMPORT4);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FILENAME REFFILE "/home/tmaciver7840/my_content/Hatco x1-x7.txt" TERMSTR=CR;&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE=REFFILE&lt;BR /&gt;DBMS=tab&lt;BR /&gt;OUT=WORK.IMPORT4;&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;PROC CONTENTS DATA=WORK.IMPORT4; RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%web_open_table(WORK.IMPORT4);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm good up to this point. Now I just need a little help with running a factor analysis. I appreciate any guidance. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 16:15:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/I-m-trying-to-run-a-factor-analysis-but-I-m-having-some-trouble/m-p/280023#M14753</guid>
      <dc:creator>Tommac72584</dc:creator>
      <dc:date>2016-06-24T16:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to run a factor analysis but I'm having some trouble</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/I-m-trying-to-run-a-factor-analysis-but-I-m-having-some-trouble/m-p/280033#M14754</link>
      <description>&lt;P&gt;There are many kinds of factor analysis. The simplest is probably the principal component analysis.&amp;nbsp; The documentation for PROC FACTOR has a Getting Started example and four other helpful examples. A basic call might look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
proc factor data=import4 corr n=4 score outstat=ScoreOut
     method=prin rotate=varimax plots=all;
var x1-x7;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to produce factor scores, you can use PROC SCORE to score the model and use PROC SGPLOT to plot the results:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc score data=import4 score=ScoreOut out=FactorScores;
   var x1-x7;
   ID ID;
run;

proc sgplot data=FactorScores;
   scatter x=Factor1 y=Factor2 / datalabel=ID;
   xaxis grid;
   yaxis grid;
   refline 0 / axis=x; refline 0 / axis=y; 
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Jun 2016 17:20:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/I-m-trying-to-run-a-factor-analysis-but-I-m-having-some-trouble/m-p/280033#M14754</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-06-24T17:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to run a factor analysis but I'm having some trouble</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/I-m-trying-to-run-a-factor-analysis-but-I-m-having-some-trouble/m-p/280093#M14757</link>
      <description>&lt;P&gt;Perfect. Thank you Rick.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 21:34:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/I-m-trying-to-run-a-factor-analysis-but-I-m-having-some-trouble/m-p/280093#M14757</guid>
      <dc:creator>Tommac72584</dc:creator>
      <dc:date>2016-06-24T21:34:30Z</dc:date>
    </item>
  </channel>
</rss>

