Docsity

Principal Components and Exploratory Factor Analysis Lab | PSY 775, Study notes of Psychology

Toggle sidebar
bg1
1
80
Principal Components and Exploratory Factor Analysis Lab
PSY 775
A community-based treatment center for adolescents with behavior disorders
collects data on a number of measures. The question that they are interested in
is how many different kinds of information are we getting from the measures below:
physical aggression (pa2)
property damage (pd2)
theft (t2)
extreme verbal abuse (va2)
sadness (s2)
anxiety (ax2)
self-confidence (sc2)
compliance (co2)
One should always consult the correlation matrix to get an initial sense of how variables
are related.
From the pull-down menu:
1. Analyze
2. Data Reduction
3. Factor
a. place all variables in Variables window
b. click on the Descriptives tab
1) under Correlation Matrix select Coefficients, KMO, and Barlett's Test of
Sphericity
c. click on the Extraction tab
1) in the Method pull-down box make sure that Principal Components is
selected
2) under Display select Unrotated Factor Solution and Scree Plot
d. click on the Rotation tab
1) select Varimax
e. click on Scores tab
1) check Save Variables As and Regression
f. click on the Options tab
1) under Coefficient Display Format select Sort by Size
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Principal Components and Exploratory Factor Analysis Lab | PSY 775 and more Study notes Psychology in PDF only on Docsity!

Principal Components and Exploratory Factor Analysis Lab

PSY 775

A community-based treatment center for adolescents with behavior disorders

collects data on a number of measures. The question that they are interested in

is how many different kinds of information are we getting from the measures below:

physical aggression (pa2)

property damage (pd2)

theft (t2)

extreme verbal abuse (va2)

sadness (s2)

anxiety (ax2)

self-confidence (sc2)

compliance (co2)

One should always consult the correlation matrix to get an initial sense of how variables

are related.

From the pull-down menu:

1. Analyze

2. Data Reduction

3. Factor

a. place all variables in Variables window

b. click on the Descriptives tab

1) under Correlation Matrix select Coefficients, KMO, and Barlett's Test of

Sphericity

c. click on the Extraction tab

1) in the Method pull-down box make sure that Principal Components is

selected

2) under Display select Unrotated Factor Solution and Scree Plot

d. click on the Rotation tab

1) select Varimax

e. click on Scores tab

1) check Save Variables As and Regression

f. click on the Options tab

1) under Coefficient Display Format select Sort by Size

Correlation Matrix 1.000 .712 .395 .556 .269 .256 -.056 -. .712 1.000 .408 .485 .042 .174 -.063 -. .395 .408 1.000 .284 -.153 .005 .041 -. .556 .485 .284 1.000 .381 .622 -.127 -. .269 .042 -.153 .381 1.000 .601 -.171 -. .256 .174 .005 .622 .601 1.000 -.084 -. -.056 -.063 .041 -.127 -.171 -.084 1.000. -.216 -.296 -.032 -.299 -.277 -.268 .673 1. physical aggression property damage theft extreme verbal abuse sadness anxiety self-confidence compliance Correlation physical aggression property damage theft extreme verbal abuse sadness anxiety self-confi dence compliance KMO and Bartlett's Test .

28 . Kaiser-Meyer-Olkin Measure of Sampling Adequacy. Approx. Chi-Square df Sig. Bartlett's Test of Sphericity

KMO tells us the proportion of common variance in our variables. If this is greater

than .50 we can proceed with the analysis. The Bartlett's Test of Sphericity tells us if the

correlation matrix is factorable (i.e., are variables interrelated?). The significant value

tells us "YES" and we should proceed to the formal PCA analysis.

Communalities 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000.

PA

PD

T

VA

S

AX

SC

CO

Initial Extraction Extraction Method: Principal Component Analysis.

Remember that the communality variables are the percentage of variance explained in

each observed variable by the components of the solution. There is not a good rule of

thumb for these. However, our lowest value is .603, which is large! If communalities are

