Pages

Monday, 21 March 2016

Analisis Korespondensi

Analisis korespondensi merupakan metode analisis untuk merepresentasikan data tabulasi secara grafis, yang dalam bentuk umumnya dapat dikenal sebagai scatterplot.  Scatterplot merupakan representasi dari data sebagai sekumpulan titik berkaitan dengan dua sumbu koordinat tegaklurus dimana didalamnya terletak sekumpulan titik sehingga dapat diinterpretasikan jarak antar titik tersebut, selanjutnya dapat dipandang sebagai peta spasial dari data.  Analisis Korespondensi merupakan teknik eksplorasi data yang dilakukan pada data kategori dimana tidak terdapat hipotesis yang spesifik.  Secara spesifik, Analisis Korespondensi bekerja pada tabel dua-arah atau multi-arah dimana setiap barisdan kolomnya menjadi titik pada peta grafik multi-dimensi
Penentuan jarak profil dihitung baris atau kolom dalam kategori yang sama, menggunakan jarak chi-square, yang didefinisikan:
Jarak antara dua individu baris ke-i dan ke-i' adalah :
         
Jarak antara dua variabel kolom ke-j dan ke-j' adalah :
     
Analisis Korespondensi menggunakan statistik chi-square – ukuran jarak Euclid tertimbang (a weighted Euclidean distance) – untuk mengukur jarak antara titik pada grafik.  Dengan kata lain, jarak chi-square mengukur asosiasi antara banyak variabel.  Oleh karena Analisis Korespondensi merupakan statistik non-parametrik, maka tidak terdapat distribusi secara teoritik yang mana jarak terobservasi dapat dibandingkan. 

Tujuan dari Analisis Korespondensi adalah menjelaskan variansi atau inertia yang paling besar dalam suatu model dalam dimensi paling kecil.  Dimensi yang digunakan biasanya dua atau tiga sesuai dengan tujuan penelitian, namun untuk menghitung dimensi yang melibatkan eksplorasi matematika dapat dilakukan melalui pembahasan tersendiri.

Manfaat Analisis Korespondensi yaitu dapat menyederhanakan data yang kompleks yang berasal dari tabel berdimensi banyak atau berukuran besar menjadi tampilan yang lebih sederhana dimana mempertahankan informasi berharga dalam suatu kumpulan data.  Manfaat lain dari Analisis Korespondensi yaitu menyajikan data melalui tampilan yang mewakili data baris dan data kolom, sehingga data lebih mudah dibandingkan. 

Analisis Korespondensi bersifat fleksibel terhadap asumsi dan skala data.  Pada data yang menggunakan Skala Likert, analisis korespondensi merupakan teknik analisis yang berguna, karena fokus utamanya pada bagaimana peubah atau variabel memiliki kesesuaian satu sama lain dan bukan apakah terdapat perbedaan yang signifikan antara peubah-peubah tersebut.  Analisis Korespondensi dapat digunakan pada data kontinyu, dimana sebelumnya dibuat menjadi kelompok atau dibuat dalam bentu kategori  yang selanjutnya dianalisis sebagai data diskrit.  

Meskipun bersifat fleksibel terhadap  asumsi, namun pelanggaran terhadap asumsi menjadikan kesimpulan yang ditarik tentang asosiasi antara peubah menjadi tidak akurat dan plot atau grafik yang dihasilkan menjadi pedoman yang kurang bernilai dalam analisis data.  Beberapa asumsi yang perlu dipenuhi antara lain:

1.       Homogenitas ragam
2.      Data yang dianalisis berupa data diskrit
3.      Data dibuat dari beberapa kategori (umumnya lebih dari tiga)
4.   Semua nilai dalam tabel frekuensi harus positif (tidak negatif)



Referensi:
Doey, L., & Kurta, J. (2011). Correspondence Analysis applied to psychological research. Tutorials in Quantitative Methods for Psychology, Vol 7 (1) , 5-14.
Greenacre, M. (2007). Correspondence Analysis in Practice, 2nd ed. Barcelona: Chapman & Hall/CRC.

Friday, 18 March 2016

Daylight Saving Time (DST) di Karlstad - Swedia

