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 you SHOULDN'T buy a home
What’s up you guys? It’s Graham here. So, I think it’s a safe assumption that buying a home isn’t for everyone. Once you start looking at these statistics, that statement becomes very evident. It was found that 44% of homeowners regret their home purchase…
Crypto Will Go Back Up | Converge 2022
Bitcoin down, Twitter below 20,000. We have a slew of, uh, crypto CEOs that are resigning. Those are the signals right now. It feels pretty bad. Why are you bullish? What are the bullish signs that you’re seeing? [Music] [Applause] [Music] Kevin, you fu…
Daylight Saving Time Explained
Every year some countries move their clocks forward in the spring only to move them back in the autumn. To the vast majority of the world who doesn’t participate in this odd clock fiddling, it seems a baffling thing to do. So what’s the reason behind it? …
Office Hours With Sal: Friday, March 20. Livestream From Homeroom
Is there a lag? Okay, stand by. Here we go. Hello! I think we are up now. So, uh, thanks for joining our, uh, morning live stream here at Khan Academy. We’re calling it something of a homeroom, a national homeroom, or international homeroom, I guess. Yo…
Helicopter Physics Series Intro - #1 Smarter Every Day 45
[music] Hey it’s me Destin. Welcome to Smarter Every Day. So today we’re gonna learn about how helicopters work. In fact, we’re gonna put on our thinking hats, today mine looks like this, and we’re gonna do a whole video series. There’s a lot going on th…
Newton's law of gravitation | Physics | Khan Academy
The mass of the Earth is about 6 * 10 ^ 24 kg. But you know what? I always wondered, how did we figure this out? How on Earth do you figure out the mass of a planet? Well, we did that by using Newton’s universal law of gravity, and in this video, we’re go…