Date: Thu, 17 Feb 2005 16:54:34 +0100
Reply-To: Marta García-Granero
<biostatistics@terra.es>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Marta García-Granero
<biostatistics@terra.es>
Organization: Asesoría Bioestadística
Subject: Re: oms and factor analysis
In-Reply-To: <001001c51421$65137f20$f7769d51@OAKBANK>
Content-Type: text/plain; charset=ISO-8859-15
Hi Ann,
Something like this should work:
OMS SELECT TABLES
/IF SUBTYPES=['Descriptive Statistics']
/DESTINATION FORMAT=SAV OUTFILE='c:\temp\descriptives.sav'.
OMS SELECT TABLES
/IF SUBTYPES=['Factor Score Coefficient Matrix']
/DESTINATION FORMAT=SAV OUTFILE='c:\temp\Factorscore.sav'.
FACTOR
/VARIABLES m3a1a m3b1a m3d1a m3e1a m3g1a m3h1a m3k1a m3n1a m151aa m151ab
m141aa m141ba m141ca m141da age_bm1a age_bm1b
age_bm1c age_bm1d age_bm1e age_bm1f bord1aa bord1ba bord1ca bord1da
/MISSING LISTWISE /ANALYSIS m3a1a m3b1a m3d1a m3e1a
m3g1a m3h1a m3k1a m3n1a m151aa m151ab m141aa m141ba m141ca m141da age_bm1a
age_bm1b age_bm1c age_bm1d age_bm1e age_bm1f
bord1aa bord1ba bord1ca bord1da
/PRINT UNIVARIATE INITIAL EXTRACTION FSCORE
/CRITERIA FACTORS(1) ITERATE(25)
/EXTRACTION PC
/ROTATION NOROTATE
/SAVE REG(ALL)
/METHOD=CORRELATION .
OMSEND.
The sav files will need a bit of editing (this can be automated
too)
AEF> I have the following factor analysis code
AEF> FACTOR
AEF> /VARIABLES m3a1a m3b1a m3d1a m3e1a m3g1a m3h1a m3k1a m3n1a m151aa m151ab
AEF> m141aa m141ba m141ca m141da age_bm1a age_bm1b
AEF> age_bm1c age_bm1d age_bm1e age_bm1f bord1aa bord1ba bord1ca bord1da
AEF> /MISSING LISTWISE /ANALYSIS m3a1a m3b1a m3d1a m3e1a
AEF> m3g1a m3h1a m3k1a m3n1a m151aa m151ab m141aa m141ba m141ca m141da age_bm1a
AEF> age_bm1b age_bm1c age_bm1d age_bm1e age_bm1f
AEF> bord1aa bord1ba bord1ca bord1da
AEF> /PRINT UNIVARIATE INITIAL EXTRACTION FSCORE
AEF> /CRITERIA FACTORS(1) ITERATE(25)
AEF> /EXTRACTION PC
AEF> /ROTATION NOROTATE
AEF> /SAVE REG(ALL)
AEF> /METHOD=CORRELATION .
AEF> this will generate a descriptives piece of output and also the component
AEF> score coefficient matrix and also some additional tables
AEF> what I am trying to do is to export these two tables using oms to a sav
AEF> file so that I can do some calculations and then possibly (at a later date)
AEF> merge the results back into the original data file
Regards
Marta