Search This Blog
6.2.11
Garima Singh
Cluster Analysis & Permap
The introduction session of BI-Workshop was very loaded inspite being an introductory session but it was definitely a very good session. The data looked never so good, meaningful and colourful.
We started with First Level Analysis where we were taught how to calculate Frequencies with the given data sheet. Then we covered Cross Tabulation both for 2 variables as well as 3 variables.
The third and the last technique for the day was Cluster Analysis in which two different types of clusters were covered- Divisive and Agglomerative, both these are types of Hierarchical Cluster.
Hierarchy type of cluster is done for Variables provided the number of objects is less than 50. K-Means type of cluster is done for Cases provided the number of objects is more than 50.
24/1/11
The second session was more relaxed. We started Perceptual Mapping a.k.a PerMap.
PerMap is of two types- Overall Similarity and Attribute Based. In Overall Similarity a thorough knowledge is required what goes in people's minds because of which they think two particular objects are similar/dissimilar. One disadvantage is that the hidden attributes might get exposed.
In Attribute-Based PerMap attributes are provided which gives rise to one major disadvantage, it being the chance missing of an important attribute.
We then learned how to make a PerMap in both the types in two as well as three dimensions and also the significance of Objective Function Value which is nothing but an error and how it gets reduced when PerMap display is changed from Two dimention to Three dimension.
Thanks,
Garima Singh
"Discriminant Analysis in application" - Rohit Kumar, 12041, Group 9.
RISK CLASSIFICATION BASED ON DISCRIMINANT ANALYSIS FOR SMES’
In India, primarily the concept of Small Scale Industry has been in vogue and the medium enterprise definition is of more recent origin. An SSI is defined on the basis of limit of historical value of investment in plant & machinery, which at present is up to Rs.10 million. However, in respect of some specified items, this investment limit has been hiked to Rs.50 million. For the recently announced Small and Medium Enterprises Fund , the Government of India has approved the limit of investment in plant and machinery above Rs.1 crore and up to Rs.10 crore for defining a unit as a Medium Enterprise. Amongst the developing countries, India has been the first to display special consideration to SSIs and basic focus has been to make economical use of capital and absorb the abundant labour supply in the country. India it is often stated that 60 percent of SMEs do not borrow from traditional sources. For those who borrow from traditional sources the question arises of what measures should be used to assess applications for loans. Most of Small and Medium Enterprise operate in very small scale with very limited equity of the owner and more on high cost debt fund from other sources such as external borrowing from Non Banking firms.
NEED FOR COMPREHENSIVE RISK ASSESSMENT MODEL:
There is need for simple and easy to understand credit rating model for SMEs.’ At present SME’s are depending on either third party agency rating or at the mercy of the Credit Managers of the bank. To design and develop risk classification model based on Discriminanrt Analysis for Small and Medium Enterprises (SMEs’) which are major contributors to the growth of Indian Economy. Primary objective is to develop risk classification model based on Discriminant Analysis for Small and medium enterprise (SMEs’). Discriminant Analysis is a proven statistical application. Inference of the model is easy to understand and simple for implementation. Limitations of the Study The purview of the project is limited to Small and Medium Enterprises (SME) division. Only twenty parameters are used in developing this model. Parameters selected are indicative in nature and by using them we can clearly establish the intended results.
DISCRIMINANT ANALYSIS MODEL:
Based on developed Credit Risk Frame work, Clients are classified in to various categories depending on the aggregate score. For further simplification of the under two risk categories such as good and bad assets the Discriminant Analysis has been applied. This is second stage of the total new model. By using model Credit Manager is able to see clear distinction between performing assets and non performing assets. Statistically application of Discriminant Analysis purpose is to classify objects/records into two or more groups based on the knowledge of some variables related to them.
Discriminant Function
Y = a+ k1X1 +k2X2 +………. + knXn
Where
Y-Dependent variable
a – Constant
X1, X2…Xn- Independent variables
k1, k2- Coefficients of the independent variables In this case, for the development of the model the dependent and independent variables are as follows
• The dependent variable (Y) is the Client Risk Rating (CRR)
• The independent variables (X1, X2……X20) are as follows
X1 = Client history X2 = Industry status X3 = Relationship with suppliers X4 = Relationship with customers X5 = Competition X6 = Liquidity X7 = Leverage X8 = Sales growth X9 = PBDIT/sales X10 = DSCR (Debt service coverage ratio) X11 = Integrity X12 = Family standing X13= Financial standing X14 = Management competence X15 = Management commitment X16 = Succession X17 = Employee quality X18 = Internal controls X19 = Repayment records X20 = Compliance records
The Client Risk Rating was computed on the basis of successive seven years data of the client from 2002-03 to 2008-09. The period has importance in this model because of it cyclical nature. The Economic cycle has influenced business cycle of small and medium enterprises in this mentioned period. The Gross domestic production rate fluctuated from 2002-03 to 2008-09. Initially GDP pegged up from 2002 -03 to 2006 -07 and declined after that due to global economic slow down impact. During mentioned period, small and medium enterprise across the all industry categories followed the same trend. Except Auto and Auto Ancillary sector all other categories taken for studies were impacted by the economic cycle during the period. During the mentioned period it was observed that GDP rate from 2004-05 to 2006-07 was at peak in India over 8 to 9%. Due Economic Slow down even Indian has seen decline in GDP rate below 6% during 2007-08 and 2008-09. The clients who are selected for building this model were with the existing bank through out this period survived at least 24 quarters. Data compiled on continuous basis and obtained on all parameters mentioned in the Risk Assessment Framework. All the observations and out come of the credit score were checked for its accuracy and consistency before formulating into Discriminant Equations. The Discriminant Scores are computed by solving all the 70 equations.
DATA ANALYSIS BASED ON DISCRIMINANT ANALYSIS:
The Second phase of this model application was using Discriminant Analysis for further validation reinforcement of model robustness. By using this analysis all 140 clients were classified as Performing Assets and Non Performing Assets. By using range sub classification method, the Performing Assets are further regrouped under High Risk, Medium Risk and Low Risk, which is useful for monitoring progress of the Client.

