Docsity

SUMMARY: Applications for Management (2nd partial), Appunti di Statistica

Toggle sidebar
bg1
1
Applications+for+Management+–+2nd+partial+
FACTOR'ANALYSIS'
INTRODUCTION)
What is factor analysis?
• It is an interdependence technique to deal with highly correlated variables
• Its purpose is to group original correlated variables to create new uncorrelated variables (≠ find groups from
observations as in cluster analysis).
Note that in linear regression we worry when variables are highly correlated and multicollinear, while in factor
analysis the whole point is that variables are correlated.
Exploratory vs confirmatory factor analysis
• Exploratory factor analysis à when using factor analysis to identify underlying factors, without a priori
expectations about the structure
• Confirmatory factor analysis à when attempting to confirm a proposed factor structure
Why is factor analysis useful?
• Data reduction à Reduce a variable set to a manageable size for inclusion in further analyses
Commonly used in economics and finance when a set of correlated indexes is reduced to a smaller set of factors
for inclusion in a regression equation
• Data summarization à Understand the structure underlying a set of variables
Commonly used in management and marketing research to identify common attitudes or perceptions
• Reduction of collinearity among regressors
SES, Occupational Income, Occupational Education
The model
We have a large number (= p) of x-variables, and we have a number (= n) of i-observations, such
that for each x-variable we have an i-observation.
The goal of factor analysis is to reduce a large data matrix to a smaller one, by collapsing the p
x-variables to c (where c < p) factors (or latent variables).
Here, the left matrix represents a p x p correlation matrix (R) between the x-variables. All the
assumptions necessary for the Pearson’s r should be satisfied:
• Scores should be metric, although ordinal scales are accepted
• Linear association between each pair of variables
• Xi is normally distributed (check through histograms)
• Values of Xi should have homogeneous variance across levels of Xj
Instead, the right matrix represents the p x c factor loadings matrix (B),
extracted from R.
Each variable (xp) is correlated with each factor (Fc) à this correlation is called factor loading (bpc)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Anteprima parziale del testo

Scarica SUMMARY: Applications for Management (2nd partial) e più Appunti in PDF di Statistica solo su Docsity!

Applications for Management – 2

nd

partial

FACTOR ANALYSIS

INTRODUCTION

What is factor analysis?

  • It is an interdependence technique to deal with highly correlated variables
  • Its purpose is to group original correlated variables to create new uncorrelated variables (≠ find groups from observations as in cluster analysis). Note that in linear regression we worry when variables are highly correlated and multicollinear, while in factor analysis the whole point is that variables are correlated. Exploratory vs confirmatory factor analysis
  • Exploratory factor analysis à when using factor analysis to identify underlying factors, without a priori expectations about the structure
  • Confirmatory factor analysis à when attempting to confirm a proposed factor structure Why is factor analysis useful?
  • Data reduction à Reduce a variable set to a manageable size for inclusion in further analyses Commonly used in economics and finance when a set of correlated indexes is reduced to a smaller set of factors for inclusion in a regression equation
  • Data summarization à Understand the structure underlying a set of variables Commonly used in management and marketing research to identify common attitudes or perceptions
  • Reduction of collinearity among regressors SES, Occupational Income, Occupational Education The model We have a large number (= p) of x-variables, and we have a number (= n) of i-observations, such that for each x-variable we have an i-observation. The goal of factor analysis is to reduce a large data matrix to a smaller one, by collapsing the p x-variables to c (where c < p) factors (or latent variables). Here, the left matrix represents a p x p correlation matrix (R) between the x-variables. All the assumptions necessary for the Pearson’s r should be satisfied:
  • Scores should be metric, although ordinal scales are accepted
  • Linear association between each pair of variables
  • Xi is normally distributed (check through histograms)
  • Values of Xi should have homogeneous variance across levels of Xj Instead, the right matrix represents the p x c factor loadings matrix (B), extracted from R. Each variable (xp) is correlated with each factor (Fc) à this correlation is called factor loading (bpc)

