You are on page 1of 128

SW388R7 Data Analysis & Computers II Slide 1

Principal Component Analysis: Additional Topics

Split Sample Validation


Detecting Outliers Reliability of Summated Scales Sample Problems

SW388R7 Data Analysis & Computers II Slide 2

Split Sample Validation


To test the generalizability of findings from a principal component analysis, we could conduct a second research study to see if our findings are verified. A less costly alternative is to split the sample randomly into two halves, do the principal component analysis on each half and compare the results. If the communalities and the factor loadings are the same on the analysis on each half and the full data set, we have evidence that the findings are generalizable and valid because, in effect, the two analyses represent a study and a replication.

SW388R7 Data Analysis & Computers II Slide 3

Misleading Results to Watch Out For

When we examine the communalities and factor loadings, we are matching up overall patterns, not exact results: the communalities should all be greater than 0.50 and the pattern of the factor loadings should be the same. Sometimes the variables will switch their components (variables loading on the first component now load on the second and vice versa), but this does not invalidate our findings. Sometimes, all of the signs of the factor loadings will reverse themselves (the plus's become minus's and the minus's become plus's), but this does not invalidate our findings because we interpret the size, not the sign of the loadings.

SW388R7 Data Analysis & Computers II Slide 4

When validation fails


If the validation fails, we are warned that the solution found in the analysis of the full data set is not generalizable and should not be reported as valid findings. We do have some options when validation fails:

If the problem is limited to one or two variables, we can remove those variables and redo the analysis. Randomly selected samples are not always representative. We might try some different random number seeds and see if our negative finding was a fluke. If we choose this option, we should do a large number of validations to establish a clear pattern, at least 5 to 10. Getting one or two validations to negate the failed validation and support our findings is not sufficient.

SW388R7 Data Analysis & Computers II Slide 5

Outliers

SPSS calculates factor scores as standard scores.

SPSS suggests that one way to identify outliers is to compute the factors scores and identify those have a value greater than 3.0 as outliers.
If we find outliers in our analysis, we redo the analysis, omitting the cases that were outliers. If there is no change in communality or factor structure in the solution, it implies that there outliers do not have an impact. If our factor solution changes, we will have to study the outlier cases to determine whether or not we should exclude them. After testing outliers, restore full data set before any further calculations

SW388R7 Data Analysis & Computers II Slide 6

Reliability of Summated Scales

One of the common uses of factor analysis is the formation of summated scales, where we add the scores on all the variables loading on a component to create the score for the component.

To verify that the variables for a component are measuring similar entities that are legitimate to add together, we compute Chronbach's alpha. If Chronbach's alpha is 0.70 or greater (0.60 or greater for exploratory research), we have support on the interval consistency of the items justifying their use in a summated scale.

SW388R7 Data Analysis & Computers II Slide 7

Problem 1
In the dataset GSS2000.sav, is the following statement true, false, or an incorrect application of a statistic? Assume that there is no problematic pattern of missing data. Use a level of significance of 0.05. Validate the results of your principal component analysis by splitting the sample in two, using 519447 as the random number seed.

Based on the results of a principal component analysis of the 8 variables "highest academic degree" [degree], "father's highest academic degree" [padeg], "mother's highest academic degree" [madeg], "spouse's highest academic degree" [spdeg], "general happiness" [happy], "happiness of marriage" [hapmar], "condition of health" [health], and "attitude toward life" [life], the information in these variables can be represented with 2 components and 3 individual variables. Cases that might be considered to be outliers do not have an impact on the factor solution. The internal consistency of the variables included in the components is sufficient to support the creation of a summated scale.
Component 1 includes the variables "highest academic degree" [degree], "father's highest academic degree" [padeg], and "mother's highest academic degree" [madeg]. Component 2 includes the variables "general happiness" [happy] and "happiness of marriage" [hapmar]. The variables "attitude toward life" [life], "condition of health" [health], and "spouse's highest academic degree" [spdeg] were not included on the components and are retained as individual variables. 1. 2. 3. 4. True True with caution False Inappropriate application of a statistic
The bold text indicates that parts to the problem that have been added this week.

SW388R7 Data Analysis & Computers II Slide 8

Computing a principal component analysis

To compute a principal component analysis in SPSS, select the Data Reduction | Factor command from the Analyze menu.

SW388R7 Data Analysis & Computers II Slide 9

Add the variables to the analysis

First, move the variables listed in the problem to the Variables list box.

Second, click on the Descriptives button to specify statistics to include in the output.

SW388R7 Data Analysis & Computers II Slide 10

Compete the descriptives dialog box


First, mark the Univariate descriptives checkbox to get a tally of valid cases. Sixth, click on the Continue button.

Second, keep the Initial solution checkbox to get the statistics needed to determine the number of factors to extract.

Fifth, mark the Anti-image checkbox to get more outputs used to assess the appropriateness of factor analysis for the variables.

Third, mark the Coefficients checkbox to get a correlation matrix, one of the outputs needed to assess the appropriateness of factor analysis for the variables.

Fourth, mark the KMO and Bartletts test of sphericity checkbox to get more outputs used to assess the appropriateness of factor analysis for the variables.

SW388R7 Data Analysis & Computers II Slide 11

Select the extraction method

First, click on the Extraction button to specify statistics to include in the output.

The extraction method refers to the mathematical method that SPSS uses to compute the factors or components.

SW388R7 Data Analysis & Computers II Slide 12

Compete the extraction dialog box

First, retain the default method Principal components.

Second, click on the Continue button.

SW388R7 Data Analysis & Computers II Slide 13

Select the rotation method

First, click on the Rotation button to specify statistics to include in the output.

The rotation method refers to the mathematical method that SPSS rotate the axes in geometric space. This makes it easier to determine which variables are loaded on which components.

SW388R7 Data Analysis & Computers II Slide 14

Compete the rotation dialog box

First, mark the Varimax method as the type of rotation to used in the analysis.

Second, click on the Continue button.

SW388R7 Data Analysis & Computers II Slide 15

Complete the request for the analysis

First, click on the OK button to request the output.

SW388R7 Data Analysis & Computers II Slide 16

Level of measurement requirement


"Highest academic degree" [degree], "father's highest academic degree" [padeg], "mother's highest academic degree" [madeg], "spouse's highest academic degree" [spdeg], "general happiness" [happy], "happiness of marriage" [hapmar], "condition of health" [health], and "attitude toward life" [life] are ordinal level variables. If we follow the convention of treating ordinal level variables as metric variables, the level of measurement requirement for principal component analysis is satisfied. Since some data analysts do not agree with this convention, a note of caution should be included in our interpretation.

SW388R7 Data Analysis & Computers II Slide 17

Sample size requirement: minimum number of cases


