Open Access
Open Peer Review

This article has Open Peer Review reports available.

How does Open Peer Review work?

Modeling repeated ordinal responses using a family of power transformations: application to neonatal hypothermia data

  • Farid Zayeri1,
  • Anoshirvan Kazemnejad2Email author,
  • Navid Khanafshar3 and
  • Fatemeh Nayeri4
BMC Medical Research Methodology20055:29

DOI: 10.1186/1471-2288-5-29

Received: 25 January 2005

Accepted: 14 September 2005

Published: 14 September 2005



For analyzing a repeated ordinal response, it is common to use a multivariate cumulative logit model. This model may fit poorly, especially when a nonsymmetric response is available. In these cases, alternative strategies should be utilized.


In this paper, we present a family of power transformations for the cumulative probabilities to model asymmetric departures from the random-intercept cumulative logit model. To illustrate this method, we analyze the data from an epidemiologic study to identify risk factors of hypothermia among newly born infants in some referral university hospitals in Tehran, Iran.


For hypothermia data, using this family of transformations and comparing the goodness-of-fit statistics showed that a model with the cumulative complementary log-log link gives us a better fit compared to a model with the cumulative logit link.


In some areas, using the ordinary cumulative logit link function does not lead to the best fit. So, other link functions should be evaluated to discover the best transformation for the cumulative probabilities.


Hypothermia is an important cause of morbidity, and occasionally mortality, in the newborn [1]. In 1958, Silverman et al. [2] and in 1964, Buetow and Klein [3] reported the adverse effects of hypothermia on viability and hope for life in premature and low birth weight neonates. Low body temperature in newborns can lead to an increased rate of basal metabolism, peripheral vasoconstriction, decreased peripheral perfusion, tissue ischemia and finally metabolic acidosis [4]. Vascular changes in the lungs may result in decreased ventilation, increased demand for oxygen and worsening of respiratory distress [5]. Meanwhile, acidosis and hypoxia can predispose to pulmonary hemorrhage and disseminated intravascular coagulation (DIC) [4]. Hepatocyte ischemia affects liver functions and may cause indirect hyperbilirubinemia. In addition, the high metabolic rate leads to higher glucose consumption and hypoglycemia [5]. In many parts of the world, health personnel are not aware of the importance of keeping babies warm by simple methods such as drying and wrapping immediately after birth, avoiding harmful practices, encouraging early breast feeding and keeping newborns in close contact with their mothers [6].

Considering the prevalence of hypothermia experienced by Iranian neonates, and regarding that there is not adequate information about this health problem in our country, we decided to design an epidemiologic study to estimate the incidence rate and identify some of the most important risk factors of neonatal hypothermia in different referral hospitals of Tehran, Iran. In this longitudinal study, the body temperature of the newborns was measured repeatedly at several occasions. At each time of measurement, the ordinal outcome was defined as the severity of hypothermia for each newborn.

To analyze the dependence of a categorical response data on explanatory variables it is common to fit transforms of the probabilities by linear functions of parameters. In this context, the logistic transform is probably the one most commonly used. However, as for all models, it is tentative and therefore some consideration of adequacy is needed. If some non-logistic model gives a better or simpler fit, it is important to discover that. In this paper, we introduce a family of random-effects models to describe the relationship between repeated ordinal response data and a host of covariates. Using this family of statistical models, we are able to model asymmetric departures from the cumulative logit model. This approach is a simple and straightforward extension of the family of power transformations introduced by Aranda-Ordaz [7] to model asymmetric departures from the ordinary logistic regression model. We also develop the necessary computer program to obtain the maximum likelihood estimates of the model parameters.


The study of hypothermia in the newborns

The study of hypothermia was an epidemiologic research in some referral university teaching hospitals of Tehran, Iran. In this study, the researchers aimed to estimate the incidence rate of hypothermia and identify some of the most important risk factors of this health problem. To do this, a random sample of 900 newborns was selected in these hospitals from August 2003 to May 2004. After obtaining consent from the neonates' parents, the rectal temperature of the newborns was measured using a low-reading rectal thermometer at the following occasions;

i) Immediately after birth in the operating room

ii) After admission to the neonatal unit (levels I, II, III of nursery care)

iii) One hour after admission to the neonatal unit

iv) Two hours after admission to the neonatal unit

