Example: marketing

SUGI 26: Variable Reduction for Modeling Using …

Statistics, Data Analysis, and Data Mining Paper 261-26. Variable Reduction for Modeling Using PROC VARCLUS. Bryan D. Nelson, Fingerhut Companies Incorporated, Minnetonka, MN. ABSTRACT Variable clustering will find groups of variables that are as correlated as possible among themselves and as Most direct mail and e-commerce companies have uncorrelated as possible with variables in other clusters. hundreds if not thousands of variables for each customer If the second eigenvalue for the cluster is greater than a on their database. When statisticians try to build specified threshold, the cluster is split into two different segmentation or other types of models with a large dimensions. number of variables, it becomes difficult to figure out the correct relationships between the dependent and The reassignment of variables to clusters occurs in two independent variables.

Paper 261-26 Variable Reduction for Modeling using PROC VARCLUS Bryan D. Nelson, Fingerhut Companies Incorporated, Minnetonka, MN ABSTRACT Most direct mail and e-commerce companies have

Tags:

  Using, Reduction, Corps, Modeling, Variable, Variable reduction for modeling using, Variable reduction for modeling using proc

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of SUGI 26: Variable Reduction for Modeling Using …

1 Statistics, Data Analysis, and Data Mining Paper 261-26. Variable Reduction for Modeling Using PROC VARCLUS. Bryan D. Nelson, Fingerhut Companies Incorporated, Minnetonka, MN. ABSTRACT Variable clustering will find groups of variables that are as correlated as possible among themselves and as Most direct mail and e-commerce companies have uncorrelated as possible with variables in other clusters. hundreds if not thousands of variables for each customer If the second eigenvalue for the cluster is greater than a on their database. When statisticians try to build specified threshold, the cluster is split into two different segmentation or other types of models with a large dimensions. number of variables, it becomes difficult to figure out the correct relationships between the dependent and The reassignment of variables to clusters occurs in two independent variables.

