












































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













































Data has become one of the most important resources of the digital age. Every day, people, organizations, devices, and online services generate information in many forms. The ability to understand this information is increasingly important in education, business, science, healthcare, government, and everyday decision-making. Data Science and Big Data introduces these ideas in a clear and student-friendly way.
This book explains how data is collected, cleaned, stored, explored, modeled, visualized, and communicated. It introduces big-data concepts such as volume, velocity, variety, veracity, and value, together with databases, distributed computing, machine learning, cloud platforms, data governance, privacy, and ethics. The aim is not to turn every reader into a specialist, but to provide a strong foundation for further study and practical projects.
Each chapter contains Learning Outcomes, a detailed discussion, a practical case study, a student activity, a chapter summary, review questions, and suggested references. The final sections provide a glossary, additional discussion activities, further reading, and a concluding note. Students are encouraged to question data quality, communicate uncertainty, and consider the human consequences of analytical decisions.
Data science combines statistics, computing, domain knowledge, and communication to turn data into useful evidence. Big data refers to datasets whose size, speed, diversity, or complexity creates challenges for traditional tools. Together, these fields help organizations move from raw records toward questions, patterns, predictions, and decisions. A data scientist may work with databases, spreadsheets, sensors, text, images, transactions, or web activity. The important point is that data science is not simply progr
A data science project normally follows a lifecycle rather than a single step. A typical process includes problem definition, data collection, preparation, exploration, modeling, evaluation, communication, deployment, and monitoring. These stages may be repeated when new information changes the problem or when a model does not perform as expected. Careful problem definition is especially important because a technically accurate model can still be useless if it answers the wrong question. Documentation throughout th
Data can be structured, semi-structured, or unstructured. Structured data fits organized tables, while semi-structured data may use formats such as JSON or XML. Unstructured data includes documents, images, audio, and video. Data may come from surveys, databases, sensors, applications, websites, experiments, public records, or business transactions. The source influences quality, cost, bias, and appropriate use. Before analysis, students should ask where the data came from, who created it, how it was collected, and
Good analysis depends on good collection. Data may be collected through observation, surveys, experiments, sensors, application logs, or existing datasets. Sampling is used when studying an entire population is impractical. Random sampling can reduce selection problems, while convenience sampling is easier but may produce a less representative group. Questions, measurement procedures, timing, and missing responses can all influence results. Ethical collection also requires attention to consent, privacy, purpose lim
Raw data commonly contains missing values, duplicate records, inconsistent spellings, impossible measurements, and different units. Data cleaning makes datasets more consistent before analysis. Typical tasks include removing or resolving duplicates, handling missing values, correcting formats, checking ranges, standardizing categories, and documenting transformations. Cleaning should not silently change meaningful information. Analysts should preserve the original data where possible and maintain a clear record of
Exploratory data analysis, or EDA, is used to understand a dataset before formal modeling. Analysts calculate summaries, inspect distributions, compare groups, look for unusual observations, and visualize relationships. Measures such as mean, median, range, variance, and percentiles can reveal different aspects of a dataset. EDA is also a way to find errors: an unexpected spike may indicate a real event, a collection problem, or a coding mistake. Exploration should generate questions rather than encourage unsupport
Statistics provides a foundation for describing uncertainty and variation. Descriptive statistics summarize observed data, while inferential statistics help reason about a wider population using samples. Concepts such as probability, distributions, correlation, confidence intervals, and hypothesis testing are useful when interpreting evidence. A strong analyst understands that correlation does not automatically establish causation. Statistical results also depend on assumptions, sample design, measurement quality,
Visualization turns numerical information into patterns that people can inspect quickly. Bar charts are useful for comparing categories, line charts for changes over time, histograms for distributions, and scatter plots for relationships between numerical variables. Effective visualization uses clear labels, appropriate scales, readable annotations, and a design that does not exaggerate differences. The goal is not decoration; it is accurate communication. A good chart should help the reader answer a specific quest
Databases organize information so that it can be stored, retrieved, updated, and managed efficiently. Relational databases use tables and relationships, while NoSQL systems support several alternative data models and are often used for flexible or large-scale workloads. Data warehouses are designed for analytical queries, whereas operational databases support day-to-day transactions. Modern data platforms may also use object storage, distributed file systems, and cloud services. Choosing storage depends on structur
Big data is often described through several characteristics known as the Vs. Volume concerns the amount of data, velocity concerns how quickly data is produced and processed, variety concerns different formats and sources, veracity concerns quality and uncertainty, and value concerns the usefulness gained from analysis. Additional Vs such as variability and visualization are sometimes used. The framework helps explain why a dataset may require specialized architecture even when the basic analytical question seems f
A data warehouse stores integrated, structured data prepared for analytical use. A data lake can store large quantities of raw or lightly processed information in many formats. Warehouses often support business intelligence and consistent reporting, while lakes can provide flexibility for data science and machine learning. Modern architectures may combine these approaches. The key lesson is that storage design should follow business and analytical needs. Without cataloging, governance, and quality controls, a large
Large datasets may exceed the capacity of one machine. Distributed computing divides storage or computation across multiple machines connected by a network. Tasks can be processed in parallel, and systems may replicate data to improve resilience. Distributed design introduces new concerns such as communication cost, coordination, failures, consistency, and workload balancing. Frameworks used in big-data environments allow developers to process large collections without manually controlling every machine, but unders
Hadoop became influential in the development of open-source big-data processing. Its ecosystem introduced distributed storage and processing concepts, while MapReduce provided a programming model in which a large computation can be divided into mapping and reducing stages. Although newer cloud and analytics platforms are widely used today, MapReduce remains educationally valuable because it demonstrates how large datasets can be processed in parallel. Students should understand the concept rather than memorize impl
Apache Spark is a distributed computing framework designed for fast data processing and analytics. It supports batch workloads, streaming, SQL queries, machine learning, and graph processing through a unified ecosystem. Spark can keep intermediate data in memory when useful, reducing repeated disk operations for some workloads. In practice, performance depends on data size, partitioning, cluster resources, code design, and workload type. Spark is one example of a broader movement toward flexible distributed analyti
Machine learning uses algorithms that learn patterns from data for tasks such as classification, regression, clustering, and recommendation. Big data can provide many examples for training, but more data does not automatically mean better models. Quality, representativeness, labels, feature design, and evaluation remain important. Large-scale machine learning also requires computational resources and careful data pipelines. Analysts should define the prediction target clearly and compare model performance with a si
Data engineering focuses on building reliable systems that move data from sources to destinations where it can be analyzed. A pipeline may extract data, transform it, validate it, and load it into storage. Modern pipelines can be batch-based, streaming, or hybrid. Engineers monitor failures, data freshness, schema changes, and performance. Good pipelines make analysis repeatable and reduce the need for analysts to manually prepare the same information every day.
Streaming data arrives continuously rather than as a single completed dataset. Examples include sensor readings, financial transactions, website events, and vehicle locations. Real-time systems may detect conditions and respond within seconds or minutes. Stream processing requires attention to ordering, late events, duplicates, failures, and storage. Not every problem needs real-time processing; batch processing can be simpler and cheaper when immediate action is unnecessary.
Data quality includes accuracy, completeness, consistency, timeliness, validity, and uniqueness. Bias can enter through collection methods, missing groups, historical practices, labeling decisions, or system design. Missing values should not automatically be replaced with a single number without considering why they are missing. Analysts should document assumptions and examine whether cleaning or sampling decisions affect different groups differently. A technically sophisticated model cannot compensate for a fundam
Data science often involves information about people, organizations, or sensitive activities. Privacy means using personal information appropriately and protecting individuals from unnecessary exposure. Security includes controls such as authentication, authorization, encryption, monitoring, backups, and secure development practices. Analysts should collect only what is needed, restrict access, protect stored data, and consider whether results could reveal private information. De-identification reduces some risks b
Ethical data science considers fairness, privacy, transparency, accountability, safety, and the effects of decisions on people. Ethical practice begins before modeling and continues after deployment. Analysts should question whether a project should be built, not only whether it can be built. Documentation, stakeholder involvement, human oversight, and clear communication can reduce harm. When results are uncertain, uncertainty should be reported rather than hidden behind impressive technical language.
Data science includes many roles, such as data analyst, data engineer, machine-learning engineer, statistician, business intelligence specialist, research scientist, and analytics consultant. Job titles vary between organizations. Core skills include statistics, programming, data management, visualization, communication, problem definition, and ethical reasoning. Students can build experience through small projects using public or self-created datasets, documenting their questions, methods, findings, and limitation
Data science is evolving with advances in artificial intelligence, automation, edge computing, privacy-enhancing technologies, synthetic data, and increasingly integrated analytics platforms. Future systems may process more data closer to where it is generated and may combine structured and unstructured information. At the same time, governance, human oversight, and critical thinking will remain important. Students should prepare for continuous learning because tools and methods change rapidly. The enduring skill i
Data science combines statistics, computing, domain knowledge, and communication to turn data into useful evidence. Big data refers to datasets whose size, speed, diversity, or complexity creates challenges for traditional tools. Together, these fields help organizations move from raw records toward questions, patterns, predictions, and decisions. A data scientist may work with databases, spreadsheets, sensors, text, images, transactions, or web activity. The important point is that data science is not simply programming: it begins with a meaningful question and ends with an understandable result.
In practical data work, understanding data science and big data should be approached as part of a wider process. Students should begin by defining the purpose of the analysis and identifying the people who will use the result. They should then examine the available evidence, record important assumptions, and check whether the data is appropriate for the question. When tools or models are used, results should be tested against reasonable alternatives and interpreted in context. A responsible workflow also considers reproducibility, documentation, privacy, and the possibility that an apparently useful pattern may disappear when the data or conditions change.
A university department wants to understand why students struggle in a particular course. A small team combines attendance, assessment results, survey responses, and learning-platform activity. Instead of assuming one cause, they clean the data, examine patterns, discuss findings with teachers, and identify several factors that deserve attention.
The case illustrates a general principle: technical analysis is strongest when it is connected to a clearly defined problem, checked against evidence, and communicated with appropriate limits. The result should support informed human decisions rather than being treated as an unquestionable answer.
Write three questions from student life that could be investigated with data. For each question, identify what data might be useful and one limitation of that data.
Extension: present your work to a partner or small group and ask them to identify one assumption you made and one additional piece of data that could improve the investigation.
This chapter introduced understanding data science and big data and connected the concept to practical data work. The key lesson is that useful analytics requires appropriate data, suitable methods, clear communication, and awareness of limitations. Students should combine technical skills with critical thinking and responsible judgment when applying the ideas in real situations.
A data science project normally follows a lifecycle rather than a single step. A typical process includes problem definition, data collection, preparation, exploration, modeling, evaluation, communication, deployment, and monitoring. These stages may be repeated when new information changes the problem or when a model does not perform as expected. Careful problem definition is especially important because a technically accurate model can still be useless if it answers the wrong question. Documentation throughout the lifecycle also makes results easier to reproduce and review.
In practical data work, the data science lifecycle should be approached as part of a wider process. Students should begin by defining the purpose of the analysis and identifying the people who will use the result. They should then examine the available evidence, record important assumptions, and check whether the data is appropriate for the question. When tools or models are used, results should be tested against reasonable alternatives and interpreted in context. A responsible workflow also considers reproducibility, documentation, privacy, and the possibility that an apparently useful pattern may disappear when the data or conditions change.
A retail company begins with a question about product returns. Analysts first define the target clearly, collect historical records, clean missing values, explore return patterns, build a model, evaluate it, and then monitor performance after deployment. The project succeeds because business understanding remains part of every technical stage.
The case illustrates a general principle: technical analysis is strongest when it is connected to a clearly defined problem, checked against evidence, and communicated with appropriate limits. The result should support informed human decisions rather than being treated as an unquestionable answer.
Draw a simple lifecycle diagram using the stages in this chapter. Add one sentence describing the purpose of each stage.
Extension: present your work to a partner or small group and ask them to identify one assumption you made and one additional piece of data that could improve the investigation.
This chapter introduced the data science lifecycle and connected the concept to practical data work. The key lesson is that useful analytics requires appropriate data, suitable methods, clear communication, and awareness of limitations. Students should combine technical skills with critical thinking and responsible judgment when applying the ideas in real situations.
Good analysis depends on good collection. Data may be collected through observation, surveys, experiments, sensors, application logs, or existing datasets. Sampling is used when studying an entire population is impractical. Random sampling can reduce selection problems, while convenience sampling is easier but may produce a less representative group. Questions, measurement procedures, timing, and missing responses can all influence results. Ethical collection also requires attention to consent, privacy, purpose limitation, and responsible storage.
In practical data work, data collection and sampling should be approached as part of a wider process. Students should begin by defining the purpose of the analysis and identifying the people who will use the result. They should then examine the available evidence, record important assumptions, and check whether the data is appropriate for the question. When tools or models are used, results should be tested against reasonable alternatives and interpreted in context. A responsible workflow also considers reproducibility, documentation, privacy, and the possibility that an apparently useful pattern may disappear when the data or conditions change.
A student survey asks only classmates who are present in one morning lecture about study habits. The results may not represent evening students, absent students, or students from other programs. The research team revises the sampling plan before reporting its findings.
The case illustrates a general principle: technical analysis is strongest when it is connected to a clearly defined problem, checked against evidence, and communicated with appropriate limits. The result should support informed human decisions rather than being treated as an unquestionable answer.
Design a short five-question survey about study habits. State your target population and describe how you would sample participants.
Extension: present your work to a partner or small group and ask them to identify one assumption you made and one additional piece of data that could improve the investigation.
This chapter introduced data collection and sampling and connected the concept to practical data work. The key lesson is that useful analytics requires appropriate data, suitable methods, clear communication, and awareness of limitations. Students should combine technical skills with critical thinking and responsible judgment when applying the ideas in real situations.
Raw data commonly contains missing values, duplicate records, inconsistent spellings, impossible measurements, and different units. Data cleaning makes datasets more consistent before analysis. Typical tasks include removing or resolving duplicates, handling missing values, correcting formats, checking ranges, standardizing categories, and documenting transformations. Cleaning should not silently change meaningful information. Analysts should preserve the original data where possible and maintain a clear record of what was changed and why.
In practical data work, data cleaning and preparation should be approached as part of a wider process. Students should begin by defining the purpose of the analysis and identifying the people who will use the result. They should then examine the available evidence, record important assumptions, and check whether the data is appropriate for the question. When tools or models are used, results should be tested against reasonable alternatives and interpreted in context. A responsible workflow also considers reproducibility, documentation, privacy, and the possibility that an apparently useful pattern may disappear when the data or conditions change.
A health dataset records height in both centimeters and meters because two systems were used during collection. An analyst identifies the unit mismatch through range checks, converts values consistently, and validates the corrected distribution before continuing.
The case illustrates a general principle: technical analysis is strongest when it is connected to a clearly defined problem, checked against evidence, and communicated with appropriate limits. The result should support informed human decisions rather than being treated as an unquestionable answer.
Create a checklist of at least eight data-quality checks. Explain why each check matters.
Extension: present your work to a partner or small group and ask them to identify one assumption you made and one additional piece of data that could improve the investigation.
This chapter introduced data cleaning and preparation and connected the concept to practical data work. The key lesson is that useful analytics requires appropriate data, suitable methods, clear communication, and awareness of limitations. Students should combine technical skills with critical thinking and responsible judgment when applying the ideas in real situations.
Exploratory data analysis, or EDA, is used to understand a dataset before formal modeling. Analysts calculate summaries, inspect distributions, compare groups, look for unusual observations, and visualize relationships. Measures such as mean, median, range, variance, and percentiles can reveal different aspects of a dataset. EDA is also a way to find errors: an unexpected spike may indicate a real event, a collection problem, or a coding mistake. Exploration should generate questions rather than encourage unsupported conclusions.
In practical data work, exploratory data analysis should be approached as part of a wider process. Students should begin by defining the purpose of the analysis and identifying the people who will use the result. They should then examine the available evidence, record important assumptions, and check whether the data is appropriate for the question. When tools or models are used, results should be tested against reasonable alternatives and interpreted in context. A responsible workflow also considers reproducibility, documentation, privacy, and the possibility that an apparently useful pattern may disappear when the data or conditions change.
An online store notices that average delivery time increased. A histogram shows that most deliveries remain stable, but a small group of remote orders has become much slower. The team investigates location and logistics rather than treating the overall average as the whole story.
The case illustrates a general principle: technical analysis is strongest when it is connected to a clearly defined problem, checked against evidence, and communicated with appropriate limits. The result should support informed human decisions rather than being treated as an unquestionable answer.
Take a small dataset from a class exercise and identify three patterns you would investigate before building a model.
Extension: present your work to a partner or small group and ask them to identify one assumption you made and one additional piece of data that could improve the investigation.
This chapter introduced exploratory data analysis and connected the concept to practical data work. The key lesson is that useful analytics requires appropriate data, suitable methods, clear communication, and awareness of limitations. Students should combine technical skills with critical thinking and responsible judgment when applying the ideas in real situations.
Visualization turns numerical information into patterns that people can inspect quickly. Bar charts are useful for comparing categories, line charts for changes over time, histograms for distributions, and scatter plots for relationships between numerical variables. Effective visualization uses clear labels, appropriate scales, readable annotations, and a design that does not exaggerate differences. The goal is not decoration; it is accurate communication. A good chart should help the reader answer a specific question without requiring unnecessary interpretation.
In practical data work, data visualization should be approached as part of a wider process. Students should begin by defining the purpose of the analysis and identifying the people who will use the result. They should then examine the available evidence, record important assumptions, and check whether the data is appropriate for the question. When tools or models are used, results should be tested against reasonable alternatives and interpreted in context. A responsible workflow also considers reproducibility, documentation, privacy, and the possibility that an apparently useful pattern may disappear when the data or conditions change.
A public-health team needs to show monthly vaccination counts. A simple line chart reveals the trend more clearly than a three-dimensional graphic. The team also adds a note explaining a data-collection interruption so viewers do not mistake it for a real decline.
The case illustrates a general principle: technical analysis is strongest when it is connected to a clearly defined problem, checked against evidence, and communicated with appropriate limits. The result should support informed human decisions rather than being treated as an unquestionable answer.
Choose one chart type for three different questions. Explain why the selected chart is appropriate in each case.
Extension: present your work to a partner or small group and ask them to identify one assumption you made and one additional piece of data that could improve the investigation.
This chapter introduced data visualization and connected the concept to practical data work. The key lesson is that useful analytics requires appropriate data, suitable methods, clear communication, and awareness of limitations. Students should combine technical skills with critical thinking and responsible judgment when applying the ideas in real situations.