Descriptiv e Statistics Mean Std. Deviation RS HIGHEST DEGREE 1.68 1.085 FATHERS HIGHEST .96 .984 DEGREE MOTHERS HIGHEST .85 .797 DEGREE SPOUSES HIGHEST 1.97 1.233 DEGREE The number of valid cases for this GENERAL HAPPINESS 1.65 .617 set of variables is 68. HAPPINESS OF 1.47 .532 MARRIAGE While principal component analysis CONDITION OF HEALTH 1.76 can be conducted on a sample that .848 IS LIFE EXCITINGthan 100 cases, but more has fewer OR 1.53 .532 DULL Analysis N 68 68 68 68 68 68 68 68

than 50 cases, we should be cautious about its interpretation.

SW388R7 Data Analysis & Computers II Slide 18

Sample size requirement: ratio of cases to variables


Descriptiv e Statistics Mean Std. Deviation RS HIGHEST DEGREE 1.68 1.085 FATHERS HIGHEST .96 .984 DEGREE MOTHERS HIGHEST .85 .797 DEGREE SPOUSES HIGHEST 1.97 1.233 DEGREE The ratio of cases to GENERAL HAPPINESS 1.65 .617 variables in a principal HAPPINESS OF component analysis should .532 1.47 MARRIAGE be at least 5 to 1. CONDITION OF HEALTH 1.76 .848 IS LIFE EXCITING OR and 8 variables, With 68 1.53 .532 DULL Analysis N 68 68 68 68 68 68 68 68

the ratio of cases to variables is 8.5 to 1, which exceeds the requirement for the ratio of cases to variables.

SW388R7 Data Analysis & Computers II Slide 19

Appropriateness of factor analysis: Presence of substantial correlations


Principal components analysis requires that there be some correlations greater than 0.30 between the variables included in the analysis. For this set of variables, there are 7 correlations in the matrix greater than 0.30, satisfying this requirement. The correlations greater than 0.30 are highlighted in yellow.
Correlation Matrix RS HIGHEST DEGREE 1.000 .490 .410 .595 -.017 -.172 -.246 -.138 FATHERS HIGHEST DEGREE .490 1.000 .677 .319 -.100 -.131 -.174 -.012 MOTHERS HIGHEST DEGREE .410 .677 1.000 .208 .105 -.046 -.008 .151 SPOUSES HIGHEST DEGREE .595 .319 .208 1.000 -.053 -.138 -.392 -.090 GENERAL HAPPINESS -.017 -.100 .105 -.053 1.000 .514 .267 .214 HAPPINESS OF MARRIAGE -.172 -.131 -.046 -.138 .514 1.000 .282 .161 CONDITION OF HEALTH -.246 -.174 -.008 -.392 .267 .282 1.000 .214

IS EX OR

Correlation

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE SPOUSES HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE CONDITION OF HEALTH IS LIFE EXCITING OR DULL

SW388R7 Data Analysis & Computers II Slide 20

Appropriateness of factor analysis: Sampling adequacy of individual variables


Anti-image Matrices RS HIGHEST DEGREE .511 FATHERS HIGHEST DEGREE -.101 .455 -.290 -.024 .103 -.028 .050 .028 -.210 .640 -.623 -.048 .187 -.049 .086 .044
a

Anti-image Covariance RS HIGHEST DEGREE FATHERS HIGHEST -.101 DEGREE There are two anti-image MOTHERS HIGHEST matrices: the anti-image -.079 DEGREE covariance matrix and the SPOUSES HIGHEST anti-image correlation -.274 DEGREE matrix.HAPPINESS interested GENERAL We are -.058 the anti-image correlation HAPPINESS OF .067 matrix. MARRIAGE CONDITION OF HEALTH -.008 IS LIFE EXCITING OR .108 DULL Anti-image Correlation RS HIGHEST DEGREE .701 a FATHERS HIGHEST -.210 DEGREE MOTHERS HIGHEST -.161 DEGREE SPOUSES HIGHEST -.503 DEGREE GENERAL HAPPINESS -.099 HAPPINESS OF .113 MARRIAGE CONDITION OF HEALTH -.012 IS LIFE EXCITING OR .162 DULL a. Measures of Sampling Adequacy(MSA)

MOTHERS HIGHEST DEGREE -.079 -.290 .476 .028 -.102 .043 -.052 -.121 -.161 -.623 .586 .053 -.181 .076 -.087 -.188
a

SPOUSES HIGHEST DEGREE -.274 -.024 .028

GENERAL HAPPINESS -.058 .103 -.102

HAPPINESS OF MARRIAGE .067 -.028 .043

CONDITION OF HEALTH -.008 .050 -.052

IS LIFE EXCITING OR DULL .108 .028 -.121 -.039 -.085 -.024 -.102 .876 .162 .044 -.188 -.055 -.111 -.030
a

in

Principal component analysis requires -.014 -.012 .203 that .578 Kaiser-Meyer-Olkin Measure of the Sampling Adequacy be greater than 0.50 -.014 .666 -.325 -.085 for each individual variable as well as the -.012 -.325 .692 -.099 set of variables. On iteration 1, the MSA for all of the -.039 -.085 -.024 individual variables included in the-.102 -.503 -.099 .113 -.012 analysis was greater than 0.5, supporting their retention .187 the analysis. in -.048 -.049 .086
.053 .656 -.023 -.018 .309 -.055
a

.203

-.085

-.099

.749

-.181 -.023 .549 a -.478 -.120 -.111

.076 -.018 -.478 .619 -.137 -.030


a

-.087 .309 -.120 -.137 .734 -.126

-.126 .638
a

SW388R7 Data Analysis & Computers II Slide 21

Appropriateness of factor analysis: Sampling adequacy for set of variables


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

In addition, the overall MSA for the set of variables included in the analysis was 0.640, which exceeds the minimum requirement of 0.50 for overall MSA.

SW388R7 Data Analysis & Computers II Slide 22

Appropriateness of factor analysis: Bartlett test of sphericity


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

Principal component analysis requires that the probability associated with Bartlett's Test of Sphericity be less than the level of significance. The probability associated with the Bartlett test is <0.001, which satisfies this requirement.

SW388R7 Data Analysis & Computers II Slide 23

Number of factors to extract: Latent root criterion


Total Variance Explained Initial Eigenvalues % of Variance Cumulative % 32.502 32.502 22.149 54.651 13.486 68.137 10.332 78.469 7.888 86.358 6.087 92.445 4.161 96.606 3.394 100.000 Extraction Sums of Squared Loadings Total % of Variance Cumulative % 2.600 32.502 32.502 1.772 22.149 54.651 1.079 13.486 68.137

Component 1 2 3 4 5 6 7 8