2 In fact, when redundant variables phases. The first is a nearest component sorting phase, are included in some of the model building procedures, similar in principle to the nearest centroid sorting the model can degrade the segmentation model by: algorithms described by Anderberg (1973). In each destabilizing the parameter estimates, increasing iteration, the cluster components are computed and each computation time, confounding the interpretation, and Variable is assigned to the component with which it has increasing the amount of time spent building a the highest squared correlation (SAS/STAT User's segmentation model. PROC VARCLUS can help a Guide, pages 1642-1643). The second phase involves a statistician quickly reduce the number of variables used to search algorithm in which each Variable in turn is tested to build a segmentation model.

3 PROC VARCLUS will cluster see if assigning it to a different cluster increases the variables - it will find groups of variables that are as amount of variance explained. If a Variable is reassigned correlated as possible among themselves and as during the search phase, the components of the two uncorrelated as possible with variables in other clusters. clusters involved are recomputed before the next Variable The algorithm used by PROC VARCLUS is binary and is tested (SAS/STAT User's Guide, pages 1642-1643). divisive - all variables start in one cluster. If the second eigenvalue is above the current threshold ( there is Divisive Clustering more than one dominant dimension) then the cluster is split. By default, PROC VARCLUS does a non- 2nd Eigenvalue hierarchical version where variables can be reassigned to {X1, X2, X3, X4}.

4 Other clusters. INTRODUCTION {X2, X3}. Threshold When there are hundreds or even thousands of variables that can be used to create segmentation models, it becomes difficult to determine the correct relationships {X2} {X3} {X1, X4}. between variables. Some of the variables are highly correlated with one another. Including these highly Note: If the second eigenvalue is larger than the specified correlated variables in the Modeling process often threshold, more than one dimension exists in the cluster. increases the amount of time spent by the statistician In the above example, the initial cluster is broken up into finding a segmentation model that meets Marketing three different clusters. and business needs. In order to speed up the Modeling process, the predictor variables should be Larger eigenvalue thresholds result in fewer clusters, and grouped into similar clusters.

5 A few variables can then be smaller thresholds (such as one or less) yield more selected from each cluster - this way the analyst can clusters. To account for sampling variability, smaller quickly reduce the number of variables and speed up the values such as .7 have been suggested (Jackson 1991). Modeling process. PROC VARCLUS SPECIFICATIONS. DIMENSION Reduction . As with many other SAS procedures, PROC VARCLUS. In high dimensional data sets, identifying irrelevant inputs has a countless number of different specifications. The is more difficult than identifying redundant inputs. A good basic specification is: strategy is to first reduce redundancy and then tackle irrelevancy in a lower dimension space. PROC VARCLUS MAXEIGEN = .7.

6 OUTTREE=FORTREE SHORT;. PROC VARCLUS is closely related to principal VAR PREDICTORVARIABLES; RUN;. component analysis and can be used as an alternative method for eliminating redundant dimensions The maxeigen value is the threshold for identifying (SAS/STAT User's Guide, page 1642). This type of additional dimensions within a cluster. The outtree=fortree option creates a data set which can be Statistics, Data Analysis, and Data Mining used in PROC TREE to print a tree diagram. Short RESULTS. suppresses printing of the cluster structure, scoring coefficients, and intercluster correlations. The PROC VARCLUS method was used to build a response model for one of Fingerhut's affiliates. OUTPUT Customer characteristics from a historical mailing were used to predict the result of that mailing (purchase or no Once completed, the output will include the total number purchase).

7 After Using the PROC VARCLUS method for of clusters created, the number of variables used in the paring down the number of variables, various Variable analysis, the number of observations, and the maxeigen selection techniques were used to build the final threshold used to create the clusters. Below is an segmentation model. This model was compared against example of the cluster output from PROC VARCLUS. the traditional method used by Fingerhut to build a segmentation model. Fingerhut's traditional method Oblique Principal Component Cluster Analysis currently does not take into account a method similar to 9997 Observations PROPORTION = 0 28 Variables PROC VARCLUS. The model built Using the PROC. MAXEIGEN = VARCLUS method was built four times faster than the Cluster summary for 1 cluster(s).

8 Traditional method. Even though less time was used to build the model, the model built Using PROC VARCLUS. Cluster Variation Proportion Second segmented customers just as well as the traditional Cluster Members Variation Explained Explained Eigenvalue segmentation model. PROC VARCLUS was much faster ---------------------------------------- ---------------------------------------- ------------ 1 28 since it eliminated many highly correlated variables from the Modeling process. Below are some of the results: Total variation explained = Proportion = Cluster 1 will be split. Root Mean Squared Error Evaluation Cluster summary for 2 cluster(s) RMSE - Logistic Model (Comparison Model). RMSE RMSEZ ABIAS STDBIAS ABIASZ R R2. 0 Cluster Variation Proportion Second Cluster Members Variation Explained Explained Eigenvalue RMSE - Logistic Model (Model built Using PROC VARCLUS).

9 ---------------------------------------- ---------------------------------------- ----------- 1 17 RMSE RMSEZ ABIAS STDBIAS ABIASZ R R2. 2 11 Total variation explained = Proportion = Notes: RMSE - the lower the RMSE, the better the model The end of the output will show the number of final ABIAS - if negative, the model is over predicting. If it's positive, the model is under predicting. clusters PROC VARCLUS has created. PROC. VARCLUS will also show which variables have been assigned to the various clusters. Below is an example of the output: R-Squared R-Squared Own Next 1-R**2. Variable Cluster Closest Ratio Cluster 1 -------------- -------------- ---------- Variable 1 Variable 2 Variable 3 Variable 4 Cluster 2 ------------- ------------- --------- Variable 5 Variable 6 Variable 7 The analyst can then begin selecting variables from each cluster - if the cluster contains variables which do not make any sense in the final model, the cluster can be ignored.

10 A Variable selected from each cluster should have a high correlation with its own cluster and a low correlation with the other clusters (Logistic Regression Modeling , pages 56-57). The 1-R**2 ratio can be used to select these types of variables. The formula for this ratio is: 2. 1-R**2 ratio = 1-R own cluster = 1 - => => . 2. 1-R next closest 1 - . If a cluster has several variables, two or more variables can be selected from the cluster. Note: If 40% of the customer list was mailed and no 2. Statistics, Data Analysis, and Data Mining response model was used, only 40% of the buyers would CONTACT INFORMATION. be selected. However, if the comparison or PROC. VARCLUS model were used to select the best 40% of the Bryan D. Nelson customer list, this would capture approximately 60% of the total number of buyers.


Related search queries