Pagi itu, musim gugur di awal bulan November 2010, saya bangun tidur dengan perasaan aneh. Jarum jam tangan menunjukkan waktu saat itu pukul 03.00, namun jam di handphone yang otomatis mengikuti sistem waktu setempat menunjukkan pukul 02.00.    Penasaran..saya buka laptop...browsing...akhirnya dapatlah info soal DST/daylight saving time.  Rasanya dapat bonus waktu 1 jam ini sudah sangat berarti sekali...kebetulan waktu itu hari minggu jadi masih dapat ekstra waktu untuk bersantai.  Dengan mundurnya waktu 1 jam ini, selisih waktu dengan Indonesia, Malang - Jawa Timur, menjadi 5 jam dimana sebelumnya 6 jam.  Ternyata, selisih waktu sebenarnya antara Swedia dan Indonesia adalah 5 jam.   Saat saya sampai di Swedia pada bulan Agustus itulah saat berlakunya Daylight Saving Time (DST).  Menjelang musim dingin/winter, saat musim gugur/spring itulah justru “waktu yang sebenarnya”, dan saat memasuki bulan November itulah, berakhir pula masa DST.
Saya menyebutnya sebagai “waktu yang sebenarnya”, karena daylight saving time sebenarnya merupakan rekayasa manusia untuk memaksimalkan waktu di musim panas, dimana siang lebih panjang daripada malam.  DST memberikan kesempatan untuk menikmati musim panas yang lebih lama di sore hari.  Bagi kita yang hidup dekat dengan ekuator/garis khatulistiwa, waktu siang dan malam memiliki panjang yang sama, sekitar 12 jam.  Namun, di lain tempat di bumi, terdapat waktu siang yang lebih panjang daripada waktu malam di musim panas (summer).  Semakin dekat dengan kutub utara atau selatan, semakin panjang waktu siang pada musim panas (summer). 
Ide DST ini datang diawali oleh gagasan beberapa orang dengan maksud memaksimalkan waktu pagi hari pada musim panas.  Ide-ide itu datang diantaranya diawali oleh Benjamin Franklin, William Willet dan George Vernon Hudson dengan tujuan yang sangat sederhana, supaya orang-orang bangun tidur lebih awal dan memanfaatkan waktu pagi harinya agar tidak terbuang percuma di tempat tidur.
Pada akhir bulan Maret, saya mendapati waktu di suatu pagi dimana jam tangan masih menunjukkan pukul 03.00, sementara waktu di handphone menunjukkan pukul 04.00.  Saya sudah tidak bertanya-tanya lagi..ada apa ini...namun, meskipun sudah menyadari waktu DST akan berlaku kembali di bulan Maret 2010 itu, terasa waktu berkurang, padahal seharusnya masih punya waktu 1 jam lagi. 
Setiap tahun penerapan waktu DST di setiap negara tidak sama.  Terdapat beberapa negara yang pada tahun sebelumnya menerapkan DST, namun pada tahun-tahun berikutnya tidak lagi menerapkan DST.  Untuk Swedia, pada semua lokasi diterapkan DST, sedangkan pada beberapa negara, DST diterapkan hanya pada beberapa lokasi.  Selain itu, pada daerah di suatu negara yang menerapkan DST, tanggal dimulai dan diakhirinya DST juga tidak selalu sama.  Bagi kita di Indonesia...bersyukurlah karena kita mempunyai iklim tropis yang selalu mempunyai waktu yang proporsional untuk siang dan malam.... 


Thursday, 3 March 2016

Reliability and Validity

