unit 3 1
Table of contents
- Data Processing: Editing, Coding, Classification and Tabulation of Data, Data Cleaning and Graphical Representation using Excel. Statistical Analysis: Correlation and Regression Analysis, Univariate, Bivariate and Multivariate Analysis, Descriptive and Inferential Analysis, Introduction to Excel/SPSS/JMP for Data Analysis, Interpretation of Business Datasets and Case-based Analysis.
- Data Tabulation
- Construction of figures and graph
- Univariate Analysis, Bivariate and Multivariate Analysis
- Descriptive Statistics and Inferential Statistics
1. Data Processing: Editing, Coding, Classification and Tabulation of Data, Data Cleaning and Graphical Representation using Excel. Statistical Analysis: Correlation and Regression Analysis, Univariate, Bivariate and Multivariate Analysis, Descriptive and Inferential Analysis, Introduction to Excel/SPSS/JMP for Data Analysis, Interpretation of Business Datasets and Case-based Analysis.
1.1 Data editing
Editing is the initial phase of data processing, involving a thorough review of collected data to identify and correct errors. This step is crucial for ensuring the accuracy and reliability of research findings, especially in large-scale surveys.
Editors or supervisors are often appointed to meticulously check for missing or incorrectly entered information 1 2.
1.2 Example of data editing
Consider a survey on occupation status where a respondent's wife is listed as a "Housewife" but also reported to earn 800 per month. This earning suggests potential self-employment through activities like knitting, which should be accurately categorized.
Cross-checking such details helps minimize errors and strengthens research outcomes 2.
📝 "Married" might be coded as 01, "Separated" as 02, and "Widow" as 03 2.
1.3 Data coding
Data coding involves assigning numerical symbols to each response within a questionnaire. This process translates raw, qualitative data into a quantitative format that can be easily counted and tabulated, facilitating computer entry and analysis.
A code book is highly recommended to ensure consistency and accuracy during data collection and editing 2 3.
1.4 Example of data coding
Numerical codes are assigned to different categories for variables like marital status and education. For instance, "Married" might be coded as 01, "Separated" as 02, and "Widow" as 03 2.
| Marital Status | Code |
|---|---|
| Married | 01 |
| Separated | 02 |
| Widow | 03 |
| Divorced | 05 |
| Never Married | 06 |
| Any Other | 07 |
📝 Entering data into the SPSS statistical package, selecting the procedure from the menu, choosing variables for analysis, and then examining the output 3.
1.5 Master chart preparation
For manual data tabulation, a master chart is a large sheet used to consolidate codes for various variables. This organized structure simplifies the process of generating tables and analyzing data 3.
1.6 Entering data into the computer
Computers significantly accelerate data analysis. Software packages like Excel and SPSS are commonly used in social science research.
The typical process involves entering data into the chosen package, selecting the appropriate analysis procedure from the menu, choosing the variables for analysis, and then examining the generated output 3.
2. Data Tabulation
2.1 Definition and purpose of tabulation
Tabulation is the orderly and systematic arrangement of numerical data into rows and columns. Its primary purpose is to facilitate easy comprehension, prompt conclusion drawing, and effective comparison and interpretation of statistical information.
A statistical table thus summarizes data in a logical and orderly manner 4.
2.2 Components of a statistical table
A statistical table is composed of five essential parts:
- Title: A clear, concise, and self-explanatory heading at the top that describes the table's content.
- Stub: The leftmost column that lists and heads the items being presented in the rows.
- Caption: The heading for the columns, located in the upper part of the table, often including units of measurement and column numbers in a "box head.".
- Body: The main section of the table containing the actual data figures.
- Source & Footnote: Information about the origin of secondary data and any necessary explanatory notes, such as clarifying percentages or specific data points 4.
2.3 Types of tabulation
Tabulation methods are chosen based on the nature of the data and the study objectives. The main types include the construction of frequency distribution tables, cross-tabulation, and the presentation of data in figures and graphs 5.
2.4 Frequency distribution tables6
Frequency distribution tables organize data by showing individual values or by grouping observations into classes.
- Simple frequency distribution: Lists individual values without grouping them into classes.
- Grouped frequency distribution: Divides observations into groups or classes, making it easier to see patterns in larger datasets 5.
| Marks | Tally of marks | Frequency (No. of students) |
|---|---|---|
| 20 | IIII | 5 |
| 21 | IIII IIII II | 12 |
| 25 | IIII IIII III | 13 |
| 30 | IIII III | 10 |
| Total | — | 40 |
| Marks obtained | Tally of marks | Frequency |
|---|---|---|
| 1-10 | IIII IIII I | 11 |
| 11-20 | IIII IIII IIII IIII | 20 |
| 21-30 | IIII IIII IIII IIII I | 21 |
| 31-40 | IIII IIII III | 13 |
| 41-50 | IIII IIII | 9 |
📝 A grouped frequency distribution table shows marks obtained by students, with classes like "1-10" having a frequency of 11, "11-20" with 20, and so on 6.
2.5 Cross-tabulation 7
Cross-tabulation is used to examine the relationship between two or more variables simultaneously. This method is particularly useful when the study objectives require comparing opinions or characteristics across different subgroups 6.
| Residence | Type of teachers | Total |
|---|---|---|
| Rural | 10 (16%) | 69 (38%) |
| Urban | 51 (84%) | 113(62%) |
| Total | 61(100%) | 182 (100%) |
| Residence | Gender of teachers | Total |
|---|---|---|
| Rural | Male; 54 (43%) | Female; 25 (21%) |
| Urban | Male; 71 (57%) | Female; 93 (79%) |
| Total | Male; 125(100%) | Female; 118 (100%) |
📝 Table 4.3 shows the breakdown of teachers by residence and type, with 10 principals (16%) in rural areas and 51 principals (84%) in urban areas, totaling 61 principals 7.
2.6 Figures and graphs for data presentation
When a report contains numerous descriptive tables, presenting key data through figures can enhance readability. Common graphical representations include bar charts, pie charts, histograms, line graphs, scatter diagrams, and maps 7.
3. Construction of figures and graph
3.1 Bar charts
Bar charts are used to present categorical data visually. They can display absolute frequencies or relative frequencies and percentages.
The bars in a bar chart are not connected, as the categories are distinct entities 8.
3.2 Pie charts
Pie charts illustrate the relative frequency of different items, providing a quick overview of the data. All segments of a pie chart must sum to 100% 8.
3.3 Histograms
Histograms are used for numerical data and are similar to bar charts. A key difference is that the bars in a histogram are connected, indicating a continuous range of data, whereas bar charts have separated bars for distinct categories 9.
3.4 Line graphs
Line graphs are particularly useful for showing trends in numerical data over time. They can effectively display two or more distributions on the same graph, provided the lines are easily distinguishable, allowing for comparisons between different groups 9.
3.5 Scatter diagrams
Scatter diagrams are employed to visualize information on two variables, especially when exploring potential relationships or associations between them. They are useful for concepts like association and correlation 10.
3.6 Data visualization principles
Data visualization uses graphical representations like charts, graphs, and maps to make information accessible and reveal hidden trends and patterns 10.
3.7 Univariate analysis
Univariate analysis involves visualizing a single variable at a time to understand its distribution. This is the simplest form of analysis, often used to examine central tendency (mean, median, mode), range, and extreme values 10.
3.8 Bivariate and multivariate analysis
Bivariate analysis examines the relationship between two variables, while multivariate analysis explores relationships among three or more variables. Scatter diagrams are a common tool for bivariate analysis 10.
3.9 Figure presentation requirements
All figures presented in research reports must include numbers, clear titles, and be clearly labeled or keyed 10.
📝 A bar chart could display the number of anti-malaria drugs reported as short in rural health institutions, with each bar representing a specific drug and its height indicating the frequency of shortage 8.
4. Univariate Analysis, Bivariate and Multivariate Analysis
4.1 Univariate analysis
Univariate analysis involves examining a single variable to understand its distribution and characteristics. This type of analysis focuses on one data point at a time, without considering relationships with other variables.
Common techniques include calculating measures like the mean, median, and standard deviation.
- Visualizations: Histograms, box plots, and violin plots are frequently used to visualize univariate data.
- A histogram displays the frequency distribution of a variable.
- Box plots and violin plots help compare the spread of variables and identify outliers.
- Example: Comparing the "sepal_length" across different species in the iris dataset is a univariate analysis because it focuses on a single variable 11.
4.2 Bivariate analysis
Bivariate analysis is used to study the relationship between two variables. These variables can be dependent or independent of each other, and for each value of the independent variable (X), there is a corresponding value for the dependent variable (Y).
- Common techniques: Scatter plots, regression plots, and correlation coefficients are used to explore relationships.
- A scatter plot displays one variable on the x-axis and the other on the y-axis.
- Example: Comparing "sepal_length" versus "sepal_width" or "sepal_length" versus "petal_length" in the iris dataset exemplifies bivariate analysis 11.
4.3 Multivariate analysis 11
Multivariate analysis extends bivariate analysis by examining the relationships among more than two variables simultaneously. For three variables, this is also known as trivariate analysis, often visualized using 3-D models.
- Visualization challenges: Visualizing relationships beyond three dimensions is difficult, necessitating advanced software and techniques.
- Tools and techniques:
- Pair plots (scatter plot matrices) from libraries like Seaborn can generate a series of scatter plots and histograms for selected variables.
- Other advanced techniques include Principal Component Analysis (PCA), logistic regression, linear regression, and cluster analysis 11.
| Analysis Type | Number of Variables | Primary Goal | Common Visualizations |
|---|---|---|---|
| Univariate Analysis | One | Describe characteristics of a single variable | Histogram, Box plot, Violin plot |
| Bivariate Analysis | Two | Study the relationship between two variables | Scatter plot, Regression plot |
| Multivariate Analysis | More than two | Study relationships among multiple variables | 3-D plots (for three variables), Pair plots (scatter plot matrix) |
5. Descriptive Statistics and Inferential Statistics
5.1 Descriptive Statistics
Descriptive statistics provide tools to summarize and describe a sample, offering a clear picture of the data at hand. The goal is to gain an overview of the distribution of data sets and to describe and illustrate them.
This involves calculating statistical characteristics, creating charts, or using tables to represent the data. It is crucial that descriptive statistics only evaluate the properties of the specific sample, without drawing conclusions about other time points or the population 12 13.
- Measures of location: These figures, such as the mean, median, mode, and sum, express the central tendency of a data set. They indicate where the center of a sample is located or where a large portion of the sample data lies.
- Measures of dispersion: These measures, including standard deviation, variance, and range, provide information about how much the values in a sample differ from each other. They describe how strongly the values deviate from the mean, indicating whether values are clustered closely or spread far apart.
- Tables: These include absolute, relative, and cumulative frequencies, used for evaluation depending on the question and measurement scale.
- Charts: Various diagrams like histograms, bar charts, box plots, and scatter plots are used to visualize data distributions 13.
The suitability of location or dispersion measures depends on the measurement scales of the variable, which can be metric, ordinal, or nominal 14.
| Descriptive Statistics Components | Purpose |
|---|---|
| Measures of location (Mean, median, mode, sum) | Express central tendency; describe the center of a sample. |
| Measures of dispersion (Standard deviation, variance, range) | Indicate how much values differ; describe deviation from the mean. |
| Tables (Absolute, relative, cumulative frequencies) | Summarize data for evaluation. |
| Charts (Histograms, bar charts, box plots, scatter plots) | Visualize data distributions. |
5.2 Descriptive Statistics Example
A sample of 10 male basketball players' heights was measured. After inputting this data into statistical software, descriptive statistics were calculated for "Body height." 14.
📝 A table of descriptive statistics for the body height of 10 basketball players would show measures of location (e.g., mean height) and dispersion (e.g., standard deviation of heights), summarizing the sample's characteristics 14.
5.3 Inferential Statistics
Inferential statistics use a sample to draw conclusions about an entire population, aiming to estimate unknown population parameters based on the known characteristics of the sample. This branch of statistics employs analytical tools to make statements about the population, extending beyond the immediate data 12 15.
- Purpose: To make statements or draw conclusions about a population based on data from a representative sample 12.
- Methods: Common methods include hypothesis tests like the t-test, Chi-square (χ²) test, and Analysis of Variance (ANOVA) for comparing groups. Correlation analysis and regression are used to test associations between variables 15.
- Hypothesis Testing: Used to test a given hypothesis about the population by examining a sample and indicating the hypothesis's validity 16.
- Confidence Interval: Provides a range of values within which the population parameter is likely to fall, offering an estimate of the expected impact on the population 18.
Statements made using inferential statistics are confirmed with a certain probability, as they are based on samples and could be influenced by chance 17.
5.4 Inferential Statistics Definition
Inferential statistics is a branch of statistics that uses various analytical tools to draw conclusions about the population from sample data. For a given hypothesis about the population, inferential statistics use a sample and give an indication of the validity of the hypothesis based on the sample collected 16.
5.5 Inferential Statistics Example
If a sample of 10 basketball players' heights was described using descriptive statistics, inferential statistics would be used to make a statement about the population of all basketball players. For instance, a t-test could compare the sample mean height to the average height of the general male population to test if basketball players are taller 16.
📝 To determine if basketball players are taller than football players, a sample of football players would be taken, and their mean height compared to the basketball players' mean height using an independent t-test. This allows a probabilistic statement about whether basketball players are generally taller than football players 17.
5.6 Example of Descriptive and Inferential Statistics: Testing a New Medication's Effectiveness18
A pharmaceutical company tests a new blood pressure medication on a sample of 200 patients 17.
- Descriptive Statistics: The company calculates the average blood pressure reduction (e.g., 15 mmHg) and the standard deviation (e.g., 5 mmHg) within the sample. A histogram visualizes the frequency distribution of blood pressure reductions. These statistics summarize the sample's response and variability 17.
- Inferential Statistics: A t-test compares the sample's average reduction to a known baseline to determine statistical significance. A 95% confidence interval (e.g., 13 to 17 mmHg) is calculated to estimate the medication's expected impact on the general population 18.
Based on these inferential results, the company can generalize that the medication is likely effective for the broader population 18.
| Statistic Type | Application in Medication Study |
|---|---|
| Descriptive Statistics | Summarize sample data: calculate average blood pressure reduction, standard deviation, and create frequency distributions (histograms). |
| Inferential Statistics | Generalize to population: perform hypothesis tests (t-test) to check for statistical significance and calculate confidence intervals to estimate population effect. |
© 2026 Maeve. All rights reserved. This content is protected by copyright.