 Data analysis

Analysis of data is a process of inspecting, cleaning, transforming, and modeling data with the goal of highlighting useful information, suggesting conclusions, and supporting decision making. Data analysis has multiple facets and approaches, encompassing diverse techniques under a variety of names, in different business, science, and social science domains.
Data mining is a particular data analysis technique that focuses on modeling and knowledge discovery for predictive rather than purely descriptive purposes. Business intelligence covers data analysis that relies heavily on aggregation, focusing on business information. In statistical applications, some people divide data analysis into descriptive statistics, exploratory data analysis (EDA), and confirmatory data analysis (CDA). EDA focuses on discovering new features in the data and CDA on confirming or falsifying existing hypotheses. Predictive analytics focuses on application of statistical or structural models for predictive forecasting or classification, while text analytics applies statistical, linguistic, and structural techniques to extract and classify information from textual sources, a species of unstructured data. All are varieties of data analysis.
Data integration is a precursor to data analysis, and data analysis is closely linked to data visualization and data dissemination. The term data analysis is sometimes used as a synonym for data modeling.
Contents
Type of data
Data can be of several types
 Quantitative data data is a number
 Categorical data data one of several categories
 Qualitative data data is a pass/fail or the presence or lack of a characteristic
The process of data analysis
Data analysis is a process, within which several phases can be distinguished:^{[1]}
Data cleaning
Data cleaning is an important procedure during which the data are inspected, and erroneous data are—if necessary, preferable, and possible—corrected. Data cleaning can be done during the stage of data entry. If this is done, it is important that no subjective decisions are made. The guiding principle provided by Adèr (ref) is: during subsequent manipulations of the data, information should always be cumulatively retrievable. In other words, it should always be possible to undo any data set alterations. Therefore, it is important not to throw information away at any stage in the data cleaning phase. All information should be saved (i.e., when altering variables, both the original values and the new values should be kept, either in a duplicate data set or under a different variable name), and all alterations to the data set should carefully and clearly documented, for instance in a syntax or a log.^{[2]}
Initial data analysis
The most important distinction between the initial data analysis phase and the main analysis phase, is that during initial data analysis one refrains from any analysis that are aimed at answering the original research question. The initial data analysis phase is guided by the following four questions:^{[3]}
Quality of data
The quality of the data should be checked as early as possible. Data quality can be assessed in several ways, using different types of analyses: frequency counts, descriptive statistics (mean, standard deviation, median), normality (skewness, kurtosis, frequency histograms, normal probability plots), associations (correlations, scatter plots).
Other initial data quality checks are: Checks on data cleaning: have decisions influenced the distribution of the variables? The distribution of the variables before data cleaning is compared to the distribution of the variables after data cleaning to see whether data cleaning has had unwanted effects on the data.
 Analysis of missing observations: are there many missing values, and are the values missing at random? The missing observations in the data are analyzed to see whether more than 25% of the values are missing, whether they are missing at random (MAR), and whether some form of imputation is needed.
 Analysis of extreme observations: outlying observations in the data are analyzed to see if they seem to disturb the distribution.
 Comparison and correction of differences in coding schemes: variables are compared with coding schemes of variables external to the data set, and possibly corrected if coding schemes are not comparable.
The choice of analyses to assess the data quality during the initial data analysis phase depends on the analyses that will be conducted in the main analysis phase.^{[4]}
Quality of measurements
The quality of the measurement instruments should only be checked during the initial data analysis phase when this is not the focus or research question of the study. One should check whether structure of measurement instruments corresponds to structure reported in the literature.
There are two ways to assess measurement quality: Confirmatory factor analysis
 Analysis of homogeneity (internal consistency), which gives an indication of the reliability of a measurement instrument. During this analysis, one inspects the variances of the items and the scales, the Cronbach's α of the scales, and the change in the Cronbach's alpha when an item would be deleted from a scale.^{[5]}
Initial transformations
After assessing the quality of the data and of the measurements, one might decide to impute missing data, or to perform initial transformations of one or more variables, although this can also be done during the main analysis phase.^{[6]}
Possible transformations of variables are:^{[7]} Square root transformation (if the distribution differs moderately from normal)
 Logtransformation (if the distribution differs substantially from normal)
 Inverse transformation (if the distribution differs severely from normal)
 Make categorical (ordinal / dichotomous) (if the distribution differs severely from normal, and no transformations help)
Did the implementation of the study fulfill the intentions of the research design?
One should check the success of the randomization procedure, for instance by checking whether background and substantive variables are equally distributed within and across groups.
If the study did not need and/or use a randomization procedure, one should check the success of the nonrandom sampling, for instance by checking whether all subgroups of the population of interest are represented in sample.
Other possible data distortions that should be checked are: dropout (this should be identified during the initial data analysis phase)
 Item nonresponse (whether this is random or not should be assessed during the initial data analysis phase)
 Treatment quality (using manipulation checks).^{[8]}