Among the performing assets approximately 20 percent of SME clients are in high risk category, which is concerned issue to the bank. These four clients are to be closely monitored. Further diagnosis is possible through this model to identify exactly what type of sub classification risk each of this clients are facing. There are 8 clients in the category of medium risk most of them in this position due Economic slow down which was identified through their market risk analysis (Economic Cycles) of the proposed model. Since all clients are from SME sector such type analysis helps them in knowing their risk level.
From analysis it is clear that 50 percent of bank’s SME clients are either in Non Performing assets category or in high risk class. This classification is useful for the bank to formulate it strategies to over come default issues. Bank has to reformulate its lending portfolio composition. Further diagnosis will help in guiding their SME clients.

REFERENCES:
- Dr. V.Manickavasagam and Srinivas Gumparthi “Credit Rating Model Based on Discriminant Analysis”, at International Conference on Information & Financial Engineering (ICIFE 2009). I EEE & IACS&IT at Singapore, April 17th to 20th 2008. International Journal of Financial Engineering by IACSIT of IEEE April 2009 ISBN: 978-0-7695-3606-4.Website:http://www.computer.org/portal/web/csd l/doi/10.1109/ICIFE.2009.39
- Dr. V.Manickavasagam and Srinivas Gumparthi Risk Assessment Model for Assessing NBFCs’ (Asset Financing) Customers in International Journal of Trade, Economics, and Finance (IJTEF) accepted for publishing in June,2010 issue
- Definition Small & Medium Business Development Chamber of India as defined in SME chapter
Cluster Analysis
Cluster analysis is finding similarities between data according to the characteristics found in the data and grouping similar data objects into clusters. A cluster is a collection of data objects in which objects similar to one another are put within the same cluster and dissimilar to the objects in the other clusters. Clusters analysis falls into the area of unsupervised learning as there are no pre-specified groups or classes. These are used typically as a stand-alone tool to get insight into data distribution or used as a pre-processing step for other algorithm. It is used in Pattern Recognition, Spatial Data Analysis, Image Processing, Market Research, Documents classification on the internet. It helps in City planning, Earth Quake studies, Insurance, stock selection and marketing programs.
A good clustering method produces high intra-class similarity and low inter-class similarity. The quality of a clustering result depends on both similarity measure used by the method and its implementation. Quality is usually expressed in terms of a distance function or metric.
Categorization of Algorithms
Clustering algorithms can be categorized into partitioning method, hierarchical methods, density-based methods, hierarchical methods, density-based methods, grid-based methods and model based methods. The most common among are partitioning method and Hierarchical approach. In partitioning approach, the objects are partition into k clustered on basis of distance (similarity/dissimilarity). This approach is depicted in the below diagram.
Issues with Partitioning Method (K-mean)
The problem with this approach is that number of clusters has to be specified in advance. Secondly it is not able to handle noisy data and outliers. This problem can be easily handled by Hierarchical clustering. In hierarchical clustering distance matrix is used for clustering so it does not required pre-specifying the number of clusters in advance. It only requires the termination conditions. The below diagram depicts the hierarchical clustering formation in an top down (agglomerative) and bottom up approach (divisive).

