By the end of this chapter, you will be able to:
Mastering these skills will help you gather accurate information that drives smart decisions in your trade.
Data collection is fundamental to applied statistics, providing the raw information needed for analysis, interpretation, and decision-making. Developing effective data collection tools is crucial for ensuring accuracy, reliability, and relevance of data, particularly in Kenya’s diverse sectors such as healthcare, education, finance, and agriculture. Understanding data types is a foundational step in designing instruments that capture information appropriately and facilitate proper statistical processing. This chapter focuses on key data types relevant to applied statistics, including integer, boolean, and character types, which form the building blocks for data collection tools.
Data types define the kind of data that can be stored and processed within a statistical system. For applied statistics professionals in Kenya, selecting the correct data type influences data integrity, storage efficiency, and the suitability of statistical methods. The three fundamental data types discussed here, integer, boolean, and character, are essential for constructing questionnaires, databases, and analytical models.
Integers represent whole numbers without fractional components and are extensively used in statistical data collection for counting, indexing, and categorizing quantitative information. In Kenyan contexts such as hospital patient records, school enrollment numbers, or cooperative membership counts, integers allow precise quantification and facilitate arithmetic operations.
Integer data type consists of numbers without decimal parts, including positive, negative, and zero values. They are discrete and can be used for counting occurrences or ranking items. Integers support mathematical operations like addition, subtraction, multiplication, and division, integral to statistical calculations.
In practice, integers are used to record data such as the number of patients admitted to a county hospital, the quantity of produce harvested on a farm, or the count of transactions processed by a SACCO. Integer data types enable efficient storage and straightforward aggregation, which are critical in generating reports and statistical summaries.
While integers are suitable for discrete data, they cannot represent fractional values such as average rainfall or income per household. When precise measurement or continuous data is required, other data types like floating-point numbers are more appropriate. Additionally, integer data must be validated to prevent entry errors such as negative values where only positives make sense (e.g., number of students).
Questionnaires designed for collecting integer data should specify clear instructions to respondents, for example, "Enter the total number of employees in your organization." Electronic data collection tools should enforce numeric input validation to avoid incorrect data entry.
Boolean data types represent binary states, typically true/false or yes/no, and are vital in capturing categorical information that reflects presence, absence, or binary choices. In Kenya’s applied statistics field, boolean variables are used to indicate conditions such as disease presence in patients, eligibility for a social program, or compliance with safety standards.
Boolean data type stores only two possible values and is ideal for dichotomous variables. It simplifies data analysis by encoding conditions that have only two possible outcomes, facilitating logical operations and filtering in datasets.
For instance, in a survey assessing water quality in rural areas, boolean data can record whether water samples meet safety standards (true) or not (false). Similarly, boolean variables may indicate if a household has access to electricity or if a business is registered with the relevant county authority.
Boolean data reduces complexity in responses, making questions easier to answer and analyze. However, it may oversimplify nuanced situations; for example, a yes/no question on disease presence may miss degrees of severity or symptom variations. Careful questionnaire design is necessary to ensure boolean questions capture meaningful distinctions.
Survey forms and electronic data capture systems should represent boolean choices clearly, often as checkboxes or toggles. In digital tools, boolean data allows for efficient storage using minimal memory and enables straightforward conditional logic in data processing.
Character data types store individual text symbols, including letters, digits, and special characters, playing a key role in capturing qualitative information such as names, codes, and categorical labels in datasets. Applied statistics professionals in Kenya rely on character data to manage identifiers and descriptive variables.
A character is a single unit of text, such as a letter or number, stored as a data type for textual information. Characters combine to form strings, which are sequences used to record words, codes, or any alphanumeric data.
Examples include recording patient initials in hospital records, survey respondent codes, or classification labels such as "M" for male or "F" for female in demographic data. Character data is also essential for storing postal codes, product codes, or any categorical data that cannot be numerically quantified.
Data quality depends on standardizing character input to avoid errors such as inconsistent spelling or case sensitivity. For instance, inconsistent use of "Nairobi" versus "nairobI" in datasets can lead to analysis errors. Data entry protocols and validation rules help maintain consistency.
Questionnaires should specify formats for character responses, such as limiting input length or requiring uppercase letters for codes. Electronic data collection systems can enforce character constraints and provide dropdown menus to reduce input errors and standardize responses.
This chapter explored the essential concepts involved in developing data collection tools for research. It began by examining different data types such as integer, boolean, and character, explaining their roles in organizing and categorizing information. The discussion then shifted to various data collection instruments, including questionnaires that feature both open and closed-ended questions, and interview guides that help structure verbal data gathering. Attention was given to audio tools, which facilitate capturing spoken information, and document analysis guides that assist in systematically reviewing existing records. The chapter also introduced modern digital tools like ODK, a mobile-based platform designed to streamline data collection in the field, and Google Forms, which offers an accessible online solution for gathering responses efficiently. Finally, the chapter emphasized the importance of developing a data analysis framework to organize and interpret collected data effectively, ensuring research findings are accurate and meaningful.
Question 1 key points:
Question 2 key points:
The Kenya Medical Research Institute (KEMRI) is conducting a study to evaluate the effectiveness of a new malaria prevention program in Kisumu County. The research team plans to collect data using questionnaires, interviews, and mobile-based tools.
Tasks:
a) Design two closed-ended and two open-ended questionnaire items relevant to this study. (6 marks)
b) Outline the key components you would include in an interview guide for community health workers involved in the program. (6 marks)
c) Propose how ODK can be integrated into the data collection process and discuss one potential limitation. (4 marks)
a) Closed-ended questions:
"How many times have you used the mosquito net in the past week? (0, 1-2, 3-4, 5+)"
Open-ended questions:
"Describe any challenges you have faced in using the mosquito nets."
b) Interview guide components:
c) ODK integration:
Question 11 (Compulsory - 20 marks)
The Kenya National Bureau of Statistics (KNBS) is conducting a nationwide household income survey using mobile data collection tools.
a) Discuss the advantages and challenges of using ODK for this survey, particularly in remote counties. (10 marks)
b) Design a data collection plan incorporating questionnaires and interview guides suitable for capturing both quantitative and qualitative data in this context. (10 marks)
Question 12 (20 marks)
A researcher at Kenyatta University is studying the impact of digital literacy on youth employment. Evaluate the suitability of using Google Forms versus traditional paper questionnaires for data collection, considering factors such as respondent accessibility and data quality.
Question 13 (20 marks)
Explain how document analysis guides can be effectively used to assess the implementation of environmental policies by the National Environment Management Authority (NEMA). Include key components that should be included in the guide.
Question 14 (20 marks)
In a study on customer satisfaction at a major Kenyan hotel chain, describe how the researcher can utilize both open and closed-ended questionnaires and audio recordings to enrich the data collected. Discuss the ethical considerations involved in audio data collection.
Question 11
a) ODK allows for rapid data collection with built-in validation, GPS tagging, and offline functionality, which is crucial in remote areas with poor connectivity. Challenges include the need for trained enumerators, device battery life, and potential technical failures.
b) The plan should include structured closed and open-ended questionnaires for quantitative income data, complemented by interview guides to explore household financial behaviors, ensuring data triangulation and comprehensive insights.
Question 12
Google Forms offers faster data collection, automatic data entry, and easier data management but requires internet access and digital literacy, which may exclude some respondents. Paper questionnaires are more inclusive in low-tech areas but increase risks of data entry errors and delayed processing.
Question 13
Document analysis guides should include criteria for selecting relevant policy documents, frameworks for coding policy objectives, timelines, compliance indicators, and procedures for cross-validating data with field observations, ensuring systematic and objective assessment.
Question 14
Open-ended questionnaires capture detailed customer feedback while closed-ended items facilitate quantitative satisfaction scoring. Audio recordings of interviews provide nuances in customer sentiment. Ethical considerations include obtaining informed consent, ensuring confidentiality, and secure storage of recordings to protect privacy.
At the start of this chapter we promised you would be able to:
Tick each one you can genuinely do.
So, are you there yet?
You're competent when you can confidently do 50% or more of what this chapter promised.
Sign in to record how you're doing.