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

Categorical data

This type of data represents the characteristics of an object; for example, gender, marital status, type of address, or categories of the movies. This data is often referred to as qualitative datasets in statistics. To understand clearly, here are some of the most common types of categorical data you can find in data:

Gender (Male, Female, Other, or Unknown)

Marital Status (Annulled, Divorced, Interlocutory, Legally Separated, Married, Polygamous, Never Married, Domestic Partner, Unmarried, Widowed, or Unknown)

Movie genres (Action, Adventure, Comedy, Crime, Drama, Fantasy, Historical, Horror, Mystery, Philosophical, Political, Romance, Saga, Satire, Science Fiction, Social, Thriller, Urban, or Western)

Blood type (A, B, AB, or O)

Types of drugs (Stimulants, Depressants, Hallucinogens, Dissociatives, Opioids, Inhalants, or Cannabis)

A variable describing categorical data is referred to as a categorical variable. These types of variables can have one of a limited number of values. It is easier for computer science students to understand categorical values as enumerated types or enumerations of variables. There are different types of categorical variables:

A binary categorical variable can take exactly two values and is also referred to as a dichotomous variable. For example, when you create an experiment, the result is either success or failure. Hence, results can be understood as a binary categorical variable

Polytomous variables are categorical variables that can take more than two possible values. For example, marital status can have several values, such as annulled, divorced, interlocutory, legally separated, married, polygamous, never married, domestic partners, unmarried, widowed, domestic partner, and unknown. Since marital status can take more than two possible values, it is a polytomous variable. 

Most of the categorical dataset follows either nominal or ordinal measurement scales. Let's understand what is a nominal or ordinal scale in the next section. 

主站蜘蛛池模板: 神池县| 北票市| 长治县| 苏尼特右旗| 崇州市| 彭水| 台前县| 本溪市| 岳阳市| 南丹县| 儋州市| 葫芦岛市| 滦平县| 吉水县| 肇庆市| 淄博市| 迁安市| 通山县| 政和县| 襄城县| 壤塘县| 苗栗县| 汉沽区| 嵊州市| 托克逊县| 阳春市| 高台县| 偏关县| 张家界市| 曲水县| 平南县| 尼玛县| 五家渠市| 花莲县| 沽源县| 沙雅县| 平安县| 阳曲县| 江永县| 聊城市| 兰坪|