Total 2.600 1.772 1.079 .827 .631 .487 .333 .272

Extraction Method: Principal Component Analysis. Using the output from iteration 1, there were 3 eigenvalues greater than 1.0.

The latent root criterion for number of factors to derive would indicate that there were 3 components to be extracted for these variables.

SW388R7 Data Analysis & Computers II Slide 24

Number of factors to extract: Percentage of variance criterion


T otal Variance Explained Initi al Ei genval ues % of Vari ance Cumul ati ve % 32.502 32.502 22.149 54.651 13.486 68.137 10.332 78.469 7.888 86.358 6.087 92.445 4.161 96.606 3.394 100.000

Component 1 2 3 4 5 6 7 8

T otal 2.600 1.772 1.079 .827 .631 .487 .333 .272

Extracti on Sums of Squared T otal % of Vari ance Cu 2.600 32.502 1.772 22.149 1.079 13.486

Extracti on M ethod: Princi pal Com ponent Anal ysi s.

In addition, the cumulative proportion of variance criteria can be met with 3 components to satisfy the criterion of explaining 60% or more of the total variance. A 3 components solution would explain 68.137% of the total variance.

Since the SPSS default is to extract the number of components indicated by the latent root criterion, our initial factor solution was based on the extraction of 3 components.

SW388R7 Data Analysis & Computers II Slide 25

Evaluating communalities

Communalities RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE SPOUSES HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE CONDITION OF HEALTH IS LIFE EXCITING OR DULL Initial 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 Extraction .717 .768 .815 .715 .763 .711 .548 .415

Communalities represent the proportion of the variance in the original variables that is accounted for by the factor solution.

The factor solution should explain at least half of each original variable's variance, so the communality value for each variable should be 0.50 or higher.

Extraction Method: Principal Component Analysis.

SW388R7 Data Analysis & Computers II Slide 26

Communality requiring variable removal

Communalities RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE SPOUSES HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE CONDITION OF HEALTH IS LIFE EXCITING OR DULL Initial 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 Extraction .717 .768 .815 .715 .763 .711 .548 .415

On iteration 1, the communality for the variable "attitude toward life" [life] was 0.415. Since this is less than 0.50, the variable should be removed from the next iteration of the principal component analysis. The variable was removed and the principal component analysis was computed again.

Extraction Method: Principal Component Analysis.

SW388R7 Data Analysis & Computers II Slide 27

Repeating the factor analysis

In the drop down menu, select Factor Analysis to reopen the factor analysis dialog box.

SW388R7 Data Analysis & Computers II Slide 28

Removing the variable from the list of variables

First, highlight the life variable.

Second, click on the left arrow button to remove the variable from the Variables list box.

SW388R7 Data Analysis & Computers II Slide 29

Replicating the factor analysis

The dialog recall command opens the dialog box with all of the settings that we had selected the last time we used factor analysis. To replicate the analysis without the variable that we just removed, click on the OK button.

SW388R7 Data Analysis & Computers II Slide 30

Communality requiring variable removal

Communalities RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE SPOUSES HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE CONDITION OF HEALTH Initial 1.000 1.000 1.000 1.000 1.000 1.000 1.000 Extraction .642 .623 .592 .516 .638 .594 .477

On iteration 2, the communality for the variable "condition of health" [health] was 0.477. Since this is less than 0.50, the variable should be removed from the next iteration of the principal component analysis. The variable was removed and the principal component analysis was computed again.

Extraction Method: Principal Component Analysis.

SW388R7 Data Analysis & Computers II Slide 31

Repeating the factor analysis

In the drop down menu, select Factor Analysis to reopen the factor analysis dialog box.

SW388R7 Data Analysis & Computers II Slide 32

Removing the variable from the list of variables

First, highlight the health variable.

Second, click on the left arrow button to remove the variable from the Variables list box.

SW388R7 Data Analysis & Computers II Slide 33

Replicating the factor analysis

The dialog recall command opens the dialog box with all of the settings that we had selected the last time we used factor analysis. To replicate the analysis without the variable that we just removed, click on the OK button.

SW388R7 Data Analysis & Computers II Slide 34

Communality requiring variable removal

Communalities RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE SPOUSES HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE Initial 1.000 1.000 1.000 1.000 1.000 1.000 Extraction .674 .640 .577 .491 .719 .741

On iteration 3, the communality for the variable "spouse's highest academic degree" [spdeg] was 0.491. Since this is less than 0.50, the variable should be removed from the next iteration of the principal component analysis. The variable was removed and the principal component analysis was computed again.

Extraction Method: Principal Component Analysis.

SW388R7 Data Analysis & Computers II Slide 35

Repeating the factor analysis

In the drop down menu, select Factor Analysis to reopen the factor analysis dialog box.

SW388R7 Data Analysis & Computers II Slide 36

Removing the variable from the list of variables

First, highlight the spdeg variable.

Second, click on the left arrow button to remove the variable from the Variables list box.

SW388R7 Data Analysis & Computers II Slide 37

Replicating the factor analysis

The dialog recall command opens the dialog box with all of the settings that we had selected the last time we used factor analysis. To replicate the analysis without the variable that we just removed, click on the OK button.

SW388R7 Data Analysis & Computers II Slide 38

Communality satisfactory for all variables


Communalities RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE Initial 1.000 1.000 1.000 1.000 1.000 Extraction .577 .720 .684 .745 .782

Once any variables with communalities less than 0.50 have been removed from the analysis, the pattern of factor loadings should be examined to identify variables that have complex structure.

Extraction Method: Principal Component Analysis.

Complex structure occurs when one variable has high loadings or correlations (0.40 or greater) on more than one component. If a variable has complex structure, it should be removed from the analysis.

Variables are only checked for complex structure if there is more than one component in the solution. Variables that load on only one component are described as having simple structure.

SW388R7 Data Analysis & Computers II Slide 39

Identifying complex structure

a Rotated Component Matrix

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Component 1 2 .732 -.202 .848 .810 .145 -.145 .031 .169 .851 .872

On iteration 4, none of the variables demonstrated complex structure. It is not necessary to remove any additional variables because of complex structure.

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

SW388R7 Data Analysis & Computers II Slide 40

Variable loadings on components

On iteration 4, the 2 components in the analysis had more than one variable loading on each of them.
a Rotated Component Matrix

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

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Component 1 2 -.202 .732 .848 .810 .145 -.145 .031 .169 .851

No variables need to be removed because they are the only variable loading on a component.

SW388R7 Data Analysis & Computers II Slide 41

Final check of communalities


Once we have resolved any problems with complex structure, we check the communalities one last time to make certain that we are explaining a sufficient portion of the variance of all of the original variables.