Factor loadings vs factor scores Factor loadings

  • They represent how much a factor explains a variable in factor analysis
  • They can range from - 1 to 1 o Loadings close to - 1 or 1 indicate a strong correlation between the factor and the variable o Loadings close to zero indicate that the factor has a weak correlation with the variable
  • Some variables might have high loadings on multiple factors
  • STATA: factor x1 x2 x3… Factor scores
  • Estimated values of the factors in factor analysis
  • A score is calculated for each factor, based on the weighted contribution of each variable to the factor e.g., F 1 = w 11 X 1 +w 21 X 2 + w 31 X 3 +…+ wi1Xi
  • STATA: predict f * Partitioning the variance in factor analysis The total variance of a variable is split into:
  • Common variance is the amount of variance that is shared among a set of items. Items that are highly correlated will share a lot of variance. o Communality (h^2 ) is a definition of common variance that ranges between 0 and 1. Values closer to 1 suggest that extracted factors explain more of the variance of an individual item.
  • Unique variance is any portion of variance that’s not common. There are two types: o Specific variance: is variance that is specific to a particular item. o Error variance: comes from errors of measurement and basically anything unexplained by common or specific variance.

STEPS OF FACTOR ANALYSIS

1. DATA SCREENING AND VARIABLES SELECTION

a. Conceptual Issues

  • Initial selection is based on theory and/or prior research à what could we expect the structure to look like?
  • Good solutions are parsimonious, so include only those variables necessary to identify factors
  • Ensure that the sample is homogeneous with respect to the underlying factor structure (for example, it’s inappropriate to apply FA to a sample of males and females for a set of items known to differ because of gender) b. Statistical Issues Types of variables Variables should be metric (interval or ratio variables) o A small number dummy variables can be included (if all variables are dummies = Boolean FA) à Define dummies to represent categories of nonmetric variables o Anchored scales can be used in a metric sense Number of variables o In the final model, we should have at least 3/5 variables per factor o However, when planning a new study, prepare more than 3 /5 variables because at the end not all the initial variables will ‘work’ for factor analysis o Variables with too many missing values should be excluded from the analysis

c. Partial Correlation Pairwise correlations can be assessed also through partial correlation, which is the correlation between two variables that remains unexplained once we remove the common correlation (or variance), explained by the other variables in our data set. à Partial correlations < 0. Here, the total variance in X1 can be divided into 3 parts:

  • Common correlation: common to all three variables (green)
  • Partial correlation: shared only between X1 and one other variable (yellow)
  • Unique correlation: unique to X1 (white) d. Measure of sampling adequacy (MSA)
  • MSA measures how well each variable is predicted by the others
  • MSA quantifies the degree of inter-correlation among the variables.
  • The MSA is an estimate of the variance a variable has in common with all other variables in the dataset, relative to the total shared variance among all variables in the data set.
  • 0 < MSA < 1 o When MSA = 1 à each variable is perfectly predicted without error by the other variables. o When MSA = 0.5 à the variance that X1 has in common with X2 and X3 is half of the total variance shared among the three variables
  • You can obtain both: o An overall value for all variables à Overall MSA > 0. Otherwise each single MSA should be considered… o An index for each variable à Index MSA > 0. The variables having the lowest MSA should be removed one at time because they don’t contribute to the factor analysis solution. Each time the overall MSA should be computed again. The Kaiser-Meyer Olkin (KMO) MSA o Kaiser-Meyer-Olkin Measure of Sampling Adequacy informs us about the extent in which the variables are correlated, and hence the extent to which our sample is adequate for FA. o It can be both for one single variable and for the whole sample o It is the ratio of the sum of all squared correlations in the sample to the sum of all squared correlations plus the sum of all squared partial correlations. o STATA: estat kmo o STATA: factortest à to find KMO MSA for the whole dataset

