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
Journey into the Deep Sea - VR | National Geographic
We live on this incredible, unfamiliar blue planet. The ocean is this magical, complex, beautiful place, but almost nobody sees it. [Music] The ocean protects us; it feeds us. Yet few can see how beautiful and powerful that it can be. What we don’t see, w…
Is America Actually Metric?
I’m here at the National Institute for Standards and Technology, and I’m about to see some of the original kilogram standards. Patrick: You are, you are. When were these made? Well, the originals were made in the 1880s. There were 40 of them that were b…
What Happens When an Astronaut Drops Something in Space? | Short Film Showcase
My name is Vanguard. My body is an aluminium sphere sixteen point five centimeters in diameter, and I weigh one point four seven kilograms. In 1958, I was the first solar-powered satellite to be launched into outer space. I had value, I served a purpose, …
9 Money Habits Keeping You Poor
What’s up guys, it’s Graham here. So, ever since I was a kid, I’ve been fascinated with the secrets of what makes somebody financially successful. To be honest, I really just wanted to figure out why some people were good with money versus why others were…
Ray Dalio: The Investing Opportunity of a Generation
Yes, crash was negative, right? One and a half, two percent real rates—terrible! Now cash is relatively attractive. Ray Dalio is a billionaire and one of the most highly respected investors in the world. He has been investing for 50 years, meaning he kno…
Simple Products That Became Big Companies – Dalton Caldwell and Michael Seibel
A product that doesn’t work with lots of features is infinitely worse than a product with one feature that works. And again, like, let’s play that out. Let’s play that out. Right? Imagine if it’s like they were like, you get health care and you get benef…