low (e.g., < .20) for a handful of variables, this might suggest the presence of other

components or that particular items are โ€œbad.โ€

Rotated Component Matrixa .853 .099 -. .807 .301 -. .751 -.186. .110 .884 -. -.081 .846 -. .562 .645 -. .033 -.026. -.165 -.209.

PD

PA

T

AX

S

VA

SC

CO

Component Extraction Method: Principal Component Analysis. Rotation Method: Varimax with Kaiser Normalization. a. Rotation converged in 4 iterations.

Components are named or interpreted based on the variables that load (or correlate)

with it. Remember we generally want factor loadings to be a minimum of .30 (.45 is better)

to be considered a good "primary" loading. All secondary loadings we would like to be

less than .25. Interpreting the rotated structure matrix above we find that the first

component is comprised of property damage and physical aggression (an externalizing

component?!); the second component is comprised of anxiety and sadness (an

emotionality [or internalizing] component); and the third component is comprised of self-

confidence and compliance (a positive self-concept component?). Notice that extreme

verbal abuse (va2) loads on both the first two components. This suggests that this

variable is a mixture of emotion and lashing out.

Below is an example of test/questionnaire/scale construction. Assume that we have

generated 15 items that we believe measure self-efficacy. We will initially conduct a PCA

followed by an Exploratory Factor Analysis using Principal Axis Factoring (PAF). For

both analyses, however, in the development of our items we have reason to believe that

these items represent multiple factors that are correlated. For this reason, we decide to

use an oblique rotational method (Direct Oblimin). From the Factor dialog box select the

Rotation tab. Next, select Direct Oblimin as your rotational technique to run these

analyses. Change the estimation procedure using the drop-down box in the Extraction

tab.

PCA Solution

KMO and Bartlett's Test

105 Kaiser-Meyer-Olkin Measure of Sampling Adequacy. Approx. Chi-Square df Sig. Bartlett's Test of Sphericity Communalities 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000. 1.000.

se

se

se

se

se

se

se

se

se

se

se

se

se

se

se

se se se se se se se se se se se Initial Extraction Extraction Method: Principal Component Analysis.

Now letโ€™s take a look at what Parallel Analysis (PA) will tell us about the number of factors. PA is run using a syntax file in SPSS. I will send you this file (rawpar.sps).

* Parallel Analysis Program For Raw Data and Data Permutations.

* This program conducts parallel analyses on data files in which

the rows of the data matrix are cases/individuals and the

columns are variables; Data are read/entered into the program

using the GET command (see the GET command below); The GET

command reads an SPSS systemfile, which can be either the

current, active SPSS data file or a previously saved systemfile;

A valid filename/location must be specified on the GET command;

A subset of variables for the analyses can be specified by using

the "/ VAR =" subcommand with the GET statement; There can be

no missing values.

* You must also specify:

-- the # of parallel data sets for the analyses;

-- the desired percentile of the distribution and random

data eigenvalues;

-- whether principal components analyses or principal axis/common

factor analysis are to be conducted, and

-- whether normally distributed random data generation or

permutations of the raw data set are to be used in the

parallel analyses.

* WARNING: Permutations of the raw data set are time consuming;

Each parallel data set is based on column-wise random shufflings

of the values in the raw data matrix using Castellan's (1992,

BRMIC, 24, 72-77) algorithm; The distributions of the original

raw variables are exactly preserved in the shuffled versions used

in the parallel analyses; Permutations of the raw data set are

thus highly accurate and most relevant, especially in cases where

the raw data are not normally distributed or when they do not meet

the assumption of multivariate normality (see Longman & Holden,

1992, BRMIC, 24, 493, for a Fortran version); If you would

like to go this route, it is perhaps best to (1) first run a

normally distributed random data generation parallel analysis to

familiarize yourself with the program and to get a ballpark

reference point for the number of factors/components;

(2) then run a permutations of the raw data parallel analysis

using a small number of datasets (e.g., 10), just to see how long

the program takes to run; then (3) run a permutations of the raw

