lec01 data analysis
📚 lec01-data-analysis.pdf
Brief overview
This document introduces fundamental data analysis concepts, emphasizing data literacy and its significance in transforming data into actionable information. It outlines the essential components of study design, sampling, and variable measurement crucial for drawing valid conclusions.
Key points
- Course administration, schedules, and essential readings.
- Defining data literacy and the objectives of data analysis.
- Study design principles and methods for selecting representative samples.
- Understanding variables, bias, and the impact of sample size.
- Differentiating between numerical and categorical variable types for analysis.
1. Course administration and overview
1.1 Course structure and schedule
- Lectures: Live lectures are held on Thursdays from 12:30 PM to 2:00 PM.
- Consultation Hours: To be announced (TBA).
- SGTAs (Smaller Group Teaching Activities): These run from Week 2 through Week 13.
- Attendance and participation are essential for this course.
- SGTA activities reinforce lecture content and help prepare for assessments.
- Enrol in SGTAs via eStudent.
- Required Readings:
- Business Analytics and Statistics (Black et al., n.d.).
- Excel readings are available on iLearn.
1.2 Weekly lecture and assessment schedule
This table outlines the topics covered each week and associated assessments.
| Week | Lecture Topics | Assessments |
|---|---|---|
| 8 | Hypothesis Tests II | Mid Session Break Report |
| 11 | Simple Linear Regression II | Quantitative Analysis Task |
1.3 Data analysis: Objectives and scope
- Data literacy: This is the ability to analyse, interpret, and question data. It is an increasingly valuable skill in our data-rich world.
- Data vs. Information:
- Data: Raw, unprocessed facts. For example, one record of a transaction.
- Information: Processed data that adds meaning and knowledge, enabling decision-making. For example, monthly sales figures for a specific product over three years.
📝 Example: Google collects data on user clicks and demographics. This data becomes information when analysed to understand marketing effectiveness.
-
Objective of Data Analysis: To gain information about a target population using a sample.
- Target Population: All subjects of interest.
- Sample: A manageable subset selected for feasibility.
-
Business Questions: A sample is used to answer business questions about a population.
-
Scope of Data Analysis: The process involves several stages:
- Study Design
- Data Collection or Extraction
- Data Analysis
- Interpretation and presentation of Results
- Report Writing
- Identifying the next research question
🔑 Important: Understanding the difference between data and information is crucial for making informed business decisions.
🔑 Important: Samples are used to infer properties about larger populations, making analysis feasible.
2. Study design and sample selection
2.1 Defining the study's core elements
A study begins by defining key aspects of the research. This includes the business question, which is the central query the study aims to answer.
It also involves identifying the target population. This is the group or set of entities about which the business question is being asked.
Finally, researchers must determine the specific variables or measurements needed to address the question.
2.2 Sample selection and data collection
The process extends to how the study will be conducted. Sample selection refers to the method used to choose a subset of the target population for study.
This is crucial for making accurate inferences. Equally important is defining the data collection process, including how, when, and where the data will be gathered.
📝 Example: A company wants to know if customers prefer its new coffee blend.
- Business Question: Do customers prefer our new coffee blend?
- Target Population: All regular coffee drinkers in the city.
- Variables: Taste preference rating, purchase intent.
- Sample Selection: Randomly select 500 coffee drinkers from the city.
- Data Collection: Conduct blind taste tests at local cafes next weekend.
2.3 Characteristics of a good sample
A well-chosen sample is vital for study validity. The sample must be representative of the target population, meaning it accurately reflects the population's characteristics without bias.
It also needs to be large enough to provide reliable information. Ideally, the observations within the sample should be independent of each other.
2.4 Ensuring sample representativeness
Achieving a truly representative sample can be challenging. A random sample, where every member of the population has an equal chance of selection, is a primary method to ensure representativeness.
However, even when a simple random sample isn't feasible, the study should strive for a sample whose characteristics mirror those of the target population.
🔑 Important: A biased sample leads to incorrect conclusions about the population.
2.5 Types of study designs
Studies can be broadly categorized based on their approach. They can be deductive (based on existing theory) or inductive (based on empirical observation).
They can also be qualitative (unstructured exploration) or quantitative (structured measurement). A key distinction lies between observational studies, where no intervention is made, and experimental studies, where the investigator has some control and imposes treatments.
| Study Type | Investigator's Role | Data Source Example |
|---|---|---|
| Observational | No intervention or treatment | Insurance claims, lead exposure in children |
| Experimental | Controls or imposes treatment | Drug efficacy trials, taste tests |
2.6 Distinguishing observational from experimental studies
The core difference lies in the investigator's intervention. In an observational study, researchers observe and measure variables without altering them.
An experimental study, however, involves the investigator manipulating one or more variables (treatments) and observing the effect on another variable.
🔑 Important: Ethical considerations often dictate whether a study can be experimental; imposing harmful conditions is unethical.
2.7 Case study: Experimental study design
This study investigated Zyban's effectiveness for smoking cessation. 429 smokers wishing to quit were randomly assigned to either a Zyban group or a control group.
After 12 months, researchers observed smoking abstinence rates.
| Element | Detail | Type of Study |
|---|---|---|
| Sample | 429 smokers wanting to quit | Experimental |
| Groups | Zyban vs. Control | Experimental |
| Intervention | Administering Zyban | Experimental |
| Outcome Measure | Smoking abstinence after 12 months | Experimental |
This is experimental because the researcher actively assigned participants to receive a treatment (Zyban) or not 30 31.
2.8 Case study: Observational study design
This study examined the link between lead exposure and tooth decay in 24,901 American children. Researchers observed that higher lead exposure correlated with more missing or decayed teeth.
| Element | Detail | Type of Study |
|---|---|---|
| Sample | 24,901 American children | Observational |
| Groups | Based on levels of lead exposure | Observational |
| Intervention | None imposed by researcher | Observational |
| Outcome Measure | Number of missing or decayed teeth | Observational |
This is observational because the researchers did not control or impose lead exposure; they simply measured existing exposure levels and health outcomes 32 33.
🔑 Important: Always consider if the researcher actively intervenes to determine if a study is experimental or observational.
3. Variables and measurements
3.1 Variables in studies
- Variables: These are the measurements taken on subjects in a study.
- Measurements differ randomly between subjects, so variables are often called random variables.
- Data collection gathers "values" of these variables, also known as observations 35.
3.2 Bias in measurements
Bias is a systematic error that leads to an incorrect estimate or association. It is not a random occurrence.
Studies can be affected by several types of bias.
3.2.1 Types of bias
Bias can be categorized as follows:
| Type of Bias | Description |
|---|---|
| Selection Bias | Sample is not representative of the target population due to the selection method. |
| Measurement Bias | Systematic overestimation or underestimation of a variable's true value during measurement. |
| Response Bias | Respondents provide answers that do not reflect their true thoughts or behaviors. |
| Confounding Bias | The effect of one variable on an outcome is mixed with the effect of another variable. |
📝 Example: To estimate the proportion of 18-25 year olds with private health insurance, surveying only at a private hospital would introduce selection bias. This is because people at private hospitals are more likely to have insurance than the general population. 41 42.
3.3 Sample size and variability
A sample must be large enough for accurate representation of the target population. Sample accuracy depends on two main factors:
- Sample size (n).
- Variability (spread) of the measurements 44.
3.4 Types of variables
Understanding variable types is crucial for analysis and visualization. The type of variable dictates the summary statistics, visualization methods, and statistical tests that can be used.
3.4.1 Numerical variables
Numerical variables can take any integer or non-integer value. Mathematical operations like addition and subtraction are meaningful for these variables 46.
3.4.2 Categorical variables
Categorical variables classify observations into distinct groups. These groups can have a natural order (ordinal) or no inherent order (nominal) 47.
🔑 Important: Choosing the correct variable type ensures appropriate statistical analysis and visualization, preventing misleading conclusions 48.
🔑 Important: Bias is a systematic error in studies that distorts results, unlike random error 39.
© 2026 Maeve. All rights reserved. This content is protected by copyright.