If a newborn was hypothermic, she/he was re-warmed according to WHO recommendations [6]. The ordinal response variable was defined as the severity of hypothermia at each occasion; 1 = moderate to severe hypothermia (temperature less than or equal to 35°C), 2 = mild hypothermia (temperature between 35°C and 36.5°C), 3 = normal body temperature (temperature between 36.5°C and 38°C). In addition, the following covariates were considered as the potential risk factors or risk indicators for neonatal hypothermia; sex (0 = male, 1 = female), weight (0 = more than or equal to 2500 gr, 1 = less than 2500 gr), gestational age (0 = more than or equal to 37 weeks, 1 = less than 37 weeks), environmental temperature at each time of measurement (0 = more than or equal to 27°C, 1 = less than 27°C, where 27°C was the mean temperature of the operating room and neonatal unit during the study), apgar score (a quick method of assessing the state of newborn infant. This score comprises five components: heart rate, respiratory effort, muscle tone, reflex irritability, and color, each of which is given score of 0, 1, or 2 [8]) immediately and five minutes after birth (0 = more than or equal to 8, 1 = less than 8) and cardiopulmonary resuscitation (CPR) (0 = not received, 1 = received).

Note that, the recorded outcomes for each newborn (severity of hypothermia at different occasions) are positively correlated ordinal observations, so convenient statistical approaches should be utilized to model the relationship between this response data and the described factors.

Family of transformations for repeated ordinal response data

Suppose, in a longitudinal study, there are T occasions (times) of measurement, and the ordinal response at each time has j = 1,2,...,J levels. This ordinal response for ith individual (i = 1,2,...,N) at tth time of measurement (t = 1,2,...,T) can be denoted by Y it . Each individual has T covariate vectors x it , each of dimension P × 1; the vector x it contains all the relevant covariates at time t, including time-dependent and time-stationary covariates. We also let X i = (x i1,...,x iT )' represent the T × P matrix of covariates for subject i.

In 1981, Aranda-Ordaz [7] introduced a family of asymmetric transformations for binary response data in the form of

w(π) = {(1-π)-λ -1}/λ     (1)

where 0 <π < 1 denotes the probability of success and λ is the transformation parameter. This seems to be a useful transformation when it is desirable to treat successes and failures asymmetrically. Using equation (1), one can denote the GLM form of this family as

log w(π) = η     (2)

where η = β'X is the linear systematic part of the model, and β is a vector of unknown regression parameters. Using equations (1) and (2), the family of asymmetric transformations for univariate binary response data can be written as

log{[(1-π)-λ -1]/λ} = X'β     (3)

Using simple calculations, one can show that for λ = 1 equation (3) reduces to the ordinary logistic model, while for λ→0 the complementary log-log model is obtained.

Now, we generalize the described family of power transformations to repeated ordinal response data. Suppose π itj = pr(Y it = j | u i ) denotes the probability of ordinal response j for ith individual at time t. Now, using this definition and considering the equations (2) and (3), a family of random-intercept models for repeated ordinal response data can be defined as

log w(γ itj | u i ) = u i + α j + β'x it     (4)

where γ itj = pr(Y it j | u i ) is the cumulative probability of response category j for individual i at time t. Here, u i denotes the random term for cluster i, α j 's are known as model cut-off points and β is the common P × 1 vector of fixed-effect regression parameters.

Using equation (4) for hypothermia data, the family of random-effects models can be written as

log{[(1-γ itj )-λ -1]/λ | u i } = u i + α j + β 1 Sex i + β 2 Weight i + β 3 Gestational_age i + β 4 Environmental_Temp it + β 5 Apgar1 i + β 6 Apgar5 i + β 7 Multiple_preg i + β 8 CPR i     (5)

for i = 1,2,...,900, t = 1,2,3,4 and j = 1,2. Here, γ it1 = π it1 is the probability of being moderate to severe hypothermic for newborn i at time t (probability of being in the first category of ordinal response) and γ it2 = π it1 + π it2 is the probability of being hypothermic (including mild, moderate or severe) for ith neonate at tth time of measurement (the probability of being in the first or second category of ordinal response). We also suppose that u i ~ N(0,σ 2), where σ is an unknown scale parameter which should be estimated in the model fitting process.

Maximum likelihood estimators and computer programs

The model in equation (4) has P unknown fixed-effect regression parameters (β), J-1 unknown cut-off points (α j ), and a parameter pertaining to the distribution of u i (σ, the standard deviation of the random-effect terms).

Consider the random-intercept model in equation (4). Assuming η = u i + α j + β'x it , it is easy to show that

and, therefore, the marginal probabilities can be computed by the following equation

π itj = γ itj - γ it(j-1)     (7)

To write the required likelihood function, one can form J indicator random variables y itj , where y itj = 1 if Y it = j, and y itj = 0 if otherwise. The marginal distribution of Y it is assumed to be multinomial (with sample size y it+ =1), that is