data parallel analysis using the number of parallel data sets that

you would like use for your final analyses; 1000 datasets are

usually sufficient, although more datasets should be used if

there are close calls.

* These next commands generate artificial raw data

(50 cases) that can be used for a trial-run of

the program, instead of using your own raw data;

Just select and run this whole file; However, make sure to

delete these commands before attempting to run your own data.

set mxloops=9000 printback=off width=80 seed = 1953125.

matrix.

* Enter the name/location of the data file for analyses after "FILE =";

If you specify "FILE = *", then the program will read the current,

active SPSS data file; You can alternatively enter the name/location

of a previously saved SPSS systemfile instead of "*";

you can use the "/ VAR =" subcommand after "/ missing=omit"

subcommand to select variables for the analyses.

GET raw / FILE = * / missing=omit / VAR = se1 to se15.

* Enter the desired number of parallel data sets here.

compute ndatsets = 100.

* Enter the desired percentile here.

compute percent = 95.

* Enter either

1 for principal components analysis, or

2 for principal axis/common factor analysis.

compute kind = 1.

* Enter either

1 for normally distributed random data generation parallel analysis, or

2 for permutations of the raw data set.

compute randtype = 1.

* End of required user specifications.

OUTPUT

Run MATRIX procedure:

PARALLEL ANALYSIS:

Principal Components & Random Normal Data Generation

Specifications for this Run:

Ncases 373

Nvars 15

Ndatsets 100

Percent 95

Raw Data Eigenvalues, & Mean & Percentile Random Data Eigenvalues

Root Raw Data Means Prcntyle

------ END MATRIX -----

Component Correlation Matrix 1.000 -.146 -.336. -.146 1.000 .033 -. -.336 .033 1.000 -. .166 -.246 -.044 1. Component 1 2 3 4

Extraction Method: Principal Component Analysis. Rotation Method: Oblimin with Kaiser Normalization.

PAF Solution

KMO and Bartlett's Test

105 Kaiser-Meyer-Olkin Measure of Sampling Adequacy. Approx. Chi-Square df Sig. Bartlett's Test of Sphericity Communalities .516. .307. .653. .183. .609. .205. .452. .112. .351. .502. .299. .737. .747. .556. .294.

se

se

se

se

se

se

se

se

se

se

se

se

se

se

se

se

se se se se Initial Extraction Extraction Method: Principal Axis Factoring.

Total Variance Explained 3.952 26.345 26.345 3.519 23.461 23.461 2. 2.549 16.994 43.338 2.222 14.816 38.278 2. 1.485 9.901 53.239 1.130 7.532 45.809 2. 1.368 9.121 62.360 .869 5.791 51.601 1. .908 6.050 68. .834 5.557 73. .716 4.775 78. .615 4.097 82. .575 3.831 86. .550 3.669 90. .399 2.660 93. .368 2.453 95. .311 2.070 97. .230 1.531 99. .142 .946 100. Factor 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Total % of Variance Cumulative % Total % of Variance Cumulative % Total Initial Eigenvalues Extraction Sums of Squared Loadings Rotation Sums of Squared Loadings a Extraction Method: Principal Axis Factoring. a. When factors are correlated, sums of squared loadings cannot be added to obtain a total variance.

Run MATRIX procedure:

PARALLEL ANALYSIS:

PAF/Common Factor Analysis & Random Normal Data Generation

Specifications for this Run:

Ncases 373

Nvars 15

Ndatsets 100

Percent 95

Raw Data Eigenvalues, & Mean & Percentile Random Data Eigenvalues

Root Raw Data Means Prcntyle

Structure Matrix .817 -.188 -.348. .737 -.110 -.420. .691 -.078 -.342. .579 -.184 -.271. .526 -.137 -.146. .473 -.053 -.439. -.131 .895 .023 -. -.212 .841 .045 -. -.138 .769 .027 -. .343 -.008 -.958 -. .358 -.013 -.888. .230 -.065 -.316. .170 -.275 -.089. .078 -.173 -.012. .163 -.196 .027.

