Chapter 1 - Sampling and Data

Section 1.1

Sampling and Data

  • Statistics appear in everyday life, in the news, in sports, in politics, and in personal decisions.

  • Statistics help us evaluate information and make informed, data-based judgements.

  • They are useful for managing finances, choosing careers, and making major purchases, and are essential in fields like business, science, education, and law.


Key Terms

  • Descriptive Statistics

    • Descriptive Statistics are methods we use to summarize, organize, and describe data.

    • Examples: Graphs, charts, and numerical information relating to the data. Similar to what we did for the hours of sleep activity.

  • Inferential Statistics

    • Inferential Statistics are methods we use to take information from a smaller group (a sample) and make conclusions or predictions about a larger group.

      • Examples:

        • A farmer surveys the weight of apples from just one orchard row and uses that information to predict the total harvest for the whole orchard.

        • A local health clinic studies the blood pressure of 50 patients and uses the results to understand the health trends of the entire community.

  • Probability

    • Probability is a mathematical tool used to study randomness. It deals with the chance (the likelihood) of an event occuring.

      • Rolling a die: the probability of rolling a 4 is 1 out of 6.

      • In a deck of cards: the chance of drawing a heart is 13 out of 52, or 1 out of 4.

        • A probability can be expressed as a percent, 45%, or as a number between 0 and 1, 0.45.

  • Population:

    • Population is a collection of persons, things, or objects under study.

  • Sample:

    • Sample is a portion of a population that is under study.

      • Example: All the students at TBCC are a population, and the students in STAT 243 are a sample of that population.

        • Sampling is essential for studying large populations.

  • Statistic:

    • A statistic is a number that represents a property of the sample.

      • Example: The average number of hours of sleep per night for our class (the sample) is a statistic that informs us about the presentation (all TBCC students).

  • Parameter:

    • A parameter is a numerical characteristic of the whole population that can be estimated by a statistic.

  • Representative Sample:

    • A representative sample is a small group chosen from a larger population that reflects the important characteristics of the whole group.

      • It depends on what you want to study to determine if a sample is representative.

        • So, for example, our class is fairly large, so that's good for looking at the representation, but we would generally think of it as our class representative for the sample of hours of sleep.

        • Although, if the class was online, then that would make it somewhat non-representative.

          • There are also questions about this class that is used particularly for certain educational tracks with different educational goals, so maybe the fact you're even in this class means you're not very representative of the broader student population.

  • Variable:

    • A variable is something we measure or observe that can take on different values.

      • In statistics, variables are the pieces of information we collect about people, objects, or events.

      • Usually denoted by X or Y.

    • Example:

      • For a survey, a variable might be favorite social media app, different people give different answers.

      • In sports, a variable could be the number of points scored in a basketball game.

  • Numerical Variable:

    • A numerical variable takes on values with equal units such as weight in pounds and time in hours.

    • Example:

      • Age of students (18, 19, 20...)

      • Number of points scored in a basketball game.

      • Hours spent driving in a week.

  • Categorial Variables:

    • Categorical variables place the person or thing into a category.

    • Example:

      • Favorite type of music (rock, rap, country, pop).

  • EXAMPLE:

    • Determine what the key terms refer to in the following study.

      • A study is to be conducted by a news agency to find the proportion of all truck drivers who have no points on their license. The agency selects 1000 truck drivers randomly from the directory of truck drivers and determines the number of truck drivers in the sample who have no points on their license.

        • 1000 truck drivers are the sample, and truck drivers are the population.

        • The variable is the yes/no answers for this question, making it categorial.

        • The statistic is going to be the number of drivers without points.

        • The parameter is the number of drivers without points as well.


Section 1.2

Data

  • Data may come from a population or from a sample.

  • Use lowercase letters like x, y , or z to represent Data.

  • Typically, two types of Data:

    • Qualitative Data.

    • Quantitative Data.