Now, the necessary log-likelihood function for estimating the model parameters can be written as below

where ψ is a vector including all the unknown model parameters.

Solving the above score function in a random-effects model generally is not trouble-free, especially with an unknown transformation parameter. In this context, the procedure NLMIXED in statistical software SAS usually works well. By a user-friend programming, the likelihood function in equation (8) can be defined and then available estimating methods in this procedure help us to find the parameter estimates and related standard errors. For hypothermia data set, we used a Dual Quasi-Newton as the optimization technique and an Adaptive Gaussian Quadrature as the integration method. In addition, some useful goodness of fit statistics such as Akaike's Information Criterion (AIC) and Schwartz's Bayesian Information Criterion (BIC) are available in this procedure. A model with the smallest value of AIC or BIC shows a better fit compared to other random-effects models. To find more detailed descriptions about fitting the random-effects models, the interested reader can refer to Agresti [9]. In addition, the SAS code for fitting the random-intercept model in equation (5) is available in Appendix. The NLMIXED procedure estimates all the unknown parameters in the log-likelihood function. We denoted the unknown fixed-effect regression parameters by b1, b2, ..., b8 and the unknown transformation parameter (λ) by b9.


Description of the data

The study sample consisted of 900 neonates (452 male and 448 female newborns). Of these, 298 newborns (33.1 percent) had low or very low birth weight (weight less than 2500 gr), and 323 newborns (35.9 percent) were preterm (gestational age less than 37 weeks). The mean temperature of the operating rooms and neonatal units was about 27°C (SD = 2.1). In addition, 726 neonates (80.7 percent) had apgar score more than or equal to 8 at the first minute after birth and 844 newborns (93.8 percent) had apgar score 8 or higher five minutes after birth. In this sample, the rate of multiple pregnancies was about 3 percent. Additionally, 63 newborns (7 percent) received CPR during the study. It should be noted that 42 hypothermic newborns (9 percent) died in a short period after birth, while this rate was about 2.7 percent (11 newborns) for the non-hypothermic neonates.

As mentioned before, for each newborn the ordinal response variable was the severity of hypothermia at each time of measurement. Table 1 shows the incidence rate and severity of hypothermia among these newborns, separately in four consecutive measurements. Summing over mild and moderate-severe rows in this table shows that 53.4, 13.7, 2.9 and 0.7 percent of these newborns were hypothermic, respectively at these four consecutive measurements.
Table 1

Severity of hypothermia among the sample neonates




Time 1

Time 2

Time 3

Time 4


Severity of Hypothermia




























Analysis of risk factors

To evaluate the fit of the illustrated model and to identify the significant risk factors of neonatal hypothermia, we first fit the described model in equation (5) with unknown transformation parameter in order to estimate this parameter and provide preliminary information about the appropriate link function for this data set. Table 2 shows the estimates, standard errors, p-values, and goodness-of-fit statistics. The estimate of transformation parameter, that is , shows serious departure from the cumulative logit model. In other words, since the estimate of transformation parameter is very close to zero, we can conclude that a model with the cumulative complementary log-log link (λ→0) seems to be more convenient for this data compared to a model with the cumulative logit link (λ = 1).
Table 2

Estimates from the longitudinal hypothermia data


Unknown λ

λ = 1












α 1 /Cutoff 1










α 2 /Cutoff 2










β 1 /Sex










β 2 /Weight










β 3 /Gest Age #










β 4 /Env Temp*










β 5 /Apgar1**










β 6 /Apgar5***










β 7 /Multi Preg $










β 8 /CPR






















































§ p for two-sided p-value

† Est for estimate of the model parameter

‡ Se for standard error of the estimate

# Gest Age for gestational age of the neonate

* Env Temp for environmental temperature

** Apgar1 for apgar score at the first minute after neonate's birth

*** Apgar5 for apgar score five minutes after neonate's birth

$ Multi Preg for multiple pregnancy

In the next step, we used the cumulative complementary log-log and logit link functions to model hypothermia data (Table 2). The obtained results tell us that there are substantial differences between the parameter estimates in these two models. Furthermore, comparing the goodness-of-fit statistics reveals that the model with the cumulative complementary log-log link gives a better fit compared to the model with the cumulative logit link function. This is not in contrast with the obtained results from the model with unknown transformation parameter.

