Assignment 3 - Exploratory Data Analysis
Assignment 3 - Exploratory Data Analysis
Assignment 3 - Exploratory Data Analysis
Descriptive statistics provide a summary of the main characteristics of a dataset. They help in
understanding the distribution, central tendency, and variability of the data. Some common
1. Measures of central tendency: Mean, median, and mode represent different ways to measure
the central value of a dataset.
2. Measures of variability: Range, variance, and standard deviation quantify the spread or
variability of the data.
3. Measures of shape: Skewness and kurtosis describe the asymmetry and peakedness of the
distribution, respectively.
4. Percentiles and quartiles: Percentiles divide the data into equal parts, allowing for the
identification of values at specific percentages (e.g., 25th percentile, 75th percentile).
5. Cross-tabulations: Cross-tabulations summarize the relationship between two categorical
variables by displaying the frequency distribution in a contingency table.
Data visualization techniques use graphical representations to effectively communicate and explore
the patterns and characteristics of the data. Some common visualization techniques include:
1. Scatter plots: Scatter plots display the relationship between two continuous variables, with
each data point represented as a dot. They help identify patterns, trends, or potential
correlations.
2. Histograms: Histograms show the distribution of a numerical variable by dividing the data
into bins or intervals and displaying the frequency or density of observations in each bin.
3. Bar charts: Bar charts represent the distribution of a categorical variable by displaying the
frequencies or proportions of different categories using vertical or horizontal bars.
4. Line plots: Line plots show the trend or changes in a variable over time or another
continuous dimension. They are useful for analyzing time series data or visualizing trends.
5. Box plots: Box plots provide a visual summary of the distribution of a numerical variable by
displaying the quartiles, median, and outliers.
6. Heatmaps: Heatmaps visualize the relationship between two categorical variables by using
colors to represent the frequency or proportions in each category combination.
Exploratory Data Analysis (EDA) aims to identify patterns and trends in the data, allowing for insights
and hypothesis generation. Some techniques to identify patterns and trends include:
1. Line plots: Plotting data over time can reveal trends, seasonality, or cyclical patterns in the
data.
2. Correlation analysis: Analyzing correlations between variables can help identify relationships
and dependencies between them.
3. Data smoothing: Applying smoothing techniques, such as moving averages or exponential
smoothing, can help remove noise and highlight underlying trends in the data.
4. Cluster analysis: Using clustering techniques, such as k-means clustering or hierarchical
clustering, can help identify groups or segments within the data based on similarities.
5. Time series decomposition: Decomposing time series data into its components (trend,
seasonality, and residuals) can provide insights into the underlying patterns and variations.
Exploratory Data Analysis helps uncover relationships between variables and identify associations or
1. Scatter plots: Visualizing the relationship between two continuous variables can reveal
patterns and associations. The shape and direction of the scatter plot points provide insights
into the strength and nature of the relationship.
2. Correlation analysis: Calculating correlation coefficients, such as Pearson's correlation, can
quantify the strength and direction of the linear relationship between two continuous
variables.
3. Cross-tabulations: Cross-tabulating two categorical variables helps identify associations or
dependencies between them. Chi-square tests or contingency tables can provide statistical
measures of association.
4. Heatmaps: Heatmaps can visually represent the relationship or association between two
categorical variables, with color intensity indicating the strength or frequency of the
association.
5. Regression analysis: Performing regression analysis can quantify the relationship between a
dependent variable and one or more independent variables, providing insights into the
direction and magnitude of the relationship.
6. Multivariate analysis: Exploring multivariate techniques such as principal component
analysis (PCA), factor analysis, or discriminant analysis can uncover underlying relationships
or patterns in high-dimensional datasets.
7. Association rules mining: Using techniques like Apriori algorithm or frequent itemset mining,
association rules can be discovered in transactional or market basket data, revealing
patterns of co-occurrence between items.
8. Network analysis: Network analysis explores relationships between entities using techniques
like social network analysis or graph theory. It reveals patterns of connections, centrality
measures, and community structures.
By utilizing these techniques, analysts can uncover meaningful relationships and dependencies
within the data, aiding in further analysis, decision-making, and hypothesis formulation.