Communalities RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE Initial 1.000 1.000 1.000 1.000 1.000 Extraction .577 .720 .684 .745 .782

The communalities for all of the variables included on the components were greater than 0.50 and all variables had simple structure. The principal component analysis has been completed.

Extraction Method: Principal Component Analysis.

SW388R7 Data Analysis & Computers II Slide 42

Interpreting the principal components


The information in 5 of the variables can be represented by 2 components.

Component 1 includes the variables "highest academic degree" [degree], "father's highest academic degree" [padeg], and "mother's highest academic degree" [madeg].

a Rotated Component Matrix

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

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Component 1 2 -.202 .732 .848 .810 .145 -.145 .031 .169 .851

Component 2 includes the variables "general happiness" [happy] and "happiness of marriage" [hapmar].

SW388R7 Data Analysis & Computers II Slide 43

Total variance explained


Total Variance Explained Initial Eigenvalues % of Variance Cumulative % 39.061 39.061 31.109 70.169 12.989 83.158 8.820 91.977 8.023 100.000 Extraction Sums of Squared Loadings Total % of Variance Cumulative % 1.953 39.061 39.061 1.555 31.109 70.169

Component 1 2 3 4 5

Total 1.953 1.555 .649 .441 .401

Rotation Sums o Total % of V 1.953 1.556

Extraction Method: Principal Component Analysis.

The 2 components explain 70.169% of the total variance in the variables which are included on the components.

SW388R7 Data Analysis & Computers II Slide 44

Split-sample validation

We validate our analysis by conducting an analysis on each half of the sample. We compare the results of these two split sample analyses with the analysis of the full data set.

To split the sample into two half, we generate a random variable that indicates which half of the sample each case should be placed in.
To compute a random selection of cases, we need to specify the starting value, or random number seed. Otherwise, the random sequence of numbers that you generate will not match mine, and we will get different results.

Before we do the do the random selection, you must make certain that your data set is sorted in the original sort order, or the cases in your two half samples will not match mine. To make certain your data set is in the same order as mine, sort your data set in ascending order by case id.

SW388R7 Data Analysis & Computers II Slide 45

Sorting the data set in original order

To make certain the data set is sorted in the original order, highlight the case id column, right click on the column header, and select the Sort Ascending command from the popup menu.

SW388R7 Data Analysis & Computers II Slide 46

Setting the random number seed

To set the random number seed, select the Random Number Seed command from the Transform menu.

SW388R7 Data Analysis & Computers II Slide 47

Set the random number seed

First, click on the Set seed to option button to activate the text box.

Second, type in the random seed stated in the problem.

Third, click on the OK button to complete the dialog box. Note that SPSS does not provide you with any feedback about the change.

SW388R7 Data Analysis & Computers II Slide 48

Select the compute command

To enter the formula for the variable that will split the sample in two parts, click on the Compute command.

SW388R7 Data Analysis & Computers II Slide 49

The formula for the split variable


First, type the name for the new variable, split, into the Target Variable text box. Second, the formula for the value of split is shown in the text box. The uniform(1) function generates a random decimal number between 0 and 1. The random number is compared to the value 0.50. If the random number is less than or equal to 0.50, the value of the formula will be 1, the SPSS numeric equivalent to true. If the random number is larger than 0.50, the formula will return a 0, the SPSS numeric equivalent to false.

Third, click on the OK button to complete the dialog box.

SW388R7 Data Analysis & Computers II Slide 50

The split variable in the data editor

In the data editor, the split variable shows a random pattern of zeros and ones. To select half of the sample for each validation analysis, we will first select the cases where split = 0, then select the cases where split = 1.

SW388R7 Data Analysis & Computers II Slide 51

Repeating the analysis with the first validation sample

To repeat the principal component analysis for the first validation sample, select Factor Analysis from the Dialog Recall tool button.

SW388R7 Data Analysis & Computers II Slide 52

Using "split" as the selection variable

First, scroll down the list of variables and highlight the variable split.

Second, click on the right arrow button to move the split variable to the Selection Variable text box.

SW388R7 Data Analysis & Computers II Slide 53

Setting the value of split to select cases

When the variable named split is moved to the Selection Variable text box, SPSS adds "=?" after the name to prompt up to enter a specific value for split.

Click on the Value button to enter a value for split.

SW388R7 Data Analysis & Computers II Slide 54

Completing the value selection

First, type the value for the first half of the sample, 0, into the Value for Selection Variable text box.

Second, click on the Continue button to complete the value entry.

SW388R7 Data Analysis & Computers II Slide 55

Requesting output for the first validation sample

Click on the OK button to request the output.

When the value entry dialog box is closed, SPSS adds the value we entered after the equal sign. This specification now tells SPSS to include in the analysis only those cases that have a value of 0 for the split variable.

Since the validation analysis requires us to compare the results of the analysis using the two split sample, we will request the output for the second sample before doing any comparison.

SW388R7 Data Analysis & Computers II Slide 56

Repeating the analysis with the second validation sample

To repeat the principal component analysis for the second validation sample, select Factor Analysis from the Dialog Recall tool button.

SW388R7 Data Analysis & Computers II Slide 57

Setting the value of split to select cases

Since the split variable is already in the Selection Variable text box, we only need to change its value. Click on the Value button to enter a different value for split.

SW388R7 Data Analysis & Computers II Slide 58

Completing the value selection

First, type the value for the second half of the sample, 1, into the Value for Selection Variable text box.

Second, click on the Continue button to complete the value entry.

SW388R7 Data Analysis & Computers II Slide 59

Requesting output for the second validation sample

Click on the OK button to request the output.

When the value entry dialog box is closed, SPSS adds the value we entered after the equal sign. This specification now tells SPSS to include in the analysis only those cases that have a value of 1 for the split variable.

SW388R7 Data Analysis & Computers II Slide 60

Comparing communalities
All of the communalities for the first split sample satisfy the minimum requirement of being larger than 0.50. All of the communalities for the second split sample satisfy the minimum requirement of being larger than 0.50.

a Communalities

a Communalities

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Initial 1.000 1.000 1.000 1.000 1.000

Extraction .580 .647 .693 .667 .754

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Initial 1.000 1.000 1.000 1.000 1.000

Extraction .618 .802 .675 .807 .830

Extraction Method: Principal Component Analysis. a. Only cases for which SPLIT = 0 are used in the analysis phase.

Extraction Method: Principal Component Analysis. a. Only cases for which SPLIT = 1 are used in the analysis phase.

Note how SPSS identifies for us which cases we selected for the analysis.

SW388R7 Data Analysis & Computers II Slide 61

Comparing factor loadings

The pattern of factor loading for both split samples shows the variables RS HIGHEST DEGREE; FATHERS HIGHEST DEGREE; and MOTHERS HIGHEST DEGREE loading on the first component, and GENERAL HAPPINESS and HAPPINESS OF MARRIAGE loading on the second component.