e. Bartlett’s test of sphericity

  • Bartlett’s test for sphericity is a test where the null hypothesis is that there is no correlation between the variables (H0: matrix R = matrix I)
  • Bartlett’s test of sphericity evaluates the overall significance of the correlation matrix à p-value < 0.
  • It does so by comparing the correlation matrix R against the identity matrix I, where the identity matrix I is:
  • STATA: factortest à to find the Bartlett’s test f. Communality
  • Communality is the % of each variable’s variance that can be explained by the factors. It includes only variables for which the extracted factors explain an adequate amount of variance.
  • It is a posteriori test
  • It is calculated as the sum of the squared loadings of the variable on each factor in the extracted factor solution
  • Communality varies with the number of extracted factors. o If few factors are selected, a variable with satisfactory MSA might not have sufficient communality to be included in the solution o If more factors are selected, communality might increase to be sufficient.
  • Satisfactory communality can be obtained if a variable has moderate or strong loadings on several factors, but its communality alone does not guarantee that the variable contributes to a satisfactory factor solution. à Communality > 0. 4 , but in general the higher the better
  • STATA: It reports the “uniqueness” which is 1 – h^2

4. PRODUCE AN INITIAL SOLUTION

Both PCA and PAF begin by identifying a number of factors equal to the number of observed variables. In other words, the initial solution provides k factors for k observed variables. An initial value for the communality is produced:

  • PCA: starting value of communalities is 1.
  • PAF: first estimate of the communality is the R-square of the regression of the variable on all other variables. PCA Extraction: Variance Explained by the k factors
  • Eigenvalue = variance explained by a particular factor; a measure of how much of the variance of the originally observed variables a factor explains.
  • The variance accounted for by all k factors is equal to the total variance of the k observed variables. Since observed variables are standardized, the total variance of the k factors = k
  • STATA: factor, pf (principal factors) à default mode STATA: factor, pcf (principal component factors)
  • The % of total variance accounted for by each single factor = Eigenvalue / k
  • The % of total variance accounted for by the first p factors (cumulative %) = (Sum of eigenvalue of the first p factors) / k

5. DETERMINING THE NUMBER OF FACTORS TO KEEP

The initial solution has as many factors as indicator variables, but we have to decide how many of these factors to keep. When choosing the number of factors, the aim is:

  • to keep a small number of them
  • to provide a good representation of the original variables, accounting for as much variance of the observed variables as possible a. A priori criterion Researcher knows how many factors to extract and specifies for factor extraction. b. Kaiser Rule / Latent Root Criterion
  • Retain as many factors as the number of factors having eigenvalue > 1 (i.e. having variance larger than one observed variable).
  • The reason is that factors with eigenvalues < 1 explain less variance than a single variable on its own and therefore fail to simplify the data set.
  • Hypothetically, we could have chosen a large number of factors to explain more variation, but the whole point of factor analysis is, indeed, to reduce the number of variables to simplify the analysis.
  • In this case, retain the first three components, each having eigenvalue > 1 and accounting altogether for 67.13% of the overall variability.

c. Percentage of Variance Extract enough components to achieve a specified cumulative percentage of total variance extracted (let’s say 60 - 70%). Example of PAF extraction: d. Scree test (“Elbow rule”)

  • The scree plot it’s a plot of the eigenvalues and we should choose as many factors as there is on the upper part of the “elbow”.
  • Identify the optimum number of factors that can be extracted before the amount of unique variance begins to dominate the common variance structure.
  • Most researchers do not include the “elbow”, but rather retain all of the preceding factors.

6. INTERPRETATION OF INITIAL SOLUTION

  • After deciding on the number of factors to extract and with analysis model to use, the next step is to interpret the factor loadings.
  • The interpretation is, indeed, based on the factor loadings: since they are the correlations between the observed variable and the corresponding factor, each factor can be interpreted by observing the pattern of loadings across the observed variables.
  • If FA is used strictly for data reduction, the process can stop here.
  • For example, in this case, the first seven variables are highly correlated with the first factor, and only somewhat correlated with the second factor. However, the last three variables correlate more or less equally to the two factors. We can solve this problem through rotation…

7. INTERPRETATION IMPROVEMENT: ROTATION

