Ordinal data

From HandWiki
Short description: Statistical data type


Ordinal data is a categorical, statistical data type where the variables have natural, ordered categories and the distances between the categories are not known.[1]:2 These data exist on an ordinal scale, one of four levels of measurement described by S. S. Stevens in 1946. The ordinal scale is distinguished from the nominal scale by having a ranking.[2] It also differs from the interval scale and ratio scale by not having category widths that represent equal increments of the underlying attribute.[3]

Examples of ordinal data

A well-known example of ordinal data is the Likert scale. An example of a Likert scale is:[4]:685

Like Like Somewhat Neutral Dislike Somewhat Dislike
1 2 3 4 5

Examples of ordinal data are often found in questionnaires: for example, the survey question "Is your general health poor, reasonable, good, or excellent?" may have those answers coded respectively as 1, 2, 3, and 4. Sometimes data on an interval scale or ratio scale are grouped onto an ordinal scale: for example, individuals whose income is known might be grouped into the income categories $0–$19,999, $20,000–$39,999, $40,000–$59,999, ..., which then might be coded as 1, 2, 3, 4, .... Other examples of ordinal data include socioeconomic status, military ranks, and letter grades for coursework.[5]

Ways to analyse ordinal data

Ordinal data analysis requires a different set of analyses than other qualitative variables. These methods incorporate the natural ordering of the variables in order to avoid loss of power.[1]:88 Computing the mean of a sample of ordinal data is discouraged; other measures of central tendency, including the median or mode, are generally more appropriate.[6]

General

Stevens (1946) argued that, because the assumption of equal distance between categories does not hold for ordinal data, the use of means and standard deviations for description of ordinal distributions and of inferential statistics based on means and standard deviations was not appropriate. Instead, positional measures like the median and percentiles, in addition to descriptive statistics appropriate for nominal data (number of cases, mode, contingency correlation), should be used.[3]:678 Nonparametric methods have been proposed as the most appropriate procedures for inferential statistics involving ordinal data (e.g, Kendall's W, Spearman's rank correlation coefficient, etc.), especially those developed for the analysis of ranked measurements.[5]:25–28 However, the use of parametric statistics for ordinal data may be permissible with certain caveats to take advantage of the greater range of available statistical procedures.[7][8][4]:90

Univariate statistics

In place of means and standard deviations, univariate statistics appropriate for ordinal data include the median,[9]:59–61 other percentiles (such as quartiles and deciles),[9]:71 and the quartile deviation.[9]:77 One-sample tests for ordinal data include the Kolmogorov-Smirnov one-sample test,[5]:51–55 the one-sample runs test,[5]:58–64 and the change-point test.[5]:64–71

Bivariate statistics

In lieu of testing differences in means with t-tests, differences in distributions of ordinal data from two independent samples can be tested with Mann-Whitney,[9]:259–264 runs,[9]:253–259 Smirnov,[9]:266–269 and signed-ranks[9]:269–273 tests. Test for two related or matched samples include the sign test[5]:80–87 and the Wilcoxon signed ranks test.[5]:87–95 Analysis of variance with ranks[9]:367–369 and the Jonckheere test for ordered alternatives[5]:216–222 can be conducted with ordinal data in place of independent samples ANOVA. Tests for more than two related samples includes the Friedman two-way analysis of variance by ranks[5]:174–183 and the Page test for ordered alternatives.[5]:184–188 Correlation measures appropriate for two ordinal-scaled variables include Kendall's tau,[9]:436–439 gamma,[9]:442–443 rs,[9]:434–436 and dyx/dxy.[9]:443

Regression applications

Ordinal data can be considered as a quantitative variable. In logistic regression, the equation

[math]\displaystyle{ \operatorname{logit}[P(Y=1)] = \alpha + \beta_1 c + \beta_2 x }[/math]

is the model and c takes on the assigned levels of the categorical scale.[1]:189 In regression analysis, outcomes (dependent variables) that are ordinal variables can be predicted using a variant of ordinal regression, such as ordered logit or ordered probit.

In multiple regression/correlation analysis, ordinal data can be accommodated using power polynomials and through normalization of scores and ranks.[10]

Linear trends

Linear trends are also used to find associations between ordinal data and other categorical variables, normally in a contingency tables. A correlation r is found between the variables where r lies between -1 and 1. To test the trend, a test statistic:

[math]\displaystyle{ M^2 = (n-1)r^2 }[/math]

is used where n is the sample size.[1]:87

