yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Identifying individuals, variables and categorical variables in a data set | Khan Academy


2m read
·Nov 11, 2024

We're told that millions of Americans rely on caffeine to get them up in the morning, which is true. Although, if I drink caffeine in the morning, I'm very sensitive; I wouldn't be able to sleep at night.

Here's nutritional data on some popular drinks at Ben's Beans Coffee Shop. All right, so here we have the different names of the drinks, and then here we have the type of the drink, and it looks like they're either hot or cold. Here we have the calories for each of those drinks, here we have the sugar content in grams for each of those drinks, and here we have the caffeine in milligrams for each of those drinks.

Then we are asked, "The individuals in this data set are," and we have three choices: Ben's Beans customers, Ben's Beans drinks, or the caffeine contents. Now, we have to be careful; when someone says the individuals in a data set, they don't necessarily mean that they have to be people; they could be things. The individuals in this data set—each of these rows—are referring to a certain type of drink at Ben's Beans Coffee Shops.

So, the different types of drinks that Ben's Beans offers, those are the individuals in this data set. So, they're Ben's Beans drinks. Next, they ask us the data set contains, and they say how many variables and how many of those variables are categorical.

So, if we look up here, let's look at the variables. So, this first column—that's essentially giving us the type of drink—this wouldn't be a variable; this would be more of an identifier. But all of these other columns are representing variables.

So, for example, type is a variable; it can either be hot or cold. Because it can only take on one of kind of a number of buckets, it's either going to be hot or cold; it's going to fit in one category or another. And you don't just have two categories; you could have more than two categories, but it isn't just some type of variable number that can take on a bunch of different values.

So, this right over here is a categorical variable. Calories is not a categorical variable; you could have something with 4.1 calories; you could have something with 178. Things aren't fitting into nice buckets.

Same thing for sugars and for the caffeine; those are quantitative variables that don't just fit into a category. And so, here I would say that we have four variables: one, two, three, four, one of which is categorical. So, that would be choice A over here.

More Articles

View All
Why Black Holes Could Delete The Universe – The Information Paradox
Black holes are the most powerful things in the universe, strong enough to rip whole stars into atom-sized pieces. Well, this is scary enough. They have an even more powerful and dark property: they might delete the universe itself. Black holes in a nuts…
Overview of ancient Greece | World History | Khan Academy
I am now going to give an overview of ancient Greece. In future videos, we’re going to go into a lot more depth on a lot of these events and ideas, but this one is to give you context on the big picture. Just to start, let’s begin with the name Greece. I…
The 10 WORST Investing Mistakes to Make (Investing For Beginners)
One of the trends we’ve seen over the past few years is there’s been a lot of new investors entering the market. In Robin Hood’s most recent quarterly data, they showed that in the past 12 months, they’ve doubled the amount of funded accounts. In their S1…
Safari Live - Day 296 | National Geographic
[Music] This program features live coverage of an African safari and may include animal kills and carcasses. Viewers, good afternoon! Everybody, I’m whisper shouting at you in excitement because for the very first time on Safari Live, there are the new a…
Graphing square and cube root functions | Algebra 2 | Khan academy
We’re told the graph of ( y ) is equal to (\sqrt{x}) is shown below. Fair enough, which of the following is the graph of ( y ) is equal to ( 2\times\sqrt{-x}-1 )? They give us some choices here, and so I encourage you to pause this video and try to figure…
Khan Academy Live! In Khanversation with Barbara Oakley
So Sal here at Khan Academy worldwide headquarters, and I’m excited to be here with Barbara Oakley, who’s an expert on learning and learning how to learn. So Barbara, let me just start with a question that I’m sure many of Khan Academy users or young peop…