Dendrogram
Dendrogram shows how the clusters are merged. It decomposes the objects into a several levels of nested partitioning (tree). The clustering of the data objects is obtained by cutting the dendrogram at the desired level and then each connected component forms a cluster. As shown in the below figure, left diagram show two clusters (below the magenta line) while right diagram shows three clusters.
Uses of Hierarchical clustering in Finance
The hierarchical clustering methodology can be applied in stock selection of selected companies. Since the stock returns are likely to be similar in a region due to geography and macroeconomic conditions so identification of similar clusters allows one to track similar returns but different risks. After the identification of a cluster, the investor can used the output (clusters) according to his interest – for instance, he can look for same return stock and then choose to minimize risk or else he can pick a cluster of same risk stocks and high return. In this way the investor can profit (or lose less) using cluster analysis to select stock.
References
- “Stock selection based on cluster analysis” by Costa, Cunha, Silva.
- http://people.revoledu.com/kardi/tutorial/Clustering/dendogram.htm
- http://en.wikipedia.org/wiki/Dendrogram
- www.gersteinlab.org/courses/545/07-spr/slides/DM_clustering.ppt
Submitted By:
Mrityunjay Kapoor
12147
Group 5
Finance Batch of 2009-11
SIBM Bangalore.
Factor Analysis (Multivariate) of Ground Water Quality of Makhmor Plain/ North Iraq
INTRODUCTION
Sophisticated data analysis techniques are required to interpret groundwater quality effectively. The univariate statistical analysis has been generally used to treat ground water quality. The simplicity of the univariate statistical analysis is obvious and likewise the fallacy of reductionism could be apparent. In order to avoid this problem, multivariate analysis was used to explain the correlation amongst a large number of variables in terms of small number of factors without losing much information. The intention underlying the use of multivariate analysis is to achieve great efficiency of data compression from the original data, and to gain some information useful in the interpretation of the environmental geochemical origin. This method can also help to indicate natural association between variables. Multivariate treatment of environmental data is widely successfully used to interpret the relationship among the variables, so that the environmental systems could be better.
Makhmor plain is an important area in Northern Iraq, well-known with agricultural activities. Irrigation with ground water in the plain had got more attention in the last years. This plain lies in south east Erbil city. It is surrounded by the upper Zab river from the north, lower Zab river from the south, Tigris river from the west and Qara Chauq Mountain from the east. It has an area of 2700 km. Many studies were conducted on the water quality of Makhmor plain. Ground water of the plain has bad quality. Sulfate is a principal component in the groundwater of Makhmor area due to high concentration in the soil and the rocks.
OBJECTIVE
This research aimed to apply multivariate statistical analysis on groundwater quality of Makhmor plain by using factor analysis to indicate natural association between variables. Also the research tries to classify the wells of the plain using cluster analysis into groups according to their water quality.
METHODOLOGY
Thirty five deep wells and 28 shallow wells lying in an area of 2700 km in Makhmor plain were included in the study. Ground water quality parameters were represented by pH, Ca2+, Mg2+, Na+, Boron, K+, Cl-, SO42-, CO3- + HCO3-, NO3-.
Factor analysis extracted two factors from the water quality parameters of the deep wells. Factor I accounted for more than 50% of the variance among water quality. Cations including Boron, Na, Mg and K with anions including Cl-, SO42- and NO3- were loaded significantly on it. It represented the variation in the geological formation of study area, inconsistent distribution of agricultural activities and wastewater. For shallow wells, factor analysis extracted three factors. Factor I accounted for more than the 50% of the variance in the water quality. Six of water quality parameters were loaded on factor I. These parameters included pH and cations represented by boron, Na+ and Mg2+ in addition to Cl- and SO42- as anions. Cluster analysis had divided the deep wells into three groups with 50% similarity. Cluster I included two wells with the worst water quality, while cluster II had the lowest concentrations of cations and anions in the area and includes 8 wells. Cluster III showed mid concentrations between I and II clusters. For shallow wells, three clusters were obtained with 37.5% similarity. Cluster I included 7 wells with worst water quality, while cluster II exhibited the lowest concentrations of ions. These results obtained from the multivariate analysis can be very useful for the farmers and the users of ground water in this area.
SOURCE
http://en.wikipedia.org/wiki/Factor_analysis
http://www.damascusuniversity.gov.sy/mag/eng/images/stories/19-26.pdf
SUBMITTED BY
Madhumita Das
12089
Finance Batch of 2009-11
SIBM Bangalore
Guide to Decision making in Factor Analysis
A. Decide how to treat missing data
1. List wise deletion may shrink the sample size too much.
2. Pairwise deletion may make the analysis impossible depending on missing data patterns.
3. Either list wise or pairwise deletion has the potential to bias results; consider imputation.
4. Be prepared to run multiple analyses employing different missing data strategies.
B. Assess suitability of data for factor analysis
1. Distributions should not be excessively far from normal; may need to transform.
2. Relationships need to be essentially linear; may need to transform.
3. Sampling adequacy (often optional). Desirable to have high RS relative to partial RS.
b. Anti-image correlations: for individual variables, use the same standard as for KMO, and this can help decide inclusion/exclusion.
C. Extraction method
1. Use principal components only if looking to use all information in pure data reduction (i.e., if it is reasonable to assume ~0% of the info is measurement error).
2. Can use maximum likelihood extraction, and its associated goodness of fit test for number of factors, if
a. variable distributions are fairly close to normal, i.e., skewness less than 2 and kurtosis less than 7, or if willing to transform or drop non-normal variables.
b. sample size is moderate: goodness of fit test is sensitive to small or large n.
3. In most social science cases, principal axis factoring works well.
D. Number of factors in a principal axis factor solution
1. Plan on needing to try multiple solutions.
2. Begin by extracting factors from all initial eigenvalues of at least 0.7. (Much research has shown that including only initial eigenvalues greater than equal 1 can under- or over-estimate the number of factors.) Once you see how solutions turn out after extraction and rotation, you can specify a minimum-eigenvalue or number-of-factors criterion based on something more informed than just the Kaiser Guttman rule of "eigenvalues greater than equal 1."
3. Scree test, visual or numerical, is best performed on extracted eigenvalues, rather than initial (although initial is what is displayed in SPSS).
4. Factor correlations should not be too high. If they are, and if largest initial eigenvalue is more than 10 times as large as the next, consider a one-factor solution (Harman; Kriebeck; Tracey).
b. Consider Terence (T. J. G.) Tracey's method of partialing out the first un-rotated factor as a "general factor" attributable to bias, e.g., to social desirability or common method bias.
5. Each factor should have at the very least 2 and probably 3 variables with high loadings.
6. Only retain those factors that are interpretable
E. Rotation method
1. Use oblique rotation as the default. There is no nothing to lose: if correlations among factors are very low, you can always switch to varimax (in which case results should hardly change anyway). But by starting with varimax you risk ignoring meaningful correlations.
2. To display two factors' relationship after finalizing a solution, can use varimax to plot the two clusters of variables and show the factors' correlation (which will be represented by the angle between them, with r equal to the cosine).
Source: An article on factor analysis written by Roland B. Stark in 19th February, 2007
Website link: www.integrativestatistics.com
Submitted By
Dipayan Kabiraj
12133
Group 5
SIBM Bangalore
Discriminant Function Analysis
Discriminant function analysis is used to determine which variables discriminate between two or more naturally occurring groups. For example, an educational researcher may want to investigate which variables discriminate between high school graduates who decide (1) to go to college, (2) to attend a trade or professional school, or (3) to seek no further training or education. For that purpose the researcher could collect data on numerous variables prior to students' graduation. After graduation, most students will naturally fall into one of the three categories. Discriminant Analysis could then be used to determine which variable(s) are the best predictors of students' subsequent educational choice.
A medical researcher may record different variables relating to patients' backgrounds in order to learn which variables best predict whether a patient is likely to recover completely (group 1), partially (group 2), or not at all (group 3). A biologist could record different characteristics of similar types (groups) of flowers, and then perform a discriminant function analysis to determine the set of characteristics that allows for the best discrimination between the types.
Computational Approach:
Computationally, discriminant function analysis is very similar to analysis of variance (ANOVA). Let us consider a simple example. Suppose we measure height in a random sample of 50 males and 50 females. Females are, on the average, not as tall as males, and this difference will be reflected in the difference in means (for the variable Height). Therefore, variable height allows us to discriminate between males and females with a better than chance probability: if a person is tall, then he is likely to be a male, if a person is short, then she is likely to be a female.
We can generalize this reasoning to groups and variables that are less "trivial." For example, suppose we have two groups of high school graduates: Those who choose to attend college after graduation and those who do not. We could have measured students' stated intention to continue on to college one year prior to graduation. If the means for the two groups (those who actually went to college and those who did not) are different, then we can say that intention to attend college as stated one year prior to graduation allows us to discriminate between those who are and are not college bound (and this information may be used by career counselors to provide the appropriate guidance to the respective students).
To summarize the discussion so far, the basic idea underlying discriminant function analysis is to determine whether groups differ with regard to the mean of a variable, and then to use that variable to predict group membership (e.g., of new cases).
Submitted By:
Ashish Bhatnagar
Roll No: 12128
Group 12
Factor Analysis- What It Can & Can't Do
There are many different methods of factor analysis and the underlying mathematical theory is quite complex. The basic elements of factor analysis, though, are relatively simple to understand. An example of the use of factor analysis might involve research designed to construct a scale of employee job satisfaction. Initially, a researcher or consultant may assemble a large set of questionnaire items that seem to be related to job satisfaction. These items will generally be presented to subjects along with some type of numeric or verbal scale.
Factor analysis includes both component analysis and common factor analysis. More than other statistical techniques, factor analysis has suffered from confusion concerning its very purpose.
Disadvantages of Factor Analysis
1. Factor analysis is a statistical method for attempting to find what are known as latent variables when you have data on a great many questions. Latent variables are things that cannot be directly measured. For example, most aspects of personality are latent. Personality researchers often ask a sample of people a lot of questions that they think are related to personality, and then carry out factor analysis to determine what latent factors exist.
2. The factors that appear can only come from the answers to the questions you ask. If you do not ask about sleep habits, for example, then no factor related to sleep habits will appear. On the other hand, if you ask only about sleep habits, then nothing else can appear. Selecting a good set of questions is complicated, and different researchers will choose different sets of questions. Random Data Gives Factors
3. If you generate a lot of random numbers, a factor analysis may still find apparent structure in the data. It is difficult to tell if the factors that emerge reflect the data or are simply part of the power of factor analysis to find patterns. It Is Hard to Decide How Many Factors to Include.
4. One task of the factor analyst is deciding how many factors to keep. There are a variety of methods for determining this, and there is little agreement as to which is best. Interpretation of the Meaning of the Factors Is Subjective.
5. Factor analysis can tell you which variables in your dataset "go together" in ways that aren't always obvious. But interpreting what those sets of variables actually represent is up to the analyst, and reasonable people can disagree.
Submitted By:
Bipin Easow
Roll No:12094
Group 12
Factor Analysis-An Overview
– To get a small set of variables (preferably uncorrelated) from a large set of
variables (most of which are correlated to each other)
– To create indexes with variables that measure similar things (conceptually).
Two types of factor analysis:
· Exploratory Factor Analysis(EFA)- It is exploratory when you do not have a pre-defined idea of the structure or how many dimensions are in a set of variables.
· Confirmatory Factor Analysis(CFA)- It is confirmatory when you want to test specific hypothesis about the structure or the number of dimensions underlying a set of variables (i.e. in your data you may think there are two dimensions and you want to verify that).
Factor analyses are performed by examining the pattern of correlations (or covariances) between the observed measures. Measures that are highly correlated (either positively or negatively) are likely influenced by the same factors, while those that are relatively uncorrelated are likely influenced by different factors.
In general, you want to use EFA if you do not have strong theory about the constructs underlying responses to your measures and CFA if you do. It is reasonable to use an EFA to generate a theory about the constructs underlying your measures and then follow this up with a CFA, but this must be done using seperate data sets. You are merely fitting the data (and not testing theoretical constructs) if you directly put the results of an EFA directly into a CFA on the same data. An acceptable procedure is to perform an EFA on one half of your data, and then test the generality of the extracted factors with a CFA on the second half of the data.
If you perform a CFA and get a significant lack of it, it is perfectly acceptable to follow this up with an EFA to try to locate inconsistencies between the data and your model. However, you should test any modifications you decide to make to your model on new data.
Submitted By:
Devina Singh
Roll No:12056
Group 12