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
15 Reasons Why The Rich Are Getting Richer
In the past few years, the wealth gap debate has risen to be one of the hottest issues the world is facing, with many throwing out options relating to higher taxation or mass redistribution of wealth. In this piece, we’ll take a look at how the rich are g…
Why Millennials Should NOT Invest
What’s up, you guys? It’s Graham here. So, as many of you know, I spend a lot of time on the internet. Like, half my day is spent browsing Reddit, reading up on investments, watching YouTube videos, and reacting to bad spending habits. I do all of this be…
Khan Academy Best Practices for Middle School
Hey everyone, this is Jeremy Shifling with Khan Academy. Thanks so much for joining us this afternoon. Um, you’re in for a very special treat today because we have Khan Academy ambassador and all-star middle teacher Shalom with us today, um, who’s been us…
Breaking down forces for free body diagrams | AP Physics 1 | Khan Academy
Let’s say we have some type of hard flat frictionless surface right over here. That’s my drawing of a hard flat frictionless surface. On that, I have a block, and that block is not accelerating in any direction; it is just sitting there. Let’s say we kno…
I Spent $100,000 On A Stock Picking Monkey
What’s up you guys? It’s Graham here. So if you thought this year cannot get any more unpredictable, it just did because I have a hundred thousand dollars on the line for the sole purpose of testing an odd yet unique experiment to see whether or not a mon…
Will Mars Be a World Without Laws? | MARS
Law works because it’s effectively backed up by a state, and that kind of breaks down in space a little bit. The whole legality of who owns what is going to fill volumes. There are international treaties that relate to space. The UN Outer Space Treaty 196…