a,b Rotated Component Matrix

a,b Rotated Component Matrix

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Component 1 2 .730 -.215 .789 .794 .248 -.102 .154 .251 .778 .862

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Component 1 2 .755 -.219 .895 .819 .049 -.183 -.043 .064 .897 .893

Extraction Method: Principal Component Analysis. Rotation Method: Varimax with Kaiser Normalization. a. Rotation converged in 3 iterations. b. Only cases for which SPLIT = 0 are used in the analysis phase.

Extraction Method: Principal Component Analysis. Rotation Method: Varimax with Kaiser Normalization. a. Rotation converged in 3 iterations. b. Only cases for which SPLIT = 1 are used in the analysis phase.

SW388R7 Data Analysis & Computers II Slide 62

Interpreting the validation results


All of the communalities in both validation samples met the criteria. The pattern of loadings for both validation samples is the same, and the same as the pattern for the analysis using the full sample. In effect, we have done the same analysis on two separate subsamples of cases and obtained the same results.
a,b a,b principal component the population Rotated Component Matrix analysis are generalizable toRotated Component Matrix

This validation analysis supports a finding that the results of this represented by this data set.
Component 1 2 .730 -.215 .789 .794 .248 -.102 .154 .251 .778 .862

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Extraction Method: Principal Component Analysis. Rotation Method: Varimax with Kaiser Normalization. a. Rotation converged in 3 iterations. b. Only cases for which SPLIT = 0 are used in the analysis phase.

set and remove the variables Extraction Method: Principal Component Analysis. we Method: Varimax with Kaiser Normalization. Rotation created. a. Rotation converged in 3 iterations.
b. Only cases for which SPLIT = 1 are used in the analysis phase.

RS HIGHEST DEGREE FATHERS HIGHEST .895 -.043 DEGREE MOTHERS HIGHEST .819 .064 DEGREE GENERAL HAPPINESS .049 When we are finished with .897 HAPPINESS OF this analysis, we should select -.183 .893 MARRIAGE all cases back into the data

Component 1 2 .755 -.219

SW388R7 Data Analysis & Computers II Slide 63

Detecting outliers

To detect outliers, we compute the factor scores in SPSS.


Select the Factor Analysis command from the Dialog Recall tool button

SW388R7 Data Analysis & Computers II Slide 64

Access the Scores Dialog Box

Click on the Scores button to access the factor scores dialog box.

SW388R7 Data Analysis & Computers II Slide 65

Specifications for factor scores


First, click on the Save as variables checkbox to create factor variables.

Second, accept the default method using a Regression equation to calculate the scores.

Third, click on the Continue button to complete the specifications.

SW388R7 Data Analysis & Computers II Slide 66

Compute the factor scores

Click on the Continue button to compute the factor scores.

SW388R7 Data Analysis & Computers II Slide 67

The factor scores in the data editor


SPSS creates the factor score variables in the data editor window. It names the first factor score fac1_1, and the second factor score fac2_1.

We need to check to see if we have any values for either factor score that are larger than 3.0. One way to check for the presence of large values indicating outliers is to sort the factor variables and see if any fall outside the acceptable range.

SW388R7 Data Analysis & Computers II Slide 68

Sort the data to locate outliers for factor one

First, select the fac1_1 column by clicking on its header.

Second, right click on the column header and select the Sort Ascending command from the drop down menu.

SW388R7 Data Analysis & Computers II Slide 69

Negative outliers for factor one

Scroll down past the cases for whom factor scores could not be computed. We see that none of the scores for factor one are less than or equal to -3.0.

SW388R7 Data Analysis & Computers II Slide 70

Positive outliers for factor one

Scrolling down to the bottom of the sorted data set, we see that none of the scores for factor one are greater than or equal to +3.0.

There are no outliers on factor one.

SW388R7 Data Analysis & Computers II Slide 71

Sort the data to locate outliers on factor two

First, select the fac2_1 column by clicking on its header.

Second, right click on the column header and select the Sort Ascending command from the drop down menu.

SW388R7 Data Analysis & Computers II Slide 72

Negative outliers for factor two

Scrolling down past the cases for whom factor scores could not be computed, we see that none of the scores for factor two are less than or equal to -3.0.

SW388R7 Data Analysis & Computers II Slide 73

Positive outliers for factor two

Scrolling down to the bottom of the sorted data set, we see that one of the scores for factor two is greater than or equal to +3.0. We will run the analysis excluding this outlier and see if it changes our interpretation of the analysis.

SW388R7 Data Analysis & Computers II Slide 74

Removing the outliers

To see whether or not outliers are having an impact on the factor solution, we will compute the factor analysis without the outliers and compare the results.

To remove the outliers, we will include the cases that are not outliers.
Choose the Select Cases command from the Data menu.

SW388R7 Data Analysis & Computers II Slide 75

Setting the If condition

Click on the If button to enter the formula for selecting cases in or out of the analysis.

SW388R7 Data Analysis & Computers II Slide 76

Formula to select cases that are not outliers

First, type the formula as shown. The formula says: include cases if the absolute value of the first and second factor scores are less than 3.0.

Second, click on the Continue button to complete the specification.

SW388R7 Data Analysis & Computers II Slide 77

Complete the select cases command

Having entered the formula for including cases, click on the OK button to complete the selection.

SW388R7 Data Analysis & Computers II Slide 78

The outlier selected out of the analysis

When SPSS selects a case out of the data analysis, it draws a slash through the case number. The case that we identified as an outlier will be excluded.

SW388R7 Data Analysis & Computers II Slide 79

Repeating the factor analysis

To repeat the factor analysis without the outliers, select the Factor Analysis command from the Dialog Recall tool button

SW388R7 Data Analysis & Computers II Slide 80

Stopping SPSS from computing factor scores again

On the last factor analysis, we included the specification to compute factor scores. Since we do not need to do this again, we will remove the specification.

Click on the Scores button to access the factor scores dialog.

SW388R7 Data Analysis & Computers II Slide 81

Clearing the command to save factor scores

First, clear the Save as variables checkbox. This will deactivate the Method options.

Second, click on the Continue button to complete the specification

SW388R7 Data Analysis & Computers II Slide 82

Computing the factor analysis

To produce the output for the factor analysis excluding outliers, click on the OK button.

SW388R7 Data Analysis & Computers II Slide 83

Comparing communalities
All of the communalities for the factor analysis including all cases satisfy the minimum requirement of being larger than 0.50. All of the communalities for the factor analysis excluding outliers satisfy the minimum requirement of being larger than 0.50.