Characteristics of data sample
In any report or article, the structure of the sample must be accurately described. It is especially important to exactly determine the structure of the sample (and specifically the size of the subgroups) when subgroup analyses will be performed during the main analysis phase.
The characteristics of the data sample can be assessed by looking at: Basic statistics of important variables
 Scatter plots
 Correlations
 Crosstabulations^{[9]}
Final stage of the initial data analysis
During the final stage, the findings of the initial data analysis are documented, and necessary, preferable, and possible corrective actions are taken.
Also, the original plan for the main data analyses can and should be specified in more detail and/or rewritten.
In order to do this, several decisions about the main data analyses can and should be made: In the case of nonnormals: should one transform variables; make variables categorical (ordinal/dichotomous); adapt the analysis method?
 In the case of missing data: should one neglect or impute the missing data; which imputation technique should be used?
 In the case of outliers: should one use robust analysis techniques?
 In case items do not fit the scale: should one adapt the measurement instrument by omitting items, or rather ensure comparability with other (uses of the) measurement instrument(s)?
 In the case of (too) small subgroups: should one drop the hypothesis about intergroup differences, or use small sample techniques, like exact tests or bootstrapping?
 In case the randomization procedure seems to be defective: can and should one calculate propensity scores and include them as covariates in the main analyses?^{[10]}
Analyses
Several analyses can be used during the initial data analysis phase:^{[11]}
 Univariate statistics
 Bivariate associations (correlations)
 Graphical techniques (scatter plots)
It is important to take the measurement levels of the variables into account for the analyses, as special statistical techniques are available for each level:^{[12]}
 Nominal and ordinal variables
 Frequency counts (numbers and percentages)
 Associations
 circumambulations (crosstabulations)
 hierarchical loglinear analysis (restricted to a maximum of 8 variables)
 loglinear analysis (to identify relevant/important variables and possible confounders)
 Exact tests or bootstrapping (in case subgroups are small)
 Computation of new variables
 Continuous variables
 Distribution
 Statistics (M, SD, variance, skewness, kurtosis)
 Stemandleaf displays
 Box plots
 Distribution
Main data analysis
In the main analysis phase analyses aimed at answering the research question are performed as well as any other relevant analysis needed to write the first draft of the research report. ^{[13]}
Exploratory and confirmatory approaches
In the main analysis phase either an exploratory or confirmatory approach can be adopted. Usually the approach is decided before data is collected. In an exploratory analysis no clear hypothesis is stated before analysing the data, and the data is searched for models that describe the data well. In a confirmatory analysis clear hypotheses about the data are tested.
Exploratory data analysis should be interpreted carefully. When testing multiple models at once there is a high chance on finding at least one of them to be significant, but this can be due to a type 1 error. It is important to always adjust the significance level when testing multiple models with, for example, a bonferroni correction. Also, one should not follow up an exploratory analysis with a confirmatory analysis in the same dataset. An exploratory analysis is used to find ideas for a theory, but not to test that theory as well. When a model is found exploratory in a dataset, then following up that analysis with a comfirmatory analysis in the same dataset could simply mean that the results of the comfirmatory analysis are due to the same type 1 error that resulted in the exploratory model in the first place. The comfirmatory analysis therefore will not be more informative than the original exploratory analysis.^{[14]}
Stability of results
It is important to obtain some indication about how generalizable the results are.^{[15]} While this is hard to check, one can look at the stability of the results. Are the results reliable and reproducible? There are two main ways of doing this:
 Crossvalidation: By splitting the data in multiple parts we can check if analyzes (like a fitted model) based on one part of the data generalize to another part of the data as well.
 Sensitivity analysis: A procedure to study the behavior of a system or model when global parameters are (systematically) varied. One way to do this is with bootstrapping.
Statistical methods
A lot of statistical methods have been used for statistical analyses. A very brief list of four of the more popular methods is:
 General linear model: A widely used model on which various statistical methods are based (e.g. t test, ANOVA, ANCOVA, MANOVA). Usable for assessing the effect of several predictors on one or more continuous dependent variables.
 Generalized linear model: An extension of the general linear model for discrete dependent variables.
 Structural equation modelling: Usable for assessing latent structures from measured manifest variables.
 Item response theory: Models for (mostly) assessing one latent variable from several binary measured variables (e.g. an exam).