R can be found by letting [math]\displaystyle{ u_1 \leq u_2 \leq ... \leq u_I }[/math] be the row scores and [math]\displaystyle{ v_1 \leq v_2 \leq ... \leq v_I }[/math] be the column scores. Let [math]\displaystyle{ \bar u \ = \sum_i u_i p_{i+} }[/math] be the mean of the row scores while [math]\displaystyle{ \bar v \ = \sum_j v_j p_{j+}. }[/math]. Then [math]\displaystyle{ p_{i+} }[/math] is the marginal row probability and [math]\displaystyle{ p_{+j} }[/math] is the marginal column probability. R is calculated by:

[math]\displaystyle{ r = \frac{ \sum_{i,j} \left (u_i - \bar u\ \right ) \left (v_j - \bar v\ \right )p_{ij}} {\sqrt{ \left \lbrack \sum_i ( u_i - \bar u\ \right )^2p_{i+} \rbrack \lbrack \sum_j ( v_j - \bar v\ )^2p_{+j} \rbrack }} }[/math]

Classification methods

Classification methods have also been developed for ordinal data. The data are divided into different categories such that each observation is similar to others. Dispersion is measured and minimized in each group to maximize classification results. The dispersion function is used in information theory.[11]

Statistical models for ordinal data

There are several different models that can be used to describe the structure of ordinal data.[12] Four major classes of model are described below, each defined for a random variable [math]\displaystyle{ Y }[/math], with levels indexed by [math]\displaystyle{ k = 1, 2, \dots, q }[/math].

Note that in the model definitions below, the values of [math]\displaystyle{ \mu_k }[/math] and [math]\displaystyle{ \mathbf{\beta} }[/math] will not be the same for all the models for the same set of data, but the notation is used to compare the structure of the different models.

Proportional odds model

The most commonly-used model for ordinal data is the proportional odds model, defined by [math]\displaystyle{ \log\left[\frac{\Pr(Y \leq k)}{Pr(Y \gt k)}\right] = \log\left[\frac{\Pr(Y \leq k)}{1-\Pr(Y \leq k)}\right] = \mu_k + \mathbf{\beta}^T\mathbf{x} }[/math] where the parameters [math]\displaystyle{ \mu_k }[/math] describe the base distribution of the ordinal data, [math]\displaystyle{ \mathbf{x} }[/math] are the covariates and [math]\displaystyle{ \mathbf{\beta} }[/math] are the coefficients describing the effects of the covariates.

This model can be generalized by defining the model using [math]\displaystyle{ \mu_k + \mathbf{\beta}_k^T\mathbf{x} }[/math] instead of [math]\displaystyle{ \mu_k + \mathbf{\beta}^T\mathbf{x} }[/math], and this would make the model suitable for nominal data (in which the categories have no natural ordering) as well as ordinal data. However, this generalization can make it much more difficult to fit the model to the data.

Baseline category logit model

The baseline category model is defined by [math]\displaystyle{ \log\left[\frac{\Pr(Y = k)}{\Pr(Y = 1)}\right] = \mu_k + \mathbf{\beta}_k^T\mathbf{x} }[/math]

This model does not impose an ordering on the categories and so can be applied to nominal data as well as ordinal data.

Ordered stereotype model

The ordered stereotype model is defined by [math]\displaystyle{ \log\left[\frac{\Pr(Y = k)}{\Pr(Y = 1)}\right] = \mu_k + \phi_k\mathbf{\beta}^T\mathbf{x} }[/math] where the score parameters are constrained such that [math]\displaystyle{ 0=\phi_1 \leq \phi_2 \leq \dots \leq \phi_q=1 }[/math].

This is a more parsimonious, and more specialised, model than the baseline category logit model: [math]\displaystyle{ \phi_k\mathbf{\beta} }[/math] can be thought of as similar to [math]\displaystyle{ \mathbf{\beta}_k }[/math].

The non-ordered stereotype model has the same form as the ordered stereotype model, but without the ordering imposed on [math]\displaystyle{ \phi_k }[/math]. This model can be applied to nominal data.