Here, it should be noted that the fitted models did not lead to the same significant risk factors for hypothermia. Regarding to the column of p-values in Table 2 for the model with unknown λ and the model with the cumulative complementary log-log link, we can conclude that all the described factors, except sex, are significantly associated with hypothermia. But in the cumulative logit model (the model with λ = 1), gestational age of the neonates did not show significant effect on hypothermia.


Longitudinal studies are now widespread in many areas of medical research. The statistical analysis of these studies is usually difficult, especially when a repeated ordinal response is available [10, 11]. In this context, generalized estimation equations methodology, introduced by Liang and Zeger [12], is a helpful strategy for analyzing repeated binary response data. In 1994, Lipsittz et al. extended this methodology to repeated categorical responses [13]. The choice of appropriate method for analyzing repeated categorical responses depends heavily on the aims of the study. Marginal and random-effects models are probably the most common approaches for the analysis of correlated categorical response data. Carrière and Bouyer presented helpful strategies for choosing marginal and random-effects models in longitudinal binary responses. They demonstrated that if the main goal of the study is to predict a mean prevalence of a specific disease over time by sex, age group or other characteristics, the marginal models are suitable. In contrast, if the goal is to study the individual risk factors for etiological considerations, the random-effects models are more appropriate because they allow adjustment on non-observed individual characteristics and a better understanding of the underlying mechanism [14].

In the present article, we introduced a family of power transformations to model the repeated ordinal response data. Depending on the main aim of the study, when a random-effects model is chosen for analyzing a repeated ordinal response, the first option is probably a model with the cumulative logit link function. Our main goal in the present study was to obtain more efficient estimates compared to those obtained using the cumulative logit link function. Nowadays, by using powerful statistical softwares such as SAS and S-PLUS, the fitting process is not too difficult. The required time for running process, even in large sample size data sets, is not more time-consuming compared to the ordinary random-effects models.

Supposing J = 2, the model in equation (4) reduces to a model for the analysis of repeated binary response data. In this situation, Y it is a scalar. Omitting the random terms u i , with T = 1 and J = 2, this approach reduces to the model presented by Aranda-Ordaz.

In our proposed model, assuming an unknown transformation parameter, λ, and estimating this parameter in the model fitting process is an appropriate strategy for checking asymmetric departures from the logistic model. If the estimate of the transformation parameter showed a serious departure from 1, then it can be concluded that the logistic transformation is not an appropriate option. For a given data, if the estimate of the transformation parameter is significant but not close to 0 or 1, then it can be concluded that neither the logit nor the complementary log-log link is appropriate. In this situation, one can fit the model in equation (4) with the estimated transformation parameter. Otherwise, if the estimate of this parameter is not significant or the standard error of the estimate is too large, the traditional methods of choosing the link function (for example, fitting the ordinary cumulative models with the common link functions such as logit, probit, complementary or negative log-log and then choosing the model with the best fit) may be preferable. To decide about the proper choice of transformation parameter for a given data set, an alternative strategy may be fitting this model with a sequence of values of λ and comparing the obtained goodness-of-fit statistics to determine a model with the best fit. In this context, drawing a graph of lambda versus common goodness-of-statistics (such as deviance) is a convenience approach for choosing a model with the proper transformation parameter.

As we mentioned before, the results of the present study showed that low birth weight and premature newborns, neonates with low apgar scores and those who received cardiopulmonary resuscitation had higher risk for being hypothermic. The same findings have been already reported in other research [1518]. Moreover, the results of regression analysis revealed that the environmental temperature is significantly associated with neonatal hypothermia. It appears that newborns have higher risk for hypothermia when the operating room or neonatal unit temperature is not warm enough (in our study at least 27°C). This finding shows the importance of keeping the operating room and neonatal unit warm enough to reduce the risk of hypothermia among newly born infants. In general, theses results help us to train the medical care personnel for a better management of high risk newborn babies.


SAS code for fitting the proposed random-effects model

data set1;

infile 'a:\hypothermia.dat';

y1 = 0; y2 = 0; y3 = 0;

if response = 1 then y1 = 1;

if response = 2 then y2 = 1;

if response = 3 then y3 = 1;

proc nlmixed qpoints = 100;

bounds i2>0;

bounds b9>0; *** b9 is the unknown transformation parameter, λ ***

eta1 = i1+ sx*b1+ wt*b2+ ga*b3+ et*b4+ ap1*b5+ ap5*b6+ mp*b7+ cpr*b8+ u;

eta2 = i1+i2+ sx*b1+ wt*b2+ ga*b3+ et*b4+ ap1*b5+ ap5*b6+ mp*b7+ cpr*b8+ u;

p1 = 1-((1+ b9*exp(eta1))**(-1/b9));