Reliability is related with the representation of the observed values on the “true” values (Hair et al., 2006).  Hair et al. (2006, p. 137) define that “reliability is an assessment of the degree of consistency between multiple measurement of a variable”.  It can be shown from greater consistency than less reliable measures, if the same variables are measured repeatedly (Hair et al., 2005).  It indicates that the variables should be assessed to be used in the research (Hair et al., 2006). 
Reliability is conducted through two ways, test-retest and internal consistency (Hair et al., 2006).  The objective of reliability in test-retest is to achieve consistency measurement to ensure the individual’s response not too varied across time periods, so that the measurement will be reliable at any point of time (Hair et al., 2006).  The more commonly reliability measurement is internal consistency among the variables in summated scale, which the rationale is the individual items should all be measuring the same construct and be highly inter-correlated (Hair et al., 2006).  The most widely used of diagnostic measurement is Cronbach’s alpha as reliability coefficient to assess the consistency of entire scale that the lower limit is 0.7, but it can be 0.6 for explanatory research (Hair et al., 2006).
Validity is related with the representation of the “correct” answer accurately from question being asked to the variables being supposed to be measured (Hair et al., 2006).  Hair et al. (2006, p. 137) define that “validity is the extent to which a scale or set of measures accurately represents the concept of interest”.  Validity can be described in the form of content or face validity in the discussion of conceptual definition and be measured empirically through the correlation between defined sets of variables (Hair et al., 2006).
The first step is conducting reliability and validity test to ensure the degree of the observed values can be a representation of the “true” values.  In the research, reliability coefficient is measured by Cronbach’s alpha to assess the consistency of entire scale with 0.7 as the lower limit.  Validity of the attributes is administered through discussion on conceptual definition and empirically measured by checking the correlation between defined sets of attributes.

References:
Hair, J.F., Black, W.C., Babin, B.J., Anderson, R.E. & Tatham, R.L. (2006). Multivariate data analysis. Pearson Prentice Hall Upper Saddle River, New Jersey, USA.

Factor Analysis for Perception of Service Quality

Factor analysis is statistical approach to analyze the interrelation in the large number of variables and to find the underlying patterns, known as factors, among those variables in multivariate analysis (Hair et al., 2006).  The objective of factor analysis is to simplify or to extract the large number of original variables into the smaller set of factors without losing much information (Hair et al., 2006).  The main value of factor analysis is to find interrelationship in the variables and to summarize it (Afifi et al., 2004).  According to Johnson and Wichern (2007), the essential purpose of factor analysis is to describe the covariance relationships among variables associated with a few unobservable or underlying random quantities, which is known as factors.
Factor analysis can be applied by checking whether the data are appropriate or not for the analysis.  It can be observed from the correlation matrix, the partial correlations represented by anti-image correlations and Kaiser-Meyer-Olkin (KMO) measure of sampling adequacy (Sharma, 1996).  It is suggested that correlation among the variables is low in correlation matrix and so is in anti-image correlation matrix (Sharma, 1996).  KMO measure of sampling adequacy is suggested to be greater than 0.8, however the value above 0.6 is still tolerable, but below 0.5 is unacceptable (Sharma, 1996).  The appropriateness of data for factor analysis is supported by Bartlett’s test, which assess the correlation matrix for factoring (Sharma, 1996).  If Bartlett’s test is statistically significant (p < 0.000), the correlation matrix is appropriate for factoring (Sharma, 1996). 
Factor analysis start from a set of variables X1, X2, …, XP, that their variances are equal to one respectively and their covariances are correlation coefficient in the form of standardized variable   xi = (Xi - )/Si, that xi’s are known as the original or response variables (Afifi et al., 2004).  Afifi (2004, p. 393) show the representation of each of these variable as a linear combination of a smaller set of common factors expressed in the equation, which called as the factor model as following:
x1 = l11F1 + l12F2 + … + l1mF m + e1      
x2 = l21F1 + l22F2 + … + l1mF m + e2        
                            …
