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
The Stock Market Is About To Flip | DO THIS NOW
What’s up, grandmas? Guys, here according to the caption. So, as we approach the new year of 2022, we got to talk about something that’s getting brought up a lot more often lately, now that the stock market is returning back to its previous all-time highs…
Geoff Ralston - Parting Advice
High startup school founders, I am Jeff Ralston, YC’s president, and I’m here to say so long and to give a few words of parting advice. It’s after 10 extraordinary weeks of startup school. We here at YC are about to focus on our winter 2020 batch, and yo…
Bitcoin To $1,000,000 | Meet Kevin Pt 2
Gary Gensler, a few weeks ago, compared regulation in the cryptocurrency market to regulation in cars. When we finally had cars get regulated, we had stop signs, we had crosswalks, and traffic lights. Car adoption skyrocketed. Do you think the same thing …
Teleportation: Tearing the Fabric of Spacetime
The date is October 23rd, 1593. The governor of the Philippines had just been assassinated a few days after setting off on our journey from Manila. His ship and crew were overthrown by Chinese pirates on board. When the news of his assassination reached t…
Bullets HITTING Bullets in Slow Motion - THE IMPOSSIBLE SHOT - Smarter Every Day 287
Three, two, one. Fire (BANG!) Hey, it’s me, Destin. Welcome back to Smarter Every Day. I am at the American Museum of Natural History. It’s a Smithsonian Museum. And this is something that I saw ten years ago, and it changed the way I think about bullets …
Charlie Munger: How to Make Your First $1 Million (5 Steps)
Charlie Munger is currently a billionaire with an estimated net worth of 2.4 billion dollars as of 2022. However, that wasn’t always the case. While Charlie didn’t grow up poor by any means, he wasn’t lucky enough to be born into a rich and prominent fami…