官术网_书友最值得收藏!

Categorical data

The second type of data that we're going to talk about is categorical data, and this is data that has no inherent numeric meaning.

Most of the time, you can't really compare one category to another directly. Things like gender, yes/no questions, race, state of residence, product category, political party; you can assign numbers to these categories, and often you will, but those numbers have no inherent meaning.

So, for example, I can say that the area of Texas is greater than the area of Florida, but I can't just say Texas is greater than Florida, they're just categories. There's no real numerical quantifiable meaning to them, it's just ways that we categorize different things.

Now again, I might have some sort of numerical assignation to each state. I mean, I could say that Florida is state number 3 and Texas state number 4, but there's no real relationship between 3 and 4 there, right, it's just a shorthand to more compactly represent these categories. So again, categorical data does not have any intrinsic numerical meaning; it's just a way that you're choosing to split up a set of data based on categories.

主站蜘蛛池模板: 潞城市| 延寿县| 万宁市| 博白县| 曲阳县| 安化县| 泸溪县| 南部县| 新疆| 绥化市| 周口市| 灵丘县| 紫阳县| 安顺市| 绥芬河市| 大埔区| 湖北省| 阿拉善右旗| 定陶县| 宁乡县| 镶黄旗| 濉溪县| 通道| 衡水市| 安福县| 呈贡县| 榆林市| 通江县| 三江| 基隆市| 天祝| 东乡族自治县| 新化县| 康马县| 昂仁县| 读书| 河间市| 英吉沙县| 濉溪县| 同江市| 驻马店市|