se

se

se

se

se

se

se se se se se se se se se se se se se se

Factor Extraction Method: Principal Axis Factoring. Rotation Method: Oblimin with Kaiser Normalization. Factor Correlation Matrix 1.000 -.189 -.428. -.189 1.000 .028 -. -.428 .028 1.000 -. .235 -.339 -.043 1. Factor 1 2 3 4

Extraction Method: Principal Axis Factoring. Rotation Method: Oblimin with Kaiser Normalization.

PAF Specifying the Number of Factors = 2 (go to the Extraction Tab and

place the number 2 in front of Number of Factors)

Communalities .516. .307. .653. .183. .609. .205. .452. .112. .351. .502. .299. .737. .747. .556. .294.

se

se

se

se

se

se

se se se se se se se se se se se se se se Initial Extraction Extraction Method: Principal Axis Factoring. Total Variance Explained 3.952 26.345 26.345 3.368 22.451 22.451 3. 2.549 16.994 43.338 2.077 13.846 36.297 2. 1.485 9.901 53. 1.368 9.121 62. .908 6.050 68. .834 5.557 73. .716 4.775 78. .615 4.097 82. .575 3.831 86. .550 3.669 90. .399 2.660 93. .368 2.453 95. .311 2.070 97. .230 1.531 99. .142 .946 100. Factor 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Total % of Variance Cumulative % Total % of Variance Cumulative % Total Initial Eigenvalues Extraction Sums of Squared Loadings Rotation Sums of Squared Loadings a Extraction Method: Principal Axis Factoring. a. When factors are correlated, sums of squared loadings cannot be added to obtain a total variance.

Structure Matrix .716 -. .712 -. .641 -. .623 -. .619. .560 -. .540 -. .432 -. .322 -. -.094. -.159. -.099. .168 -. .108 -. .073 -.

se

se

se

se

se

se

se se se se se se se se se se se se se se

Factor Extraction Method: Principal Axis Factoring. Rotation Method: Oblimin with Kaiser Normalization. Factor Correlation Matrix 1.000 -. -.228 1. Factor 1 2

Extraction Method: Principal Axis Factoring. Rotation Method: Oblimin with Kaiser Normalization.

Results (from the last PCA only)

Principal components analysis (PCA) using direct oblimin rotation was conducted to explore the

dimensionality of the 15-item self-efficacy scale. The variance accounted for by the solution, the variance

accounted for by each individual factor, and the interpretability of the factors were all evaluated to

determine the initial plausibility of the factor structure. To further confirm the factor structure a parallel

analysis was used.

An initial PCA of the instrument suggested that a 4-factor solution best explained the data. The

variance explained by the solution was 62.36%, and the four factors individually accounted for 26.345%,

16.994%, 9.901%, and 9.121% of the variance, respectively. In addition, the parallel analysis indicated

that a 4-component solution best represented the data when eigenvalues from the target data set were

compared to eigenvalues from randomly generated data: (a) Component 1: 3.95 vs. 1.36; (b) Component

2: 2.55 vs. 1.28, (c) Component 3: 1.49 vs. 1.21, and (d) Component 4: 1.37 vs. 1.16. Using the pattern

matrix for interpretation, five observed variables loaded on the first component (values ranged from.

to .818); three observed variables loaded on the second component (values ranged from .878 to .900);

three observed variables loaded on the third component (values ranged from -.934 to -488); and three

variables loaded on the 4th^ component (values ranged from .659 to .783). Item 11 load on both

components 1 and 3, and thus was not a pure marker of any component. AT THIS POINT YOU

WOULD IDENTIFY (NAME YOUR COMPONENTS). Correlations among these components were:

(1) Component 1, Component 2 = -.146, (2) Component 1, Component 3 = -.336, (3) Component 1,

Component 4 = .166, (4) Component 2, Component 3 = .033, (5) Component 2, Component 4 = -.246,

and (6) Component 3, Component 4 = -.044).