Factor rotations help us with the interpretation of factor loadings, because the “initial solution” is usually difficult to interpret. However, the initial solution is only one of many mathematically equivalent solutions, so we can use rotation to obtain a mathematically equivalent, but more readily interpretable solution and pattern of loadings. The goal is to achieve a structure in which the pattern of relationships between the variables remains the same, but each variable has a loading close to 0 on one of the factors.

  • On each column of the factor matrix (for each factor), most loadings are small (near zero), and only a few loadings are large.
  • On each row of the factor matrix (for each indicator) only one (or no more than a few) loading is large, while the rest is small.
  • Every pair of factors has a different loading structure.

CLUSTER ANALYSIS

INTRODUCTION

What is Cluster Analysis?

  • Cluster analysis is a multivariate statistical technique that makes it possible to group cases based on measured characteristics (variables)
  • Cluster analysis aims at maximizing the homogeneity of cases within clusters and the heterogeneity between clusters, so that cases belonging to the same cluster are more similar than cases belonging to different clusters
  • Reveal relationships that are not evident when looking at individual observations. Indeed, some observations are meaningless unless classified into manageable groups.
  • Cluster analysis makes it possible to classify cases for exploratory purposes (taxonomy of objects), but also for confirmatory purposes (look for a theoretical typology in our data).
  • While in Cluster Analysis we classify cases into groups on the basis of the distance (proximity) among cases, in Factor Analysis we classify variables into factors on the basis of correlation among variables. When using Cluster Analysis
  • Often issues addressed in natural and social sciences are better solved by finding groups of individuals, firms, consumers, behaviors.
  • Cluster analysis is used in: o management science for the segmentation and targeting markets o biology, for taxonomy or classification of various living organisms. o psychology for classifying individuals on the basis of personal traits.

STEPS OF CLUSTER ANALYSIS

1. RESEARCH PROBLEM: VARIABLE SELECTION

  • The variable selection dictates the solution of the cluster analysis, the derived clusters reflecting the structure in the data as identified by the variables.
  • All variables are used for creating clusters, there is no differentiation between relevant and not relevant variables.
  • The selection has to be done on the basis of theoretical and practical considerations.
  • The relevance can be evaluated only a posteriori by inspecting the solution.

2. RESEARCH DESIGN ISSUES

SAMPLE SIZE

Cluster Analysis is a descriptive technique. On the side of the sample size, there are no statistical limitations, but the sample has to be large enough to allow for an adequate representation of all relevant groups. Are small groups relevant?

  • Small groups are important à Assume 5% of the population uses ‘hard’ drugs and you want to identify their characteristics. In a sample of 100, you might find only 1 person in this cluster. The larger the sample, the easier the identification of small groups.
  • Small groups are NOT important à To support a marketing campaign, you want to identify the 3/4 largest groups in the population. Smaller sample sizes are satisfactory because the largest groups are still identifiable. REPRESENTATIVENESS CA is meaningful if the sample is representative of population. All efforts should be made to ensure that the sample is representative, and the results are generalizable to the population of interest.

STANDARDIZATION

CA is very sensitive to different scales and magnitudes among the variables. A variable can have a high impact on the solution just due to the scale of measurement used. Two approaches to standardization:

  • Standardize variables à transforming variables in Z scores, by subtracting the mean and dividing by the standard deviation. o Standardized variable has a μ = 0 and σ = 1. o In this way we eliminate the bias introduced by different scales of the several variables used in the analysis
  • Standardize cases à The standardization is obtained by subtracting for each case the respondent’s mean score. It is called the within row or row centering standardization. MULTICOLLINEARITY Multicollinearity acts as a weighting process not apparent to the observer but affecting the analysis. The solution is to run a FA on the variables before clustering, and use factor scores for CA. OUTLIERS
  • CA is very sensitive to the inclusion of outliers.
  • Outliers can represent either: o Non representative observations à remove them! o Representative observations of small or insignificant segments within the population à remove them! o An under sampling of actual group(s) in the population that causes a poor representation of the group(s) in the sample à keep them!
  • Here we don’t talk about outliers in a univariate way but in a multivariate way (across several variables), so it’s difficult to detect outliers, but some tools are available. o Profile diagram à it lists the variables in the x-axis and the value for each case in the y-axis: a line connecting the points provide a profile for each case. o Mahalanobis’ distance D^2 à it measures the distance of each case from the center of all variables.