p2 = (1+ b9*exp(eta1))**(-1/b9)) - ((1+ b9*exp(eta2))**(-1/b9));

p3 = (1+ b9*exp(eta2))**(-1/b9));

LL = y1*log(p1)+ y2*log(p2)+ y3*log(p3);

*** LL is the log-likelihood function ***

model response~general(LL);

estimate 'intercept2' i1+i2;

random u~normal(0, sigma*sigma) subject = case;




The authors wish to acknowledge Dr. Masoud Salehi for his kind help in data analysis and drafting the manuscript.

Authors’ Affiliations

Department of Biostatistics, School of Medical Sciences, Tarbiat Modarres University
Department of Biostatistics, School of Medical Sciences, Tarbiat Modarres University
Department of Obstetrics and Gynecology, Tehran University of Medical Sciences
Department of Neonatology, Tehran University of Medical Sciences


  1. Hackman PS: Recognizing and understanding the cold-stressed term infants. Neonatal Netw. 2001, 20: 35-41.View ArticlePubMedGoogle Scholar
  2. Silverman WA, Fertig JW, Berger AP: The influence of the thermal environment upon the survival of newly born premature infants. Pediatrics. 1958, 22: 876-886.PubMedGoogle Scholar
  3. Buetow KC, Klein SW: Effect of maintenance of "normal" skin temperature on survival of infants of low birth weight. Pediatrics. 1964, 34: 163-170.PubMedGoogle Scholar
  4. LeBlanc MH: The physical environment. Neonatal-Perinatal medicine. 2002, St Louis, Missouri: Mosby, 1: 512-524. 7Google Scholar
  5. Loughead MK, Loughead JL, Reinhart MJ: Incidence and physiologic characteristics of hypothermia in very low birth weight infants. Pediatric Nursing. 1997, 23: 11-15.PubMedGoogle Scholar
  6. WHO/FHF/SM: Thermal control of the newborn: a practical guide. Geneva. 1993Google Scholar
  7. Aranda-Ordaz FJ: On two families of transformations to additivity for binary response data. Biometrika. 1981, 68: 357-363.View ArticleGoogle Scholar
  8. Cunningham FG, Gant NF, Leveno KJ, Gilstrap LC, Hauth JC, Wenstrom KD: Williams Obstetrics. 2001, New York: McGraw-Hill, I: 21Google Scholar
  9. Agresti A: Categorical data analysis. 2002, New York: John Wiley & Sons, 2View ArticleGoogle Scholar
  10. Diggle PJ, Liang KY, Zeger SL: Analysis of longitudinal data. 1994, New York: OxfordGoogle Scholar
  11. Dwyer JH, Fienleib M, Lippert P, Hoffmeister H: Statistical models for longitudinal studies of health. 1992, New York: OxfordGoogle Scholar
  12. Liang KY, Zeger SL: Longitudinal data analysis using generalized linear models. Biometrika. 1986, 73: 13-22.View ArticleGoogle Scholar
  13. Lipsitz SR, Kim K, Zhao L: Analysis of repeated categorical data using generalized estimating equations. Stat Med. 1994, 13: 1149-1163.View ArticlePubMedGoogle Scholar
  14. Carrière I, Bouyer J: Choosing marginal or random-effects models for longitudinal binary responses: application to self-reported disability among older persons. BMC Med Res Methodol. 2002, 2: 15-10.1186/1471-2288-2-15.View ArticlePubMedPubMed CentralGoogle Scholar
  15. Kambarami R, Chidede O: Neonatal hypothermia levels and risk factors for mortality in a tropical country. Cent Afr J Med. 2003, 49: 103-106.PubMedGoogle Scholar
  16. Manji KP, Kisenge R: Neonatal hypothermia on admission to a special care unit in Dar-es-Salam, Tanzania: a cause for concern. Cent Afr J Med. 2003, 49: 23-27.PubMedGoogle Scholar
  17. Ondoa-Onama C, Tumwine JK: Immediate outcome of babies with low apgar score in Mulago Hospital, Uganda. East Afr Med J. 2003, 80: 22-29.PubMedGoogle Scholar
  18. Doctor BA, O'Riordan MA, Kirchner HL, Shah D, Hack M: Perinatal correlates and neonatal outcomes of small for gestational age infants born at term gestation. Am J Obstet Gynecol. 2001, 185: 652-659. 10.1067/mob.2001.116749.View ArticlePubMedGoogle Scholar
  19. Pre-publication history

    1. The pre-publication history for this paper can be accessed here:


© Zayeri et al; licensee BioMed Central Ltd. 2005

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.