Note that the fitted scores, [math]\displaystyle{ \hat{\phi}_k }[/math], indicate how easy it is to distinguish between the different levels of [math]\displaystyle{ Y }[/math]. If [math]\displaystyle{ \hat{\phi}_k \approx \hat{\phi}_{k-1} }[/math] then that indicates that the current set of data for the covariates [math]\displaystyle{ \mathbf{x} }[/math] do not provide much information to distinguish between levels [math]\displaystyle{ k }[/math] and [math]\displaystyle{ k-1 }[/math], but that does not necessarily imply that the actual values [math]\displaystyle{ k }[/math] and [math]\displaystyle{ k-1 }[/math] are far apart. And if the values of the covariates change, then for that new data the fitted scores [math]\displaystyle{ \hat{\phi}_k }[/math] and [math]\displaystyle{ \hat{\phi}_{k-1} }[/math] might then be far apart.

Adjacent categories logit model

The adjacent categories model is defined by [math]\displaystyle{ \log\left[\frac{\Pr(Y = k)}{\Pr(Y = k+1)}\right] = \mu_k + \mathbf{\beta}_k^T\mathbf{x} }[/math] although the most common form, referred to in Agresti (2010)[12] as the "proportional odds form" is defined by [math]\displaystyle{ \log\left[\frac{\Pr(Y = k)}{\Pr(Y = k+1)}\right] = \mu_k + \mathbf{\beta}^T\mathbf{x} }[/math]

This model can only be applied to ordinal data, since modelling the probabilities of shifts from one category to the next category implies that an ordering of those categories exists.

The adjacent categories logit model can be thought of as a special case of the baseline category logit model, where [math]\displaystyle{ \mathbf{\beta}_k = \mathbf{\beta}(k-1) }[/math]. The adjacent categories logit model can also be thought of as a special case of the ordered stereotype model, where [math]\displaystyle{ \phi_k \propto k-1 }[/math], i.e. the distances between the [math]\displaystyle{ \phi_k }[/math] are defined in advance, rather than being estimated based on the data.

Comparisons between the models

The proportional odds model has a very different structure to the other three models, and also a different underlying meaning. Note that the size of the reference category in the proportional odds model varies with [math]\displaystyle{ k }[/math], since [math]\displaystyle{ Y \leq k }[/math] is compared to [math]\displaystyle{ Y \gt k }[/math], whereas in the other models the size of the reference category remains fixed, as [math]\displaystyle{ Y=k }[/math] is compared to [math]\displaystyle{ Y=1 }[/math] or [math]\displaystyle{ Y=k+1 }[/math].

Different link functions

There are variants of all the models that use different link functions, such as the probit link or the complementary log-log link.

Visualization and display

Ordinal data can be visualized in several different ways. Common visualizations are the bar chart or a pie chart. Tables can also be useful for displaying ordinal data and frequencies. Mosaic plots can be used to show the relationship between an ordinal variable and a nominal or ordinal variable.[13] A bump chart—a line chart that shows the relative ranking of items from one time point to the next—is also appropriate for ordinal data.[14]

Color or grayscale gradation can be used to represent the ordered nature of the data. A single-direction scale, such as income ranges, can be represented with a bar chart where increasing (or decreasing) saturation or lightness of a single color indicates higher (or lower) income. The ordinal distribution of a variable measured on a dual-direction scale, such as a Likert scale, could also be illustrated with color in a stacked bar chart. A neutral color (white or gray) might be used for the middle (zero or neutral) point, with contrasting colors used in the opposing directions from the midpoint, where increasing saturation or darkness of the colors could indicate categories at increasing distance from the midpoint.[15] Choropleth maps also use color or grayscale shading to display ordinal data.[16]

Example bar plot of opinion on defense spending.
Example bump plot of opinion on defense spending by political party.
Example mosaic plot of opinion on defense spending by political party.
Example stacked bar plot of opinion on defense spending by political party.

Applications

The use of ordinal data can be found in most areas of research where categorical data are generated. Settings where ordinal data are often collected include the social and behavioral sciences and governmental and business settings where measurements are collected from persons by observation, testing, or questionnaires. Some common contexts for the collection of ordinal data include survey research;[17][18] and intelligence, aptitude, personality testing and decision-making.[2][4]:89–90