Qualitative Data

  • Qualitative data result from categorizing or describing the attributes of a population. Qualitative data are also often called catergorical data.

    • Example:

      • Favorite color of each student (blue, red, green, etc.)

      • Type of car someone drives (Sedan, truck, SUV, etc.)

      • College Major (Mathematics, biology, business, etc.)

      • Brand of phone owned (Apple, Samsung, Google, etc.)

      • Yes/No responses to a survey question (e.g. "Do you live on campus?).


Quantitative Data

  • Quantitative data are always numbers.

  • Quantitative data are the result of counting or measuring attributes of a population.

  • Quantitative data may either be discrete or continuous.

    • Example of Quantitative Discrete Data:

      • The number of credits needed to graduate.

      • The number of classes a student is enrolled this term.

      • The number of cars or trucks in a household.

        • Discrete data is when you count the number from the variable.

    • Example of Quantitative Continuous Data:

      • The time (in minutes) it takes a student to drive to campus.

      • The height of students in the class.

      • The amount of gas (in gallons) used to drive from home to school.

        • Continuous data is when you measure the amount a variable is.


Sampling

  • Gathering information about an entire population often costs too much or is virtually impossible.

    • Instead, we use a sample of the population.

      • A sample should have the same characteristics as the population it is representing. To accomplish this, a random sampling method is used.


  • Random Sampling:

    • Regardless of the method, each member of a population initially has an equal chance of being selected for the sample.


  • Simple Random Sampling (SRS):

    • Simple random sampling is a fair way of choosing a group from a larger population.

    • Every person (or item) has the same chance of being picked, and the choices are made completely by chance.

      • Example:

        • Putting everyone's name on a slip of paper, mixing them up in a hat, and drawing some out.

        • Or using a random number generator on your phone to select which students get chosen.


  • Stratified sample:

    • Divide the population into groups called strata, and then take a proportionate number from each stratum (from each group).

      • Example:

        • College survey: A school wants to survey 100 students about cafeteria food, so it randomly selects 50 full-time students and 50 part-time students to match the student body.

        • Farm crops: A researcher studies soil quality on a farm by dividing fields into corn, wheat, and alfalfa sections, then taking random soil samples from each section.


  • Cluster Sampling

    • Instead of randomly choosing individuals from the whole population, cluster sampling randomly selects entire groups (clusters), then surveys everyone in those groups.

      • Example:

        • School reading program: Randomly choose two elementary schools and survey all the students about how many books they read per month.

        • Local events: Pick two community centers at random and ask every participant in that week's event about their satisfaction with activities.


  • Systematic Sample:

    • To choose a systematic sample, randomly select a starting point and take every n ^math[ th ] piece of data from a listing of the population.

      • Example: Library visitors: A librarian wants to survey 50 visitors. She randomly picks a starting visitor and then selects every 10th person who enters the library.

      • Bus riders: A transit planner wants to survey commuters on a bus route. She randomly picks the first rider of the day, then surveys every 5th passenger who boards.


  • Convenience Sampling:

    • Convenience sampling involves using results that are readily available.

      • Example:

        • Campus survey: A student surveys only friends sitting in the cafeteria because they are nearby and easy to ask.

        • Town survey: A researcher stands outside a local grocery store and asks whoever walks by about their shopping habits.

      • Convenience sampling may be very good in some cases and highly biased (favor certain outcomes) in others.


  • Errors:

    • Sampling errors: Sampling error happens when a sample doesn't perfectly reflect the population, just by chance.

      • It is normal even if the sample is selected correctly.

    • Nonsampling error happens for reasons other than random chance, often due to mistakes in data collection, measurement, or response bias.

      • Example:

        • Sampling errors: If you randomly survey 50 students about their favorite lunch, the results might show slightly more students prefer pizza than actually do in the whole school.

          • This difference is due to random chance.

        • Nonsampling error: A survey question is confusing, causing respondents to answer incorrectly.


Evaluation of Statistical Information:

  • Non-representative samples (bias): If a sample doesn't reflect the population, results are inaccurate.

  • Self-selected samples: Only people who choose to respond (e.g. call-in surveys) are often unreliable.

  • Small sample size: Too few responses may be unreliable; larger samples are better.

    • Small samples can still be useful in special cases (e.g. crash tests, rare medical conditions).

  • Undue influence: Asking questions or collecting data in a way that biases responses;

  • Causality vs. correlation: A relationship between variables doesn't mean one causes the other.

  • Self-interest studies: Studies funded to support a claim may be biased; evaluate on merit, not assumption.


Section 1.3

Frequency:

  • Suppose you ask 20 students about their favorite fruit, and you get these reponses:

    • Apple, Banana, Apple, Orange, Apple, Grapes, Orange, Banana, Apple, Grapes, Banana, Apple, Orange, Banana, Apple, Grapes, Orange, Apple, Banana.

      • You would then create a frequency table.

Fruit

Frequency

Apple

6

Banana

7

Orange

5

Grapes

2

Frequency

  • A frequency is the number of times a value of the data occurs.

    • In the example above, 2 students said that grapes were their favorite fruit so the frequency of grapes, (in this data set) is 4.


Relative Frequency

  • A relative frequency is the ratio (fraction or proportion) of the number of times a value of the data occurs in the set of all outcomes to the total number of outcomes.

Fruit

Frequency

Relative Frequency

Apple

6

math[ 6/20 ] or 0.30

Banana

7

math[ 7/20 ] or 0.35

Orange

5

math[ 5/20 ] or 0.25

Grapes

2

math[ 2/20 ] or 0.10

Notice:

math[ 6/20 + 7/20 + 5/20 + 2/20 ] = 1


Cumulative Relative Frequency

  • Cumulative Relative Frequency, CRF, is the accumulation of the previous relative frequencies.

    • To find the cumulative relative frequencies, add all the previous relative frequencies to the relative frequency for the current row.

  • This makes the most sense with Ordinal data (Data that can be ordered)


Fruit

Frequency

Relative Frequency

CRF



Apple

6

math[ 6/20 ] or 0.30

0.30



Banana

7

math[ 7/20 ] or 0.35

0.30 + 0.35 = 0.65



Orange

5

math[ 5/20 ] or 0.25


0.65 + 0.25 = 0.90



Grapes

2

math[ 2/20 ] or 0.10

0.90 + 0.10 = 1



Section 1.4

Experimental Design and Ethics:

  • Good research isn't about collecting data, it's about how we collect it.

  • Experimental design ensures valid and reliable results, while ethic reminds us to participants, use consent, and avoid harm.

  • The purpose of an experiment is to investigate the relationship between two variables.


Explanatory Variable:

  • When one variable causes change in another, we call the first variable the explanatory variable.


Response Variable:

  • The affected variable is called the response variable.


Example

  • Explanatory Variable: Hours studied.

  • Response variable: Exam score


In randomized experiment, the researcher manipulates values of the explanatory variable and measures the resulting changes in the response variable.


Treatments

  • The different values of the explanatory variable are called treatments.


Experimental Unit

  • An experimental unit is a single object or individual to be measured.


Example

  • Research question: How do hours studied impact Exam Scores?

  • Explanatory Variable: Hours Studied

  • Response Variable: Exam Scores

  • Treatments: Change the time different student spend studying.

  • Experimental Unit: Individual students.


Lurking Variables

  • Additional Variables that can cloud a study are called lurking variables.

  • The researcher must design her experiment in such a way that there is only one difference between groups being compared.


Random Assignment:

  • The random assignment of experimental units to treatment groups reduces the impact of Lurking Variables.


  • The power of suggestion can have an important influence on the outcome of an experiment.


Control Group:

  • A group in a study that is not given any treatment, or is given a placebo.


Placebo:

  • A treatment that cannot influence the response variable.

  • The control group helps researchers balance the effects of being in an experiment with the effects of the active treatments.


Blinding

  • Blinding or masking in a randomized experiment preserves the power of suggestion.


Double-blind Experiment

  • A double-blind experiment is one in which both the studies and the researchers involved with the subjects are blinded.


Ways to improve the Study Time and Exam Scores Experiment?

  • Ask the subjects not how the effects of different study times have but to have them study a fixed amount of time above what they would do normally.

    • The control group would just study their normal time.


ETHICS

  • When a statistical study uses human participants, as in medical studies, both ethics and law dictate the researchers should be mindful of the safety of their research subjects.


Institutional Review Boards (IRB):

  • Research institutions establish oversight committees known as Institutional Review Boards (IRB), to ensure safety of all human subjects.


Informed Consent:

  • participants must give informed consent. This means that the risks of participation must be clearly explained to the subjects of the study.

    • Subjects must consent in writing, and researchers are required to keep documentation of their consent.


Data Privacy:

  • Data collected from individuals must be guarded carefully to protect their privacy.


Some Common Ethical Concerns or Problems:

  • Lack of informed consent - collecting data from participants without their knowledge or agreement.

  • Violation of privacy - sharing or publishing personally identifiable data without protection.

  • Misleading graphs or statistics - presenting results in a distorted way to exaggerate findings.

  • Cherry-picking results - only report data that supports a desired conclusion and ignoring the rest.

  • Data Fabrication or falsification - making up data or altering results to fit expectations.