Free software for data analysis
 ROOT  C++ data analysis framework developed at CERN
 PAW  FORTRAN/C data analysis framework developed at CERN
 JHepWork  Java (multiplatform) data analysis framework developed at ANL
 KNIME  the Konstanz Information Miner, a user friendly and comprehensive data analytics framework.
 Data Applied  an online data mining and data visualization solution.
 R  a programming language and software environment for statistical computing and graphics.
 DevInfo  a database system endorsed by the United Nations Development Group for monitoring and analyzing human development.
 Zeptoscope Basic^{[16]}  Interactive Javabased plotter developed at Nanomix.
Nuclear and particle physics
In nuclear and particle physics the data usually originate from the experimental apparatus via a data acquisition system. It is then processed, in a step usually called data reduction, to apply calibrations and to extract physically significant information. Data reduction is most often, especially in large particle physics experiments, an automatic, batchmode operation carried out by software written adhoc. The resulting data ntuples are then scrutinized by the physicists, using specialized software tools like ROOT or PAW, comparing the results of the experiment with theory.
The theoretical models are often difficult to compare directly with the results of the experiments, so they are used instead as input for Monte Carlo simulation software like Geant4, predict the response of the detector to a given theoretical event, producing simulated events which are then compared to experimental data.
See also
 Analytics
 Business intelligence
 Censoring (statistics)
 Computational physics
 Data acquisition
 Data governance
 Data mining
 Data Presentation Architecture
 Digital signal processing
 Dimension reduction
 Early case assessment
 Exploratory data analysis
 Fourier Analysis
 Machine learning
 Nearest neighbor search
 Predictive analytics
 Principal Component Analysis
 Qualitative research
 Scientific computing
 Structured data analysis (statistics)
 Test method
 Text analytics
 Unstructured data
 Wavelet
References
 ^ Adèr, 2008, p. 334335.
 ^ Adèr, 2008, p. 336337.
 ^ Adèr, 2008, p. 337.
 ^ Adèr, 2008, p. 338341.
 ^ Adèr, 2008, p. 3413342.
 ^ Adèr, 2008, p. 344.
 ^ Tabachnick & Fidell, 2007, p. 8788.
 ^ Adèr, 2008, p. 344345.
 ^ Adèr, 2008, p. 345.
 ^ Adèr, 2008, p. 345346.
 ^ Adèr, 2008, p. 346347.
 ^ Adèr, 2008, p. 349353.
 ^ Adèr, 2008, p. 363.
 ^ Adèr, 2008, p. 361362.
 ^ Adèr, 2008, p. 368371.
 ^ Zeptoscope.synopsia.net
 Adèr, H.J. (2008). Chapter 14: Phases and initial steps in data analysis. In H.J. Adèr & G.J. Mellenbergh (Eds.) (with contributions by D.J. Hand), Advising on Research Methods: A consultant's companion (pp. 333–356). Huizen, the Netherlands: Johannes van Kessel Publishing.
 Adèr, H.J. (2008). Chapter 15: The main analysis phase. In H.J. Adèr & G.J. Mellenbergh (Eds.) (with contributions by D.J. Hand), Advising on Research Methods: A consultant's companion (pp. 333–356). Huizen, the Netherlands: Johannes van Kessel Publishing.
 Tabachnick, B.G. & Fidell, L.S. (2007). Chapter 4: Cleaning up your act. Screening data prior to analysis. In B.G. Tabachnick & L.S. Fidell (Eds.), Using Multivariate Statistics, Fifth Edition (pp. 60–116). Boston: Pearson Education, Inc. / Allyn and Bacon.
Further reading
 Adèr, H.J. & Mellenbergh, G.J. (with contributions by D.J. Hand) (2008). Advising on Research Methods: A consultant's companion. Huizen, the Netherlands: Johannes van Kessel Publishing.
 ASTM International (2002). Manual on Presentation of Data and Control Chart Analysis, MNL 7A, ISBN 0803120931
 Godfrey, A. B. (1999). Juran's Quality Handbook, ISBN 00703400359
 LewisBeck, Michael S. (1995). Data Analysis: an Introduction, Sage Publications Inc, ISBN 0803957726
 NIST/SEMATEK (2008) Handbook of Statistical Methods,
 Pyzdek, T, (2003). Quality Engineering Handbook, ISBN 0824746147
 Richard Veryard (1984). Pragmatic data analysis. Oxford : Blackwell Scientific Publications. ISBN 0632013117
 Tabachnick, B.G. & Fidell, L.S. (2007). Using Multivariate Statistics, Fifth Edition. Boston: Pearson Education, Inc. / Allyn and Bacon, ISBN 9780205459384
 Vance (September 08, 2011,). "Data Analytics: Crunching the Future". Bloomberg Businessweek. http://www.businessweek.com/magazine/dataanalyticscrunchingthefuture09082011.html. Retrieved 26 September 2011.
Categories:
Wikimedia Foundation. 2010.