Calculation of 'Effect Size' (Cliff's Delta d) using ordinal data has been recommended as a measure of statistical dominance.[19]

See also

References

  1. 1.0 1.1 1.2 1.3 Agresti, Alan (2013). Categorical Data Analysis (3 ed.). Hoboken, New Jersey: John Wiley & Sons. ISBN 978-0-470-46363-5. 
  2. 2.0 2.1 Ataei, Younes; Mahmoudi, Amin; Feylizadeh, Mohammad Reza; Li, Deng-Feng (January 2020). "Ordinal Priority Approach (OPA) in Multiple Attribute Decision-Making". Applied Soft Computing 86: 105893. doi:10.1016/j.asoc.2019.105893. ISSN 1568-4946. http://dx.doi.org/10.1016/j.asoc.2019.105893. 
  3. 3.0 3.1 Stevens, S. S. (1946). "On the Theory of Scales of Measurement". Science. New Series 103 (2684): 677–680. doi:10.1126/science.103.2684.677. PMID 17750512. Bibcode1946Sci...103..677S. 
  4. 4.0 4.1 4.2 Cohen, Ronald Jay; Swerdik, Mark E.; Phillips, Suzanne M. (1996). Psychological Testing and Assessment: An Introduction to Tests and Measurement (3rd ed.). Mountain View, CA: Mayfield. pp. 685. ISBN 1-55934-427-X. https://archive.org/details/psychologicaltes0000cohe/page/685. 
  5. 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 Siegel, Sidney; Castellan, N. John Jr. (1988). Nonparametric Statistics for the Behavioral Sciences (2nd ed.). Boston: McGraw-Hill. pp. 25–26. ISBN 0-07-057357-3. 
  6. Jamieson, Susan (December 2004). "Likert scales: how to (ab)use them". Medical Education 38 (12): 1212–1218. doi:10.1111/j.1365-2929.2004.02012.x. PMID 15566531. http://eprints.gla.ac.uk/59552/1/59552.pdf. 
  7. Sarle, Warren S. (Sep 14, 1997). "Measurement theory: Frequently asked questions". ftp://ftp.sas.com/pub/neural/measurement.html. 
  8. van Belle, Gerald (2002). Statistical Rules of Thumb. New York: John Wiley & Sons. pp. 23–24. ISBN 0-471-40227-3. 
  9. 9.00 9.01 9.02 9.03 9.04 9.05 9.06 9.07 9.08 9.09 9.10 9.11 Blalock, Hubert M. Jr. (1979). Social Statistics (Rev. 2nd ed.). New York: McGraw-Hill. ISBN 0-07-005752-4. 
  10. Cohen, Jacob; Cohen, Patricia (1983). Applied Multiple Regression/Correlation Analysis for the Behavioral Sciences (2nd ed.). Hillsdale, New Jersey: Lawrence Erlbaum Associates. pp. 273. ISBN 0-89859-268-2. 
  11. Laird, Nan M. (1979). "A Note on Classifying Ordinal-Scale Data". Sociological Methodology 10: 303–310. doi:10.2307/270775. 
  12. 12.0 12.1 Agresti, Alan (2010). Analysis of Ordinal Categorical Data (2nd ed.). Hoboken, New Jersey: Wiley. ISBN 978-0470082898. 
  13. "Plotting Techniques". http://www-stat.wharton.upenn.edu/~buja/mba/plotting-techniques.html. 
  14. Berinato, Scott (2016). Good Charts: The HBR Guide to Making Smarter, More Persuasive Data Visualizations. Boston: Harvard Business Review Press. pp. 228. ISBN 978-1633690707. 
  15. Kirk, Andy (2016). Data Visualisation: A Handbook for Data Driven Design (1st ed.). London: SAGE. pp. 269. ISBN 978-1473912144. 
  16. Cairo, Alberto (2016). The Truthful Art: Data, Charts, and Maps for Communication (1st ed.). San Francisco: New Riders. pp. 280. ISBN 978-0321934079. 
  17. Alwin, Duane F. (2010). Marsden, Peter V.. ed. Assessing the Reliability and Validity of Survey Measures. Howard House, Wagon Lane, Bingley BD16 1WA, UK: Emerald House. pp. 420. ISBN 978-1-84855-224-1. 
  18. Fowler, Floyd J. Jr. (1995). Improving Survey Questions: Design and Evaluation. Thousand Oaks, CA: Sage. pp. 156–165. ISBN 0-8039-4583-3. https://archive.org/details/improvingsurveyq00fowl/page/156. 
  19. Cliff, Norman (November 1993). "Dominance statistics: Ordinal analyses to answer ordinal questions." (in en). Psychological Bulletin 114 (3): 494–509. doi:10.1037/0033-2909.114.3.494. ISSN 1939-1455. http://doi.apa.org/getdoi.cfm?doi=10.1037/0033-2909.114.3.494. 

Further reading

  • Agresti, Alan (2010). Analysis of Ordinal Categorical Data (2nd ed.). Hoboken, New Jersey: Wiley. ISBN 978-0470082898.