3. CLUSTERING PROCEDURE

HIERARCHICAL CLUSTER ANALYSIS

  • We can use this with both ordinal and metric data
  • Recommended for few variables (< 5) and small samples (< 100)
  • Several options for measuring distance are available
  • For a sample of size n, hierarchical procedures involve a sequence of n-1 clustering decisions that combine observations into a hierarchy or tree-like structure. Agglomerative method The agglomerative procedure works through the following steps: o Start with all cases as their own cluster. o Using similarity measure combine the two most similar clusters (still cases at this stage). o Repeat the clustering process using the similarity measure to combine at each iteration the two most similar clusters into a new cluster. o Repeat the process n-1 times until all cases are grouped in a single cluster. Dendrogram provides a graphical display of the process. o Vertical lines show joined cluster o The position of the line indicates the distance (rescaled) at which clusters are joined. Divisive method Initially all observations are in a single cluster, and they are then divided into smaller clusters. In other words, at the beginning all cases form a unique cluster and are successively divided into at first two clusters, then three, then four and so forth each is a single- member cluster.

Since we work with metric variables, there are the following distance measures. EUCLIDEAN DISTANCE The shortest distance between two points is: Euclidean distance with 2 variables Euclidean distance with 3 variables SQUARED EUCLIDEAN DISTANCE: two variables The squared Euclidean distance between two units is given by the sum of squared differences of the values taken by the variables on the two units. CITY BLOCK DISTANCE (MANHATTAN DISTANCE) Instead of measuring distance in a straight line, it is measured as the sum of the distances needed to travel using only paths at right angles à (C 2 x 1 – C 1 x 1 ) + (C 2 x 2 – C 1 x 2 ) It reduces the effect of outliers because distances are not squared.

5. CLUSTERING ALGORITHM

Clustering algorithms à it defines how similarity is defined between multiple-member clusters in the clustering process. So how do we measure similarity between clusters when one or both clusters have multiple members? Do we select one member to act as a typical member? The 5 most popular clustering algorithms are: SINGLE LINKAGE OR NEAREST NEIGHBOR METHOD

  • Distance between two clusters = the shortest distance from any case in one cluster to any case in another cluster
  • It’s the more versatile, but poorly delineated cluster structure within data
  • It produces unacceptable snakelike “chains” for cluster COMPLETE LINKAGE OR FARTHEST NEIGHBOR METHOD
  • Distance between two clusters = the greatest distance from any case in one cluster to any case in another cluster
  • It eliminates chaining problem, but it only considers the outermost observations in a cluster, thus impacted by outliers AVERAGE LINKAGE
  • Distance between two clusters = average distance of all individuals in one cluster with all individuals in another cluster
  • It generates clusters with small within-cluster variation and less affected by outliers
  • Most appropriate if you expect small clusters CENTROID METHOD
  • Distance between two clusters = distance between the centroids of the two clusters
  • Every time a cluster is formed the new centroid is worked out
  • Like average linkage, is less affected by outliers WARD’S METHOD
  • For the members of each cluster, the means of all variables are calculated. Then, the squared difference between each score and the mean is calculated and these squared differences are summated.
  • At each stage, joins the pair of clusters whose merger results in the smallest increase in the overall sum of the within-cluster sum of square distances (minimizes within-group variance)
  • It tends to create a relatively large number of small clusters
  • Most appropriate when the researcher expects somewhat equally sized clusters, but easily distorted by outliers.

6. NUMBER OF CLUSTERS

Select the Number of Clusters in Hierarchical CA In hierarchical cluster analysis, we must run the analysis before selecting the number of clusters. To make the selection, we look at: a. Agglomeration schedule b. Dendrogram