Introduction to Statistics

by David Spade, PhD

My Notes
  • Required.
Save Cancel
    Learning Material 2
    • PDF
      Foliensatz 01 Statistic Spade.pdf
    • PDF
      Download Lecture Overview
    Report mistake

    00:00 Hello. I’m David Spade.

    00:02 Now, I would like to welcome you to Statistics 1: Linear Regression and Probability.

    00:06 We’re going to begin this course with an introduction to statistics basically just definitions of terms that are commonly used in statistics.

    00:14 First of all, what is Statistics? Well, statistics is simply stated the science of collecting data and analyzing variation of that data.

    00:22 When we talk about data, what we mean is information pertaining to a group of individuals.

    00:27 Individuals can be human, plants, inanimate objects, websites, all kinds of different things.

    00:33 We have several different types of data.

    00:36 Data can be numerical which means they have a numerical quantity as their measure.

    00:42 Data can be categorical which means that the measurement on the individual represents what category that individual falls into.

    00:50 Regardless of the type of data, it needs to be presented in some sort of context.

    00:56 In statistics, we’re typically interested in entering 5 questions, the 5 Ws: Who, What, When, Where, and Why.

    01:04 We’re gonna focus on the who and what.

    01:06 The who are the individuals on whom the data are collected.

    01:10 Individuals who respond to a survey are called respondents, people on whom experiments are conducted are known as subjects, and animals, plants, websites, and inanimate objects, any other thing, on which data are collected are known as experimental units.

    01:29 These are all whos. These all answer the question of who? The what simply refers to what is it that we’re measuring.

    01:38 The what corresponds to the characteristics that we record about each individual.

    01:44 These characteristics that we record are known as variables.

    01:48 Often, the individuals and the corresponding variables are a sample from a larger population.

    01:53 We are most concerned with finding answers to the who and what questions, so that’s what we’re gonna focus on.

    02:00 Let’s look at Populations and Samples.

    02:02 We mentioned them briefly during the what section.

    02:04 A group of individuals about which we wanna make a general statement is known as a population.

    02:09 In order to do that, it is typically impractical to look at the whole population, so we take a small group.

    02:15 A group of individuals that are selected from a population is known as a sample.

    02:20 The sample is then used to make generalizations about the population.

    02:25 For example, suppose we collect a sample of a hundred students from a particular university and we find their grade point average and we look up the high school they attended with, in an effort to determine how the high school that they attended affects their performance in college.

    02:40 The questions we wanna answer are: What are the who and the what of the study? What are the population and sample here? The who. The who are the individuals that we sample, the individuals on whom we are collecting information.

    02:53 In this study, the 100 students are the individuals on which the data were collected.

    02:59 The data are the GPA and the high school.

    03:02 The what. We’ve briefly mentioned that already.

    03:06 We’ve mentioned the GPA and the high school the student attended, these are the what.

    03:11 What’s the population? Well, who are we trying to make general statements about? The students at this university. That’s our population, all the students at this university.

    03:21 The sample. The sample is the hundred students that we chose.

    03:26 We have several different types of variables.

    03:29 One is an identifier variable and this is a variable for which each individual receives a unique value.

    03:35 They can be useful but not so much for analysis. Examples include student IDs and social security numbers.

    03:42 Categorical variables are variables that tell a group or category to which an individual belongs.

    03:49 Gender, political party, and age group are all categorical variables.

    03:56 A quantitative variable is a variable that contains numerical values with measurement units or which have a meaningful numerical value.

    04:06 Speed, age, and weight are examples of quantitative variables.

    04:11 All right, so back to the GPA and high school example.

    04:14 Suppose that for a group of high school students, we measure their GPAs as well as the high school that they’re attending.

    04:19 What are the variables in this study and which type of variable is each one? Well, the variables, high school and GPA. Those are the things that we’re measuring.

    04:29 Grade point average, this is a quantitative variable because the value of the GPA has a meaningful numerical quantity.

    04:36 The high school is a categorical variable.

    04:40 It classifies the student based on which high school they attended.

    04:44 This is a categorical variable because it’s putting students into categories.

    04:49 Now, how do we summarize categorical data? Well, let’s look at how we do it graphically and tabularly.

    04:56 We can do it by way of a frequency table which is simply a listing of each category and how many times it occurs on the sample.

    05:03 The bar chart shows counts for each category next to each other and the count is represented by the height of the bar.

    05:09 The bar chart can also be used to represent the relative frequency of each category.

    05:15 The relative frequency is the percentage of the time that the category occurs in the sample.

    05:21 Again, the relative frequency, the percentage of the time the category occurs in the sample.

    05:27 We can also use a pie chart which shows the relative frequency of each category as a proportional slice of a circle.

    05:34 Before using any of these displays, we need to be careful and make sure that the variable that we're representing is, in fact, categorical.

    05:42 If it’s not then these displays are meaningless.

    05:45 Let’s talk about some of these displays. Let’s look at our university example.

    05:51 We have 14 from high school A, 16 from high school B, 20 from high school C, 20 from high school D, 13 from high school E, and 17 from high school F.

    06:03 What we’re gonna do is we're gonna make a frequency table, a bar chart, a relative frequency bar chart, a frequency bar chart, and a pie chart to describe the distribution of the high schools among our sample.

    06:14 Here’s the frequency table. Across the top you see all the categories High School A, B, C, D, E, and F.

    06:21 We have the frequencies 14, 16, 20, 20, 13, and 17 and the corresponding relative frequencies 0.14, 0.16, 0.2, 0.2, 0.13, and 0.17.

    06:32 What we see is we basically made a frequency table and a relative frequency table at the same time.

    06:39 Now, what about the bar chart? Here’s the frequency bar chart with high school 1, 2, 3, 4, 5, and 6 as the labels.

    06:50 One corresponding to A, two corresponding to B, six corresponding to F.

    06:55 Note that the height of each bar corresponds to the number of times that each high school appears on the sample.

    07:01 The height of the first bar goes up to 14 because that’s how many students came from high school A.

    07:06 The height of the second bar goes up to 16 because that’s how many students came from High School B, and so on.

    07:12 We can also look at the relative frequency bar chart which looks exactly the same as the frequency bar chart except for, if you look at the y-axis, now the relative frequencies are going down the side as opposed to the actual frequencies.

    07:26 Here’s the pie chart of the high schools in our sample and what we see is that each high school corresponds to a different color and the size of the slice corresponding to each high school is representative of the relative frequency of that high school in our sample.

    07:43 Those are some examples of how we can summarize categorical data graphically.

    07:49 There are some things that can make a chart bad.

    07:52 The biggest problem we have in categorical data displays is violation of what’s known as the area principle and what the area principle says is that the area occupied by a part of the graph should correspond to the magnitude of the value it represents. Let’s look at some examples of bad graphs.

    08:09 If we have bar charts with mismatched bar widths, then this is bad because of it violates the area principle.

    08:17 Say high school A and high school B in our example had the same number in them.

    08:20 Say each had 14 students. If the bar for high school A is wider than the bar for high school B, it’s going to appear that the high school A makes up more in the sample than high school B because the areas of the bars aren’t the same.

    08:36 We don’t want that. We want all of our bars to have the same width.

    08:39 Three-dimensional pie charts are inherently bad because when you make a pie chart, you usually divide things up by the area of the circle but once you get into three dimensions, you have to worry about volume and people don’t typically account for the volume.

    08:54 Don’t use three-dimensional pie charts as a way to represent categorical data.

    08:58 Picture graphs, these are often the worst offenders of the area principle because the size of the picture, the area of the picture is not often representative of the relative frequency of the category’s appearance in the sample.

    09:12 You want to stay away from those as well.

    09:14 We have these variables that are kinda hybrids of quantitative and categorical variables.

    09:20 One really common example is Lichert Scale Data.

    09:23 As an example, the question might be how often do you exercise and the possible response is might be 1 for never, 2 for seldom, 3 for sometimes, 4 for often, and 5 for everyday.

    09:35 The responses do constitute categories but the numbers have a particular order to them.

    09:41 It turns out that the order of the numbers does correspond to the order of the amount of exercise.

    09:47 They do have a numerical meaning.

    09:49 These responses, while categorical, do also have some properties of quantitative variables and it’s important to be aware of these types of things when we look at what type of data we’re analyzing.

    09:58 All right, so in summarizing data, there are several mistakes that we can make and I’m gonna give you a few of the common ones right here.

    10:06 We need to think about what question we wanna answer when we decide whether to label a variable as a categorical and quantitative variable.

    10:13 We need to always be skeptical. We wanna be careful to think about how the data were collected.

    10:20 As we move on in the course, we’ll learn more about what makes a good sample and what makes a bad sample.

    10:27 Investigators will sometimes contrive data in such a way that it produces a desirable result.

    10:32 While unethical, it sometimes happens and we need to be careful and look out for that.

    10:37 We need to be careful to recognize that, even though a variable’s values might be numbers, that doesn’t necessarily mean it’s a quantitative variable because it doesn’t mean that the numbers have any real meaning to them.

    10:48 They might just be codings.

    10:50 Categorical variables are often coded with numbers but they don’t necessarily have a meaning.

    10:54 For example, let’s say we code males as 1, females as 2.

    10:59 These categories would mean the same thing if they were coded 1 for female and 2 for male, so gender is a categorical variable.

    11:07 We’ve listed the things that can go wrong.

    11:09 These are the things we need to avoid when we’re summarizing categorical data.

    11:12 We’ve talked about some basic terms in statistics, things that are commonly talked about.

    11:18 We’ve talked about how to display and summarize categorical data.

    11:23 This is the end of Lecture 1 and we’ll see you back here for Lecture 2.

    About the Lecture

    The lecture Introduction to Statistics by David Spade, PhD is from the course Statistics Part 1. It contains the following chapters:

    • Introduction to Statistics
    • Types of Variables
    • Displaying Categorical Data
    • Bad Charts

    Included Quiz Questions

    1. Statistics is the science of collecting data and analyzing variation.
    2. Statistics is the science of displaying and summarizing data.
    3. Statistics is the science of making predictions about future phenomena.
    4. Statistics is the science of gathering information.
    1. The “Who” refers to the group on which measurements are being collected.
    2. The “Who” refers to who is collecting the data.
    3. The “Who” refers to the audience to whom the results of the study will be presented.
    4. The “Who” refers to the individual(s) that proposed the study.
    1. The height of the tree is quantitative because the value we are measuring is the actual height, which has a meaningful numerical interpretation.
    2. The height is a categorical variable because the height of a tree can be put into categories.
    3. The height of a tree is quantitative because its height cannot be put into categories.
    4. The height of the tree is categorical because the measurement of the height has no meaningful numerical interpretation.
    1. Bar charts, frequency tables and pie charts are all appropriate ways to summarize categorical data.
    2. A bar chart is an appropriate way to summarize categorical data.
    3. A frequency table is an appropriate way to summarize categorical data.
    4. A pie chart is an appropriate way to summarize categorical data.
    1. The religious affiliation of a person is a categorical variable.
    2. The age of a person is a categorical variable.
    3. The IQ of a person is a categorical variable.
    4. The weight of a person is a categorical variable.

    Author of lecture Introduction to Statistics

     David Spade, PhD

    David Spade, PhD

    Customer reviews

    5,0 of 5 stars
    5 Stars
    4 Stars
    3 Stars
    2 Stars
    1  Star
    Very knowledgeable. Very informative
    By Kirti P. on 16. August 2018 for Introduction to Statistics

    It's good and very informative. The introduction of the statistics.. was to the point and appropriate.

    This lecture is the best.
    By Arah G. on 06. June 2018 for Introduction to Statistics

    This lecture is the best. I didn't struggle understanding the lesson.

    Great Lecturer
    By Curtis u. on 14. January 2018 for Introduction to Statistics

    Clear and concise presentation. Questions follow the material as presented.

    Excellently explained
    By Denvon B. on 28. April 2017 for Introduction to Statistics

    The lecture was informative, straight to the point and clear.