Communalities RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE Initial 1.000 1.000 1.000 1.000 1.000 Extraction .577 .720 .684 .745 .782

Communalities RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE Initial 1.000 1.000 1.000 1.000 1.000 Extraction .579 .720 .681 .726 .771

Extraction Method: Principal Component Analysis.

Extraction Method: Principal Component Analysis.

SW388R7 Data Analysis & Computers II Slide 84

Comparing factor loadings


The factor loadings for the factor analysis including all cases is shown on the left.
a Rotated Component Matrix

The factor loadings for the factor analysis excluding outliers is shown on the right.
a Rotated Component Matrix

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Component 1 2 .732 -.202 .848 .810 .145 -.145 .031 .169 .851 .872

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Component 1 2 .734 -.201 .846 .810 .159 -.143 .060 .157 .837 .866

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

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

The pattern of factor loading for both split analyses shows the variables RS HIGHEST DEGREE; FATHERS HIGHEST DEGREE; and MOTHERS HIGHEST DEGREE loading on the first component, and GENERAL HAPPINESS and HAPPINESS OF MARRIAGE loading on the second component.

SW388R7 Data Analysis & Computers II Slide 85

Interpreting the outlier analysis


All of the communalities satisfy the criteria of being greater than 0.50. The pattern of loadings for both analyses is the same. Whether we include or exclude outliers, our interpretation is the same. The outliers do not have an effect which supports their exclusion from the analysis. The part of the problem statement that outliers do not have an impact is true.

a Rotated Component Matrix

a Rotated Component Matrix

RS HIGHEST DEGREE FATHERS HIGHEST DEGREE MOTHERS HIGHEST DEGREE GENERAL HAPPINESS HAPPINESS OF MARRIAGE

Component 1 2 .732 -.202 .848 .810 .145 -.145 .031 .169 .851 .872

RS HIGHEST DEGREE FATHERS HIGHEST .846 DEGREE When we are finished with MOTHERS HIGHEST this analysis, we should select .810 DEGREE all cases back into the data GENERAL HAPPINESS .159 set and remove the variables we created. HAPPINESS OF -.143 MARRIAGE

Component 1 2 .734 -.201 .060 .157 .837 .866

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

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

SW388R7 Data Analysis & Computers II Slide 86

Computing Chronbach's Alpha

To compute Chronbach's alpha for each component in our analysis, we select Scale | Reliability Analysis from the Analyze menu.

SW388R7 Data Analysis & Computers II Slide 87

Selecting the variables for the first component


First, move the three variables that loaded on the first component to the Items list box.

Second, click on the Statistics button to select the statistics we will need.

SW388R7 Data Analysis & Computers II Slide 88

Selecting the statistics for the output

First, mark the checkboxes for Item, Scale, and Scale if item deleted.

Second, click on the Continue button.

SW388R7 Data Analysis & Computers II Slide 89

Completing the specifications

Second, click on the OK button to produce the output.

First, If Alpha is not selected as the Model in the drop down menu, select it now.

SW388R7 Data Analysis & Computers II Slide 90

Chronbach's Alpha

Chronbach's Alpha is located at the bottom of the output. An alpha of 0.60 or higher is the minimum acceptable level. Preferably, alpha will be 0.70 or higher, as it is in this case.

SW388R7 Data Analysis & Computers II Slide 91

Chronbach's Alpha

If alpha is too small, this column may suggest which variable should be removed to improve the internal consistency of the scale variables. It tells us what alpha we would get if the variable listed were removed from the scale.

SW388R7 Data Analysis & Computers II Slide 92

Computing Chronbach's Alpha

To compute Chronbach's alpha for each component in our analysis, we select Scale | Reliability Analysis from the Analyze menu.

SW388R7 Data Analysis & Computers II Slide 93

Selecting the variables for the second component


First, move the three variables that loaded on the second component to the Items list box.

Second, click on the Statistics button to select the statistics we will need.

SW388R7 Data Analysis & Computers II Slide 94

Selecting the statistics for the output

First, mark the checkboxes for Item, Scale, and Scale if item deleted.

Second, click on the Continue button.

SW388R7 Data Analysis & Computers II Slide 95

Completing the specifications

Second, click on the OK button to produce the output.

First, If Alpha is not selected as the Model in the drop down menu, select it now.

SW388R7 Data Analysis & Computers II Slide 96

Chronbach's Alpha

Chronbach's Alpha is located at the bottom of the output. An alpha of 0.60 or higher is the minimum acceptable level. Preferably, alpha Second, it is will be 0.70 or higher, asclick in this case.

SW388R7 Data Analysis & Computers II Slide 97

Answering the problem question


Total Variance Explained Initial Eigenvalues Extraction Sums of Squared Loadings Component Total % of Variance Cumulative % Total % of Variance Cumulative % 1 1.626 40.651 40.651 1.626 40.651 40.651 The answer to the original question is true with caution. 2 1.119 27.968 68.619 1.119 27.968 68.619 Component 1 includes the variables "highest academic degree" [degree], 3 .694 17.341 85.960 "father's highest academic degree" [padeg], and "mother's highest 4 .562 14.040 100.000 academic degree" [madeg]. We can substitute one component variable for this combination of variables in further Extraction Method: Principal Component Analysis.analyses.
Component 2 includes the variables "general happiness" [happy] and "happiness of marriage" [hapmar]. We can substitute one component variable for this combination of variables in further analyses. The components explain at least 50% of the variance in each of the variables included in the final analysis. The components explain 70.169% of the total variance in the variables which are included on the components.

Ro Tot 1. 1.

A caution is added to our findings because of the inclusion of ordinal level variables in the analysis.

SW388R7 Data Analysis & Computers II Slide 98

Validation with small samples

In the validation example completed above, 105 cases were used in the final principal component analysis model. When we have more than 100 cases available for the validation analysis, an even split should generally results in 50+ cases per validation sample. However, if the number of cases available for the validation is less than 100, then splitting the sample in two may result in a validation samples that are less than the minimum of 50 cases to conduct a factor analysis. When this happens, we draw two random samples of cases that are both larger than the minimum of 50. Since some of the same cases will be in both validation samples, the support for generalizability is not as strong, but it does offer some evidence, especially if we repeat the process a number of times.

SW388R7 Data Analysis & Computers II Slide 99

Validation with small samples

We randomly create two split variables which we will call split1 and split 2, using a separate random number see for each. In the formula for creating the split variables, we set the proportion of cases sufficient to randomly select fifty cases.

To calculate the proportion that we need, we divide 50 by the number of valid cases in the analysis and round up to the next highest 10% increment.
For example, if we have 80 valid cases, the proportion we need for validation is 50 / 80 = 0.625, which we would round up to 0.70 or 70%. The formulas for the split variables would be: split1 = uniform(1) <= 0.70 split2 = uniform(1) <= 0.70

