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
Marginal cost, average variable cost, and average total cost | APⓇ Microeconomics | Khan Academy
Let’s say that we run ABC Watch Factory and we want to understand the economics of our business. So, what we have in this table is some data that we’ve already been able to estimate or measure based on how our business is running, and then we’re going to …
Politics in the Animal Kingdom: Single Transferable Vote
Queen Lion is looking to make the elections in her animal kingdom more fair. Currently, she divides her citizens into ranges, each of which selects one representative to go to the jungle council, which makes laws for the kingdom. But her citizens are unha…
Turn Short-Term Games Into Long-Term Games
Do you want to talk about Pareto optimal? Pareto optimal is another concept from game theory, along with Pareto superior. Pareto superior means that something is better in some ways while being equal or better in the other way, so it’s not worse off in an…
Integrating power series | Series | AP Calculus BC | Khan Academy
So we’re told that ( f(x) ) is equal to the infinite series we’re going from ( n = 1 ) to infinity of ( \frac{n + 1}{4^{n + 1}} x^n ). What we want to figure out is what is the definite integral from 0 to 1 of this ( f(x) ). And like always, if you feel i…
The Long Lost White City | Explorer
The legend of CAD Blanca, the White City, has been around for generations of indigenous people in Honduras. The Pech and Tawahka Indians have stories about a white house or a white city. There are all these rumors about seeing the ramparts of a ruined cit…
The 2023 Recession Explained (Investing During Inflation, High Interest Rates and Market Crashes)
This video is sponsored by Seeking Alpha. You can get 12 months of Seeking Alpha premium for just $99 via the link in the description. There’s no doubt 2022 has been a very difficult year for the average investor. Year to date, the S&P 500 is down abo…