xP = lP1F1 + lP2F2 + … + lPmF m + ep                           (3.1)                              
where the assumption are:
1.      m is the number of common factor, which is much smaller than number of variables P;
2.      F1, F2, …, Fm are the common factors that assumed zero means and unit variances;
3.      lij is the coefficient of Fj in the linear combination describing xi, which called as the loading of the ith variable on the jth common factor;
4.      e1, e2, …, eP are unique factors, which relating to one of variables.
According to (Afifi et al., 2004), since xi is standardized and its variance is equal to one, the variance in the factor model is breaking into two parts:
1.      the communality, as the part of the variance due to common factors;
2.      the specificity, as the part of the variance due to the unique factors ei.
The communality is denoted by  and the specificity is denoted by , so that the variance of xi is the sum of the communality and the specificity is denoted by Var xi = 1=  +  (Afifi et al., 2004).
Factor analysis is concerned on the numerical aspect in the estimation of the factor loading lij and the communalities  that can be obtained through the process called initial factor extraction (Afifi et al., 2004).  There are two methods in initial factor extraction that can either be proceed through principal component methods or iterated component methods (Afifi et al., 2004).  After a set of initial factor is obtained, the next step to obtain new factors is conducted through the process, called the rotated factor, derived from the data to be easily interpretable in common factor (Afifi et al., 2004).  The typical technique for factor rotations are varimax rotation and oblique rotation, with the direct quartimin rotation as the one commonly used technique in oblique rotation (Afifi et al., 2004).  The requirement in factor analysis is to obtain the number of common factors m that can either be determined prior to the analysis or be observed through the number of eigen-values greater than one (Afifi et al., 2004).
Multivariate analysis that involves many variables can be confounded by complementary issues called measurement error (Hair et al., 2006).  Hair et al. (2006) define measurement error as the degree that the observed values cannot represent the “true” values.  Measurement error can be emerged from many sources ranging from data entry, the imprecision of the measurement of rating scales for attitude measurement to the inability of respondents providing information accurately (Hair et al., 2006).  Therefore, it is important to assume some degree of measurement error on variables used in multivariate analysis (Hair et al., 2006).    
Factor analysis is started from descriptive statistics, which contains correlation matrix with KMO and Bartlet’s test of sphericity for testing the adequacy of sample, determinants for testing multicollinearity.  The sample is adequate if the value of KMO and Bartlet’s test is greater than 0.5 (Sharma, 1996) and the value of determinant should be greater than 0.0001 to avoid multicollinearity.  In the process, anti-image matrices can be created for checking that correlation matrix is not identity matrices, because identity matrices cannot be analyzed using factor analysis.  In anti-image matrices, anti-image correlation is useful for checking Measure of Sampling Adequacy (MSA).  It is related with the adequacy of attribute to be analyzed in factor analysis.    
The next stage is concerned on the factor loading and the communalities that can be obtained from the process of initial factor extraction by using principal components methods.  In this process, eigen-value is determined to be greater than one.  After initial factors are extracted, the rotation procedure is conducted to obtain new factors to be easily interpretable in common factor.  Varimax method is considered to be employed in the rotation procedure.  From the process, the number of common factors is obtained, which is previously determined from the eigen-values greater than one.         

References:
Afifi, A.A., Clark, V. & May, S. (2004). Computer-aided multivariate analysis. CRC Press.                                
Hair, J.F., Black, W.C., Babin, B.J., Anderson, R.E. & Tatham, R.L. (2006). Multivariate data analysis. Pearson Prentice Hall Upper Saddle River, New Jersey, USA.
Johnson, R.A. & Wichern, D.W. (2007). Applied multivariate statistical analysis. Pearson Prentice Hall Upper Saddle River, New Jersey, USA.                                                                                      

Cluster Analysis for Air Traveler Market Segmentation