SW388R7 Data Analysis & Computers II Slide 100

Validation with very small samples


When the number of valid cases in a factor analysis gets close to the lower limit of 50, the results of the validation may appear to support the analysis, but this can be misleading because the validation samples are not really different from the analysis of the full data set. For example, if the number of valid cases were 60, a 90% sub-sample of 54 would result in 54 cases being the same in both the full analysis and the validation analysis. The validation may appear to support the full analysis simply because the validation had limited opportunity to be different.

SW388R7 Data Analysis & Computers II Slide 101

Problem 2
In the dataset GSS2000.sav, is the following statement true, false, or an incorrect application of a statistic? Assume that there is no problematic pattern of missing data. Use a level of significance of 0.05. Validate the results of your principal component analysis by repeating the principal component analysis on two 70% random samples of the data set, using 743911 and 747454 as the random number seeds. Based on the results of a principal component analysis of the 7 variables "claims about environmental threats are exaggerated" [grnexagg], "danger to the environment from modifying genes in crops" [genegen], "America doing enough to protect environment" [amprogrn], "should be international agreements for environment problems" [grnintl], "poorer countries should be expected to do less for the environment" [ldcgrn], "economic progress in America will slow down without more concern for environment" [econgrn], and "likelihood of nuclear power station damaging environment in next 5 years" [nukeacc], the information in these variables can be represented with 2 components and 3 individual variables. Cases that might be considered to be outliers do not have an impact on the factor solution. The internal consistency of the variables included in the components is sufficient to support the creation of a summated scale. Component 1 includes the variables "danger to the environment from modifying genes in crops" [genegen] and "likelihood of nuclear power station damaging environment in next 5 years" [nukeacc]. Component 2 includes the variables "claims about environmental threats are exaggerated" [grnexagg] and "poorer countries should be expected to do less for the environment" [ldcgrn]. The variables "economic progress in America will slow down without more concern for environment" [econgrn], "should be international agreements for environment problems" [grnintl], and "America doing enough to protect environment" [amprogrn] were not included on the components and are retained as individual variables. 1. 2. 3. 4. True True with caution False Inappropriate application of a statistic

SW388R7 Data Analysis & Computers II Slide 102

The principal component solution

A principal component analysis found a two-factor solution, with four of the original seven variables loading on the components. The communalities and factor loadings are shown below.
Communalities Initial ENVIRONMENTAL THREATS EXAGGERATED HOW DANGEROUS MODIFYING GENES IN CROPS POOR COUNTRIES LESS THAN RICH FOR ENVIRONMENT LIKELIHOOD OF NUCLEAR MELTDOWN IN 5 YEARS 1.000 Extraction .615
a Rotated Component Matrix

Component 1 2 ENVIRONMENTAL THREATS EXAGGERATED HOW DANGEROUS MODIFYING GENES IN CROPS POOR COUNTRIES LESS THAN RICH FOR ENVIRONMENT LIKELIHOOD OF NUCLEAR MELTDOWN IN 5 YEARS -.207 .756

1.000

.694

.801

-.229

1.000

.691

.051

.830

1.000

.744

.861

.059

Extraction Method: Principal Component Analysis.

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

SW388R7 Data Analysis & Computers II Slide 103

The size of the validation sample


Descriptiv e Statistics Mean Std. Deviation ENVIRONMENTAL THREATS 3.28 1.008 EXAGGERATED HOW DANGEROUS MODIFYING GENES IN 3.11 .953 CROPS POOR COUNTRIES LESS THAN RICH FOR 3.77 .863 ENVIRONMENT LIKELIHOOD OF NUCLEAR MELTDOWN 2.47 There were 75 valid cases in the final.935 IN 5 YEARS Analysis N 75

75

75

75

analysis. The sample is to small to split in half and have enough cases to meet the minimum of 50 cases for factor analysis. We will draw two random samples that each comprise 70% of the full sample. We arrive at 70% by dividing the minimum sample size by the number of valid cases (50 75 = 0.667) and rounding up to the next 10% increment, 70%.

SW388R7 Data Analysis & Computers II Slide 104

Split-sample validation

The first random number seed stated in the problem is 743911, so we enter this is the SPSS random number seed dialog.

To set the random number seed, select the Random Number Seed command from the Transform menu.

SW388R7 Data Analysis & Computers II Slide 105

Set the random number seed for first sample

First, click on the Set seed to option button to activate the text box.

Second, type in the random seed stated in the problem.

Third, click on the OK button to complete the dialog box. Note that SPSS does not provide you with any feedback about the change.

SW388R7 Data Analysis & Computers II Slide 106

Select the compute command

To enter the formula for the variable that will split the sample in two parts, click on the Compute command.

SW388R7 Data Analysis & Computers II Slide 107

The formula for the split1 variable


First, type the name for the new variable, split1, into the Target Variable text box. Second, the formula for the value of split1 is shown in the text box. The uniform(1) function generates a random decimal number between 0 and 1. The random number is compared to the value 0.70. If the random number is less than or equal to 0.70, the value of the formula will be 1, the SPSS numeric equivalent to true. If the random number is larger than 0.70, the formula will return a 0, the SPSS numeric equivalent to false.

Third, click on the OK button to complete the dialog box.

SW388R7 Data Analysis & Computers II Slide 108

Set the random number seed for second sample

First, click on the Set seed to option button to activate the text box.

Second, type in the random seed stated in the problem.

Third, click on the OK button to complete the dialog box. Note that SPSS does not provide you with any feedback about the change.

SW388R7 Data Analysis & Computers II Slide 109

Select the compute command

To enter the formula for the variable that will split the sample in two parts, click on the Compute command.

SW388R7 Data Analysis & Computers II Slide 110

The formula for the split2 variable


First, type the name for the new variable, split2, into the Target Variable text box. Second, the formula for the value of split2 is shown in the text box. The uniform(1) function generates a random decimal number between 0 and 1. The random number is compared to the value 0.70. If the random number is less than or equal to 0.70, the value of the formula will be 1, the SPSS numeric equivalent to true. If the random number is larger than 0.70, the formula will return a 0, the SPSS numeric equivalent to false.

Third, click on the OK button to complete the dialog box.

SW388R7 Data Analysis & Computers II Slide 111

Repeating the analysis with the first validation sample

To repeat the principal component analysis for the first validation sample, select Factor Analysis from the Dialog Recall tool button.

SW388R7 Data Analysis & Computers II Slide 112

Using split1 as the selection variable

First, scroll down the list of variables and highlight the variable split1.

Second, click on the right arrow button to move the split1 variable to the Selection Variable text box.

SW388R7 Data Analysis & Computers II Slide 113

