A categorical variable (sometimes called a nominal variable) is one that has two or more categories, but there is no intrinsic ordering to the categories (example, gender: male/ female). So, categorical variable is one that allows us to assign categories but cannot clearly order the variables in a particular manner. For example, Hair color is a categorical variable having a number of categories (blonde, brown, brunette, red, etc.) but there is no agreed way to order these from highest to lowest. The central tendency of categorical variables is given by its mode, since median and mean can only be computed on numerical data. Therefore, it does not follow a normal bell-curve distribution, and cannot be analyzed with tests that rely on a normal distribution such as the t-test or ANOVA.
Types:
- Pearson's chi-square test
- Yates's correction for continuity
- Cochran–Mantel–Haenszel chi-squared test.
- McNemar's test
- Tukey's test of additivity
- The portmanteau test in time-series analysis, testing for the presence of auto-correlation
- Likelihood-ratio tests
In anaesthesia, Chi square test is commonly used to compare a group with a value, or to compare two or more groups, but with categorical data.
No comments:
Post a Comment