Cluster analysis is defined as an analytical technique in multivariate analysis to classify individual or objects into a small number of mutually exclusive groups based on the similarities of the individual’s or object’s characteristics (Hair et al., 2006).  It can be stated that the basic objective of cluster analysis is to discover natural classifications or groups of the objects based on the association or similarity between objects (Johnson and Wichern, 2007).  The similarities of individuals or objects in cluster analysis to make grouping is based on the distance or proximity (Hair et al., 2006).  Objects or individuals are classified into groups or clusters based on a set of selected characteristics, which yield homogeneity within groups and heterogeneity between groups (Hair, et al., 2006).  A central issue in the concept is the variate representing the set of variables as the characteristics of objects or individuals to be compared (Hair et al., 2006).  Related with the grouping of individuals or objects, cluster analysis can be applied in constructing the formation of customer segments (Hair et al., 2006).
According to Hair et al. (2006), there are three steps in Cluster analysis:
1.      Determining the measurement of some form of similarity among objects to observe the number of groups in the sample
2.      Partitioning objects into certain group or cluster
3.      Profiling the objects or variable to specify the composition
There are two methods in Cluster Analysis that differentiate the technique in grouping objects, hierarchical clustering method and non-hierarchical clustering method.  In applying cluster analysis, the approaches in combination of hierarchical and nonhierarchical methods can be employed (Hair et al, 2006).  The first stage, hierarchical method, is the partitioning procedure to identify a set of preliminary cluster to establish the appropriate number of cluster or groups and to generate the seed points (Hair et al., 2006).  The latter step, nonhierarchical method, is sequel procedure to further improve the cluster solution to generate clusters or groups based on the first stage to profile and to validate the final cluster solution (Hair et al., 2006).
Hierarchical clustering method is executed by either mergers sequences or divisions sequences (Johnson and Wichern, 2007).  Mergers sequence can be done through agglomerative hierarchical methods that start with individual or objects as many clusters initially, then the similar objects will be first cluster or group  (Johnson and Wichern, 2007).  According to their similarities, these initial clusters will be merged into a single group or cluster in line with decreasing of similarities (Johnson and Wichern, 2007).  Divisive hierarchical method starts from an initial single group of objects, then it is divided into two subgroups that have far distance each other and continue until it forms dissimilar subgroups such that objects is clustered in many groups (Johnson and Wichern, 2007). 
Nonhierarchical clustering method is useful in grouping objects or items into the certain number of clusters (Johnson and Wichern, 2007).  The determination of the number of clusters can be conducted either in advance or as part of the clustering procedure (Johnson and Wichern, 2007).  The advantage of the method is the larger data set can be handled than that by hierarchical method (Johnson and Wichern, 2007).  Johnson and Wichern (2007) stated that it can be chosen one way to start the method either by randomly selection of seed points from among objects or randomly partition of objects into groups.
Cluster analysis is used to classify individuals into groups, called clusters, that is similar or relatively homogeneous within group but different or heterogeneous between individuals in other groups based on a defined set of variables.  In the research, cluster analysis is intended to observe market segmentation of air traveler in Juanda Airport based on personal characteristics that consists of socio-economic and traveling behavior.  
The analysis is started from identification of factor score on traveling behavior.  Factor score is a representation of values of underlying construct that can be used for further analysis.  Factor score is formed as component that is weighted by the corresponding factor loading.  In the research, factor analysis with regression method is used to generate saved factor score, which is saved as new variables in the worksheet.  Furthermore, factor score will be used as input variables for cluster analysis.  Regarding with correlation between attributes, saved factor scores is also used to correlate with other attributes, like socio-economic characteristics.   
The combination of hierarchical clustering and non-hierarchical clustering methods is employed because of the existence of nominal and continuous variables in the analysis.  Hierarchical clustering method is performed to determine the number of clusters, while non-hierarchical clustering method is used to actually form the clusters.
Hierarchical clustering method is performed as the first step by using Ward’s methods applying squared Euclidian distance as interval measurement.  Ward’s methods creates agglomeration schedule with coefficient to be checked for determining the number of clusters.  Determination of the number of cluster is identified from the stage in which coefficient is sharply increased on the next stage.  The number of cluster can be defined by subtracting the number of cases or individual involved in the analysis with the stage in which coefficient suddenly increase.  After the number of cluster has defined, non-hierarchical clustering method by using k-means technique can be performed.
Non-hierarchical clustering method by using k-means is performed by repeating the analysis.  In this method, the number of cluster has to be defined in advance.  Based on the previous step in hierarchical method, the number of cluster has been set to perform the actual grouping of individuals.
Non-hierarchical clustering method by using K-means creates final cluster number in which the proximity coefficient needs to be checked with the factor score.  The larger the coefficient, the more similar the characteristics between clusters or group to the component represented by its factor score.  Considering on the stage and the correlation between factor scores and socio-economic attributes, the characteristics of members in each cluster can be identified.

References:
Hair, J.F., Black, W.C., Babin, B.J., Anderson, R.E. & Tatham, R.L. (2006). Multivariate data analysis. Pearson Prentice Hall Upper Saddle River, New Jersey, USA.
Johnson, R.A. & Wichern, D.W. (2007). Applied multivariate statistical analysis. Pearson Prentice Hall Upper Saddle River, New Jersey, USA.