Setting the value of split1 to select cases

When the variable named split1 is moved to the Selection Variable text box, SPSS adds "=?" after the name to prompt up to enter a specific value for split1.

Click on the Value button to enter a value for split1.

SW388R7 Data Analysis & Computers II Slide 114

Completing the value selection

First, type the value for the first sample, 1, into the Value for Selection Variable text box.

Second, click on the Continue button to complete the value entry.

SW388R7 Data Analysis & Computers II Slide 115

Requesting output for the first validation sample

Click on the OK button to request the output.

When the value entry dialog box is closed, SPSS adds the value we entered after the equal sign. This specification now tells SPSS to include in the analysis only those cases that have a value of 1 for the split1 variable.

Since the validation analysis requires us to compare the results of the analysis using the first validation sample, we will request the output for the second validation sample before doing any comparison.

SW388R7 Data Analysis & Computers II Slide 116

Repeating the analysis with the second validation sample

To repeat the principal component analysis for the second validation sample, select Factor Analysis from the Dialog Recall tool button.

SW388R7 Data Analysis & Computers II Slide 117

Removing split1 as the selection variable

First, highlight the Selection Variable text box.

Second, click on the left arrow button to move the split1 back to the list of variables.

SW388R7 Data Analysis & Computers II Slide 118

Using split2 as the selection variable

First, scroll down the list of variables and highlight the variable split2.

Second, click on the right arrow button to move the split2 variable to the Selection Variable text box.

SW388R7 Data Analysis & Computers II Slide 119

Setting the value of split2 to select cases

When the variable named split2 is moved to the Selection Variable text box, SPSS adds "=?" after the name to prompt up to enter a specific value for split2.

Click on the Value button to enter a value for split2.

SW388R7 Data Analysis & Computers II Slide 120

Completing the value selection

First, type the value for the second sample, 1, into the Value for Selection Variable text box.

Second, click on the Continue button to complete the value entry.

SW388R7 Data Analysis & Computers II Slide 121

Requesting output for the second validation sample

Click on the OK button to request the output.

When the value entry dialog box is closed, SPSS adds the value we entered after the equal sign. This specification now tells SPSS to include in the analysis only those cases that have a value of 1 for the split2 variable.

SW388R7 Data Analysis & Computers II Slide 122

Comparing the communalities for the validation samples


All of the communalities for the first validation sample satisfy the minimum requirement of being larger than 0.50.
Communalitiesa Initial ENVIRONMENTAL THREATS EXAGGERATED HOW DANGEROUS MODIFYING GENES IN CROPS POOR COUNTRIES LESS THAN RICH FOR ENVIRONMENT LIKELIHOOD OF NUCLEAR MELTDOWN IN 5 YEARS 1.000 Extraction .631
ENVIRONMENTAL THREATS EXAGGERATED HOW DANGEROUS MODIFYING GENES IN CROPS POOR COUNTRIES LESS THAN RICH FOR ENVIRONMENT LIKELIHOOD OF NUCLEAR MELTDOWN IN 5 YEARS

All of the communalities for the second validation sample satisfy the minimum requirement of being larger than 0.50.
Communalitiesa Initial 1.000 Extraction .672

1.000

.648

1.000

.679

1.000

.773

1.000

.732

1.000

.691

1.000

.746

Extraction Method: Principal Component Analysis. a. Only cases for which SPLIT2 = 1 are used in the analysis phase.

Extraction Method: Principal Component Analysis. a. Only cases for which SPLIT1 = 1 are used in the analysis phase.

SW388R7 Data Analysis & Computers II Slide 123

Comparing the factor loadings for the validation samples


The factor loadings for the first validation analysis including all cases is shown on the left.
a,b Rotated Component Matrix

The factor loadings for the second validation analysis excluding outliers is shown on the right.
a,b Rotated Component Matrix

Component 1 2 ENVIRONMENTAL THREATS EXAGGERATED HOW DANGEROUS MODIFYING GENES IN CROPS POOR COUNTRIES LESS THAN RICH FOR ENVIRONMENT LIKELIHOOD OF NUCLEAR MELTDOWN IN 5 YEARS .807 -.147

Component 1 2 ENVIRONMENTAL THREATS EXAGGERATED HOW DANGEROUS MODIFYING GENES IN CROPS POOR COUNTRIES LESS THAN RICH FOR ENVIRONMENT LIKELIHOOD OF NUCLEAR MELTDOWN IN 5 YEARS -.390 .692

-.198

.800

.795

-.123

.856

.007

.187

.859

.048

.862

.829

.061

Extraction Method: Principal Component Analysis. Extraction Method: Principal Component Analysis. The pattern of factor loading for both Rotation Method: Varimax with Kaiser Normalization. validation analyses shows theKaiser Normalization. Rotation Method: Varimax with same pattern of iterations. a. Rotation converged in 3variables, though the first and second component a. Rotation converged in 3 iterations. b. Only cases for which SPLIT1 = 1 are used in the analysis phase.

have switched places.

The communalities and factor loadings of the validation analysis supports the generalizability of the factor model.

b. Only cases for which SPLIT2 = 1 are used in the analysis phase.

SW388R7 Data Analysis & Computers II Slide 124

Steps in validation analysis - 1


The following is a guide to the decision process for answering problems about validation analysis:
Is the number of valid cases greater than or equal to 100?

No

Yes

Set the first random seed and compute the split1 variable Re-run factor with split1 = 1 Set the second random seed and compute the split2 variable Re-run factor with split2 = 1

Set the random seed and compute the split variable Re-run factor with split = 0 Re-run factor with split = 1

Yes
Are all of the communalities in the validations greater than 0.50?

No

False

Yes

SW388R7 Data Analysis & Computers II Slide 125

Steps in validation analysis - 2


Yes

Does pattern of factor loadings match pattern for full data set?

No

False

Yes True

SW388R7 Data Analysis & Computers II Slide 126

Steps in outlier analysis - 1


The following is a guide to the decision process for answering problems about outlier analysis:
Are any of the factor scores outliers (larger than 3.0)?

No

True

Yes
Re-run factor analysis, excluding outliers

Yes No

Are all of the communalities excluding outliers greater than 0.50?

False

Yes

SW388R7 Data Analysis & Computers II Slide 127

Steps in outlier analysis - 2


Yes No

Pattern of factor loadings excluding outliers match pattern for full data set?

False

Yes True

SW388R7 Data Analysis & Computers II Slide 128

Steps in reliability analysis


The following is a guide to the decision process for answering problems about reliability analysis:
Are Chronbachs Alpha greater than 0.60 for all factors?

No

False

Yes

Are Chronbachs Alpha greater than 0.70 for all factors?

No

True with caution

Yes True

You might also like