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

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.

主站蜘蛛池模板: 吐鲁番市| 纳雍县| 迁安市| 乐至县| 昭平县| 静安区| 葫芦岛市| 吴忠市| 北碚区| 梨树县| 通江县| 阳城县| 肃南| 芦溪县| 庄浪县| 郴州市| 龙岩市| 磐石市| 淳化县| 搜索| 姜堰市| 神池县| 称多县| 浦县| 晴隆县| 鲜城| 武冈市| 东城区| 旬邑县| 景泰县| 额济纳旗| 乌拉特中旗| 玉溪市| 陇南市| 疏勒县| 湘乡市| 丹东市| 衡南县| 马山县| 夏河县| 湾仔区|