Variables: Ani Adhikari and Philip Stark
Variables: Ani Adhikari and Philip Stark
Statistics 2.1X
Lecture 1.2
1/5
Variables
Statistics 2.1X
Lecture 1.2
1/5
Quantitative variables
Statistics 2.1X
Lecture 1.2
2/5
Quantitative variables
Statistics 2.1X
Lecture 1.2
2/5
Quantitative variables
Statistics 2.1X
Lecture 1.2
2/5
Statistics 2.1X
Lecture 1.2
3/5
Statistics 2.1X
Lecture 1.2
3/5
Statistics 2.1X
Lecture 1.2
3/5
Statistics 2.1X
Lecture 1.2
3/5
Statistics 2.1X
Lecture 1.2
3/5
Statistics 2.1X
Lecture 1.2
3/5
Statistics 2.1X
Lecture 1.2
4/5
Statistics 2.1X
Lecture 1.2
4/5
Statistics 2.1X
Lecture 1.2
4/5
Statistics 2.1X
Lecture 1.2
4/5
Statistics 2.1X
Lecture 1.2
4/5
A word of caution
Just because a variable has numerical values, that doesnt mean it is
quantitative.
Statistics 2.1X
Lecture 1.2
5/5
A word of caution
Just because a variable has numerical values, that doesnt mean it is
quantitative.
For example, if your variable is favorite color, you can assign a numerical
code to each color and say that red is 1, blue is 2, and so on. That
doesnt change the variable from categorical to quantitative.
Statistics 2.1X
Lecture 1.2
5/5
A word of caution
Just because a variable has numerical values, that doesnt mean it is
quantitative.
For example, if your variable is favorite color, you can assign a numerical
code to each color and say that red is 1, blue is 2, and so on. That
doesnt change the variable from categorical to quantitative.
You cant do any arithmetic on those numbers. For example, it doesnt
make sense to take their average. The assigned numerical values are just
labels, as were the original words red, blue, and so on.
Statistics 2.1X
Lecture 1.2
5/5
A word of caution
Just because a variable has numerical values, that doesnt mean it is
quantitative.
For example, if your variable is favorite color, you can assign a numerical
code to each color and say that red is 1, blue is 2, and so on. That
doesnt change the variable from categorical to quantitative.
You cant do any arithmetic on those numbers. For example, it doesnt
make sense to take their average. The assigned numerical values are just
labels, as were the original words red, blue, and so on.
But if you code yes/no answers as 1/0, then the average of all your 1s
and 0s does indeed make sense and turns out to be a very interesting
quantity. Well see this later in the course; stay tuned!
Statistics 2.1X
Lecture 1.2
5/5