A General Framework for Random Effects Models for Binary, Ordinal, Count Type and Continuous Dependent Variables Including Variable Selection
Abstract
A general random effects model is proposed that allows for continuous as well as discrete distributions of the responses. Responses can be unrestricted continuous, bounded continuous, binary, ordered categorical or given in the form of counts. The distribution of the responses is not restricted to exponential families, which is a severe restriction in generalized mixed models. Generalized mixed models use fixed distributions for responses, for example the Poisson distribution in count data, which has the disadvantage of not accounting for overdispersion. By using a response function and a thresholds function the proposed mixed thresholds model can account for a variety of alternative distributions that often show better fits than fixed distributions used within the generalized linear model framework. A particular strength of the model is that it provides a tool for joint modeling, responses may be of different types, some can be discrete, others continuous. In addition to introducing the mixed thresholds model parameter sparsity is addressed. Random effects models can contain a large number of parameters, in particular if effects have to be assumed as measurement-specific. Methods to obtain sparser representations are proposed and illustrated. The methods are shown to work in the thresholds model but could also be adapted to other modeling approaches.
Keywords: Random effects models; joint modeling; count data; bounded continuous data; ordinal data.
1 Introduction
Random effects models are a strong tool to model the heterogeneity of clustered responses. By postulating the existence of unobserved latent variables, the so-called random effects, which are shared by the measurement within a cluster, correlation between the measurements within clusters is introduced. The clusters or units can refer to persons in repeated measurement trials or to larger units as, for example, schools with measurements referring to performance scores of students.
Detailed expositions of linear mixed models, which are typically used for continuous dependent variables, are found in Hsiao (1986), Lindsey (1993), and Jones (1993). Models for binary variables and counts are often discusses within the framework of generalized mixed models, see, for example, McCulloch and Searle (2001). Random effects models for ordinal dependent variables were considered by Harville and Mee (1984), Jansen (1990), Tutz and Hennevogl (1996) and Hartzel et al. (2001). Mixed model versions for continuous bounded data in the form of rates and proportions that take values in the interval , have been considered by Qiu et al. (2008) based on the simplex model and by Bonat et al. (2015) who propagate beta distribution models. Several R packages are available to fit generalized mixed linaer models, for example, glmmTMB (Brooks et al., 2017) for various continuous and discrete distributions, lme4 for continuous and binary data, ordinal and MultOrdRS (Schauberger, 2024) for ordinal data.
Generalized mixed models within the generalized linear model framework as well as extended approaches as the models for bounded continuous data postulate familiar fixed distributions for the responses. This is different in the approach propagated here although there is some overlap with generalized linear models. The mixed thresholds model used here gains its flexibility concerning distributional assumptions by using two components, a response function, which is a distribution function, and a thresholds function that modifies the distribution. In the simplest case, by assuming a linear thresholds function, the distribution of the responses follows the response function. Thus, familiar linear Gaussian response models are obtained but also linear models with quite different, possibly skewed distribution functions are available. Distributions with a restricted support, for example if responses are observed in an interval or are positive only, are obtained by using non-linear thresholds functions. They are also useful when modeling discrete data, which typically are restricted to a specific range, for example, count data take only values and ordered categorical responses can be coded by , where numbers only represent the order of values. In the case of binary and ordered categorical responses cumulative generalized mixed model is a special case of the proposed thresholds model.
More concrete, let denote the observations on unit (), which can be continuous or discrete. In addition, let denote covariates associated with response . Then, the Mixed Thresholds Model (MTM) has the form
(1) |
where is a strictly increasing distribution function and is a non-decreasing measurement-specific function defined on the support of the dependent variables, referred to as thresholds function. The predictor contains two components linked to explanatory variables.
-
The term contains the cluster-specific effects . They are assumed to vary independently across clusters and are assumed to follow a specific distribution, typically the normal distribution, .
-
The term contains the effects of on the dependent variable. The parameters are fixed population-specific parameters.
The distribution of the dependent variables is crucially determined by the choice of the distribution function , also referred to as response function, and the thresholds function . Specific choices yield models that are in common use in random effects modeling. Other choices widen the toolbox yielding models that show better fits than classical approaches. Thresholds models have been considered before in the form of item thresholds model (Tutz, 2022), which are latent trait models that aim at measurement and do not contain any covariates. The objective of the models considered here is quite different. The focus is on the effect of covariates on responses, with covariates that can take quite dfferent forms. They can be measurement-specific, unit-specific or both, which raises problems, in particular with the possible number of parameters involved.
The role the response and the thresholds function play in modeling the response distribution will become obvious when considering specific choices. In Section 2 the case of continuous responses is considered with linear and non-linear thresholds functions. Section 3 is devoted to discrete data with infinite and finite support. Joint modeling, which allows for different types of responses, in particular a mixture of continuous and discrete responses, are considered in Section 4. Marginal likelihood estimation methods are given in Section 5. In Section 6 the problem of obtaining sparser representations is addressed. Several small examples are used to demonstrate the versatility of the approach. They are meant for illustration, no in-depth investigation of effects is given.
2 Continuous Dependent Variables
We start with models that contain linear thresholds functions. The model class comprises the classical normal response model but allows for alternative distributions. Then we consider models for restricted support, which call for non-linear thresholds functions.
2.1 Linear Random Effects Models for Gaussian Data and Other Distributions
Let the dependent variables be continuous with support . Then a thresholds function that is simple but already yields very flexible models is the linear thresholds function
Let denote a fixed, typically standardized, distribution function with support , for example the standardized normal distribution function. Then, the means and variances of dependent variables have a very simple form,
(2) |
where , and are constants that are determined by the distribution function . More concrete, is the expectation corresponding to distribution function and the corresponding variance; for a proof see Proposition 7.1.
It is seen that the means of dependent variables are simple linear functions of and the variances vary across measurements. It is a linear model but not necessarily for Gaussian data. Responses can take any strictly increasing distribution function. The model parameterizes the mean as a linear function of covariates also if responses follow a skewed distribution, which might be more appropriate in applications.
The distribution of responses is easily derived since the density of variable is given by
(3) |
where denotes the density linked to , . It means, in particular, that for symmetric distribution functions the distributions of all dependent variables are scaled and shifted versions of the distribution specified by . If is not symmetric the distributions of all dependent variables are scaled and shifted versions of the distribution function . This is easily seen by considering the distribution function of , which is given by .
A simplified version is the homogeneous GMT model, in which does not depend on the measurement, that is . Then, the variance is the same for all observations and the mean and variance have the simple form
(4) |
where are the original parameters divided by .
A special case of the GMTM is the classical linear random effects model with normally distributed dependent variables. Let denote the standardized normal distribution function and assume that dispersion homogeneity holds (). Then, the dependent variables are normally distributed with means and variance given by (4). A more familiar representation of the model is the vector-valued representation
where , the matrices are composed from the vectors and denotes the unit matrix.
The more general model with varying dispersion parameters is an extension of this classical model. It is more flexible and can be more appropriate, in particular when repeated measurements on a unit are time-dependent and the variance changes over time.
Within the MTM framework there is no need to assume that dependent variable are normally distributed. Any strictly monotone distribution function can be used in the model. With linear thresholds function one obtains a linear form of the expectation and simple terms for the variance. In particular skewed distribution can be used. This extends the usual normal distribution approach to modeling clustered data to a wider class of models with a simple link between covariates and measurements.
Rent data
For illustration we use the Munich rent index data. The variables are rent (monthly rent in Euros), floor (floor space), rooms (number of rooms), age in years. There are 25 districts (residential areas) which have an effect on rents and are modeled as random effects. For an extensive description of the rent data see Fahrmeir et al. (2011). The rent is the dependent variable, floor space, number of rooms and age are explanatory variables.
Monthly rents tend to have a right-skewed distribution since there are typically some houses that are much more expensive than the average house. Thus, the normal distribution might not be the best choice for modeling this kind of data. A candidate for a right right-skewed distribution is the Gumbel distribution , which is the distribution of responses if one chooses the Gompertz distribution as response function . As the log-likelihoods in Table 1 show the assumption of the Gumbel distribution for responses (F(.) is chosen as the Gompertz distribution) yields better fit. The Gompertz distribution as a left-skewed distribution for responses (if is chosen as the Gumbel distribution function ) yields much worse fit and is not shown.
response distribution | Floor | Rooms | Age | std mixture | log-lik |
---|---|---|---|---|---|
Normal | 0.073 | -0.593 | -0.010 | 0.244 | -3389.992 |
stderr | ( 0.004) | (0.087) | (0.002) | ||
Gumbel | 0.050 | -0.280 | -0.012 | 0.331 | -3366.059 |
stderr | ( 0.004) | (0.099) | (0.002) |
2.2 Random Effects Models for Positive-Valued Variables
In many applications the dependent variable can take only positive values, for example if responses are response times. Although often used, the assumption of a normal distribution or any other distribution with support is not warranted and will only yield a crude approximation to the true distribution.
In the MTM the support of the dependent variable can be restricted by using an appropriate thresholds function . If the difficulty function is chosen such that holds the responses automatically has positive values, . One candidate that can be chosen is the logarithmic thresholds function
Thresholds functions of this type combine linearity with a transformation function. The general form of thresholds functions of this type, which are used throughout the paper, is
(5) |
where is a non-decreasing function. Thresholds functions, of this form are simply named after the transformation function .
If the thresholds function is logarithmic a familiar distribution is found if is chosen as the standard normal distribution function. Then, one can derive that the density of denoted by is given by
(6) |
where , . This is the lognormal distribution with parameters . Thus the logarithmic thresholds function generates a random effects model in which dependent variables follow a lognormal distribution.
Sleep Data
In a sleep deprivation study the average reaction time per day for subjects has been measured (data set sleepstudy from package lme4). On day 1 the subjects had their normal amount of sleep. Starting that night they were restricted to 3 hours of sleep per night. The observations represent the average reaction time on a series of tests given each day to each subject. The 10 days represent the repeated measurements on 18 persons.
Instead of using a normal distribution model with linear effect of days a thresholds model with normal response function and logarithmic thresholds function is used. In the model
the random effect refers to the person and accounts for the effect of days. It is not assumed that the mean is a linear function of days as is common in typical random effects models. Instead, the basic variation of responses over repeated measurements is captured in the parameters . The parameters account for possible heterogeneity of variances. The function, which makes the dependent variables follow a log-normal distribution shows slightly better fit than the common normal distribution model. The log-likelihood was -872.96 with the function and -875.50 for the identity function (Gaussian distribution). Figure 1 shows the fitted densities for days 1,3,5,9 for and . It is seen that the distributions have quite different forms and variances vary across days. The mean reaction time increases as well as the variances increase over days of sleep deprivation .


2.3 Random Effects Models for Continuous Bounded Data
Various regression model have been proposed for continuous bounded data in the form of rates and proportions that take values in the interval , see, for example, Kieschnick and McCullough (2003), Bonat et al. (2019). Also mixed model versions for repeated measurement have been developed, in particular the simplex mixed model (Qiu et al., 2008) and beta mixed models (Bonat et al., 2015).
Let us more generally consider the case where . The restriction of responses to the interval is obtained within the thresholds model framework by choosing thresholds functions for which and hold since then and . A thresholds function that meets these demands is, for example, the logit thresholds function
Instead of any inverse distribution function can be used. The logistic distribution function is just one option, which yields the logit function with .
While simple terms for means and variances of the dependent variable can be found only for simple thresholds functions as the linear one it is straightforward to show that for any (non-decreasing) transformation function means and expectations of the transformed variables are given by
(7) |
see Proposition 7.2 for a proof. That means the mean of the responses is a linear function of covariates and variances can vary over measurements.
To illustrate the restriction to intervals generated by properly chosen thresholds functions Figure 2 shows the obtained distributions if is the normal distribution, the predictor is with binary predictor , and . In the left picture , in the right picture . The drawn line shows the density for , the dashed line for . It is seen that the logit type distribution ensures that the support of the distribution is . For larger random effect (right picture) the density becomes larger close to the upper boundary.


3 Discrete Data
Discrete data come in two forms, with infinite support and finite support. We will consider first the case of infinite support than the case where the response is in categories. In the latter typically only ordinal scale level is assumed for the dependent variable.
3.1 Random Effects Models for Count Data
Let the responses be counts, that is, takes values from . If responses are assumed to follow a Poisson distribution mixed models can be formulated within the generalized linear model framework. Extended versions that are able to account for overdispersion as the negative binomial model have been considered by Tempelman and Gianola (1996), Molenberghs et al. (2007), Zhang et al. (2017). In psychometrics also the Conway-Maxwell-Poisson model has been used albeit without covariates (Forthmann et al., 2020).
In the mixed thresholds model the discrete density or mass function is given by
A thresholds function that ensures that the responses have support is the shifted logarithmic thresholds function
The resulting model is as flexible as models that account for overdispersion. In particular the varying slopes make it very flexible and able to account for changes in distributional shape over measurements.
Epileptics Data
The response in the data set epil from R package mass is the number of seizures in a fixed period (four periods considered). As covariates we use age, treatment (1: treatment, 0: placebo) and base (number of seizures at the beginning of the trial). The model uses a logarithmic thresholds function . As response function we used again the normal, the Gompertz and the Gumbel distribution. As the following table shows the Gumbel distribution shows much better fit than the normal distribution, the fit of the Gompertz was much worse (not given).
Response distribution | treatment | base | age | log-lik | AIC |
---|---|---|---|---|---|
Gumbel | -0.534 | 0.059 | 0.019 | -604.520 | 1233.040 |
NV | -0.479 | 0.048 | 0.024 | -622.706 | 1269.412 |
The treatment effect is more pronounced in the Gumbel model yielding the likelihood-ratio test 5.658 as compared to 3.29 if the normal distribution is used. For illustration Figure 3 shows the densities for period 2 and 4 for placebo (left) and treatment (right) when using the Gumbel distribution, The other variables were chosen by , base=20, age=20, diamonds indicate period four, circles period two. It is seen that treatment distictly reduces the number of seizures.
The thresholds model fits much better than the Poisson model, which yields log-likelihood -651.8071 and AIC 1313.614. It also fits better than the more general negative binomial model, which yielded log-likelihood -609.711. AIC values of the Gumbel thresholds model and the negative binomial model are comparable (AIC for negative binomial model: 1231.423. Fitting of the Poisson and the negative binomial model was done by using the R package glmmTMB (Brooks et al., 2017).


3.2 Random Effects Models for Ordered Responses
Let take values from and assume that categories are ordered. The typical mixed model for this type of data is the cumulative mixed model considered among others by Jansen (1990) and Tutz and Hennevogl (1996) for univariate random effects. It has the form
(8) |
with ordered intercepts for all . For random intercepts it can be fitted by using the package ordinal .
The model is equivalent to the thresholds model
(9) |
with the special choices and .
However, the model (9) without restrictions is more general than the simple cumulative model (8). In the simple cumulative model the thresholds do not depend on the measurement . It is implicitly assumed that only covariates modify the distribution of the dependent variables. This is far too restrictive in many applications. In addition, in model (8) the effect of covariates does not depend on the measurement (). This is hardly realistic, in particular if dependent variables refer to different variables as in the fears data example considered in the following.
Since the range of outcomes is bounded similar thresholds functions as in the case of bounded continuous data should be used. We use the logit type function
with but close to 1, . grid or optimization, but very stable over varying values of .
An advantage of using a threshold function of the form instead of letting all intercepts vary freely (apart from order restrictions) is that sparser representations are obtained. Only parameters are needed instead of , also order restriction problems do not occur.
Fears Data
As an illustrating example, we consider data from the German Longitudinal Election Study (GLES). The data originate from the pre-election survey for the German federal election in 2017 and are concerned with political fears. The participants were asked: “How afraid are you due to the …” - (1) refugee crisis? - (2) global climate change? - (3) international terrorism? - (4) globalization? - (5) use of nuclear energy? The answers were measured on Likert scales from 1 (not afraid at all) to 7 (very afraid).
We fitted a discrete thresholds with logistic response function and logit difficulty function including covariates, gender (1: female; 0: male), standardized age in decades, EastWest (1: Eastern German countries/former GDR, 0: Western German countries/former FRG) and Abitur (High school degree for the admission to the university, 1:yes, 0:no). Table 2 shows the estimates of item parameters. The parameters given are the intercept and the slope of the difficulty function . It is seen that all items show significant covariate effects for at least one of the covariates ( z-values given below estimates). Older respondents tend to be more afraid than younger respondents, in particular concerning terrorism but less concerning climate change. Females have for all items higher fear levels than males, the effects of EastWest are rather mixed, people from the Eastern parts of the country are more afraid of globalization but less afraid of nuclear energy. Higher education seems to reduce the level of fears. The necessity of covariates is also supported by testing. The log-likelihood test that compares the model without covariates to the model with covariates is 88.081on 10 df. Thus, the covariates turn out to be influential if one accounts for the heterogeneity in the population.
The model fits better than the common cumulative model (8), in which thresholds do not depend on . By default the package ordinal fits models with global covariate effects, that is, . By constructing appropriate design matrices it is possible to fit variable-specific covariate effects. The corresponding model has log-likelihood -1710.76 which is much smaller than -1684.871 for the thresholds model. Consequently, in terms of AIC values the thresholds model fits better. AIC value for the model with measurement-specific covariate effects but global thresholds effects is 3475.52 (20 covariate effects, 6 thresholds, variance of mixing distribution). For the thresholds model one obtains 3431.87 (20 covariate effects, 10 difficulty function parameters, variance of mixing distribution).
Parameters | |||||||
Item | intercepts | slopes | Age | Gender | EastWest | Abitur | |
measurement- | specific | effects | |||||
1 | refugee | -0.341 | 1.653 | 0.151 | 0.606 | 0.392 | -1.388 |
2 | climate change | -1.140 | 1.858 | 0.013 | 1.061 | -0.594 | -0.062 |
3 | terrorism | -2.062 | 1.795 | 0.393 | 1.329 | 0.321 | -1.207 |
4 | globalization | 0.716 | 1.862 | 0.195 | 1.020 | 0.725 | -0.719 |
5 | nuclear energy | -0.922 | 1.641 | 0.254 | 0.379 | -0.416 | -0.300 |
Log-lik | -1684.871 | ||||||
values | covariates | ||||||
1 | refugee | 0.937 | 1.883 | 1.179 | -4.002 | ||
2 | climate change | 0.079 | 3.313 | -1.798 | -0.186 | ||
3 | terrorism | 2.354 | 3.935 | 0.939 | -3.468 | ||
4 | globalization | 1.236 | 3.184 | 2.206 | -2.108 | ||
5 | nuclear energy | 1.565 | 1.189 | -1.253 | -0.892 | ||
global | effects | ||||||
Log-lik | -1715.82 | 0.230 | 1.030 | 0.290 | -0.545 |
4 Joint Modeling of Different Types of Responses
A strength of the thresholds model is that dependent variables can be of various types. It allows for some of the measurements to be continous while others are binary, ordinal or given as counts. Also the combination of continuous measurements with differing support can be modeled in a joint random effects model. There have been some approaches to joint modeling of different types of responses in specificsettings, see, for example, Ivanova et al. (2016) with a focus on ordinal variables or Loeys et al. (2011), where a joint modeling approach for reaction time and accuracy in psycholinguistic experiments has been proposed. However, no general random effects model that allows to combine different types of responses seems available
The flexibility of thresholds models to account for various types of measurement is due to the general form of the model. Since the same model form, which specifies , applies to different types of measurement it is straightforward to obtain a joint model simply by allowing for different distributions (continuous or discrete) and specifying the thresholds function accordingly. For example, if measurement 1 is continuous and measurement 2 ordered categorical, one can choose for the first measurement the linear or logarithmic thresholds function (depending on the support) and for the second measurement the logistic thresholds function. The common random effects will account for the correlation between measurements without the need for an explicit new concept for the correlation between a continuous and an ordered categorical variable.
Sleep Data
As an illustrating example let us again consider the sleep deprivation data. Instead of using the average reaction time per day in all 10 measurements, the last two measurements were transformed to ordered categorical data. More concrete, the interval , which covers the reaction times, has been divided into six equidistant intervals and responses were coded as according to the responses in intervals. For the first eight measurement the logarithmic threshold function has been chosen, and they are specified as continuous. For the last two measurements the logit thresholds function has been chosen and the measurements are specified as discrete with values . The fitting of the model with normal response function yielded log-likelihood -768.597, which has to differ from the likelihood of the model with continuous responses considered earlier (-875.50) since now a combination of continuous and discrete distributions is assumed.
However, the variation of reaction times over days remains essentially the same. Figure 4 shows the densities for days 1,3,5 for (left) and (right). They are practically the same as the densities given in Figure 1, which shows the densities if all variables are considered as continuous.


5 Estimation
A general form of the threshold function term is given by , where is a vector that contains functions of . If the same threshold function is used for all measurements it can be specified as . Measurement-specific thresholds functions can be obtained by . But also more general vectors of functions can be useful. Using this parameterization, the model has the form
(10) |
For continuous measurement the density is
where contains the derivatives of the components and is the density linked to . If one obtains the simpler form
For discrete data with . the discrete density is given by
When assuming that random effects are normally distributed with mean zero and covariance matrix the marginal log-likelihood has the form
where is the density of the normal distribution with mean zero and covariance matrix . The corresponding log-likelihood is given by
Maximization of the marginal log-likelihood can be obtained by using Gauss Hermite quadrature, which has been used in generalized mixed models, see, for example, Anderson and Aitkin (1985), Liu and Pierce (1994), Hedeker and Gibbons (1994), Rodríguez (2008), Gueorguieva (2001). An alternatively is the EM, which was considered for mixed models among others by Bock and Aitkin (1981) Anderson and Aitkin (1985). Overviews on inference tools for generalized moxed models are found in Jiang and Nguyen (2007), McCulloch and Searle (2001).
6 Finding Sparser Models
As is seen from the fears data the effects of covariates can vary strongly across measurements. For example, the variable EastWest has positive values for some items but negative values for other items. People living in the Eastern part of Germany tend to show stronger fears concerning globalization and refugees but lesser fears concerning the climate crisis than people living in the Western part of Germany. Thus, the cultural imprint from living in different countries with differing experiences seems to still be present.
The inclusion of measurement-specific fixed effects make the general model considered here very flexible. A possible downside is that the model contains many parameters. Each variable comes with as many parameters as measurements are used. However, not each variable necessarily has effects that vary across measurements. Selecting those variables that have global effects, that is effects that do not vary across measurements, would yield sparser models with an easier interpretation.
One strategy to identify variables with global effect is testing. Likelihood ratio test for hypotheses of the form
can be used to test if single variables are global. Table 3 shows the results of testing for the fears data. It is seen that all of the variables should be considered as having effects that vary over measurements.
Age | Gender | EastWest | Abitur | log-likelihood | LR test | df |
---|---|---|---|---|---|---|
var | var | var | var | -1684.871 | ||
global | var | var | var | -1695.435 | 21.128 | 3 |
var | global | var | var | -1708.562 | 47.382 | 3 |
var | var | global | var | –1704.869 | 39.996 | 3 |
var | var | var | global | -1702.910 | 36.079 | 3 |





An alternative way to obtain sparser representations is to use penalization methods that have been widely used since the advent of the Lasso (Tibshirani, 1996). Instead of maximizing the usual marginal log-likelihood one maximizes the penalized log-likelihood
where is the usual log-likelihood and is a penalty term depending on a tuning parameter .
A penalty term that enforces the building of global variables and simultaneously select variables is given by
where is the -norm, contains all differences of effects between pairs of measurement for the th variable, and is the vector that collects all parameters linked to the -th variable. It is a penalty term built from two terms. The first term enforces the building of global variables. It is a grouped lasso type penalty that aims at the fusion of parameters. It enforces that whole groups of differences are set to zero with the group referring to differences of effects of single variables. In common grouped lasso penalties as considered by Yuan and Lin (2006) and Meier et al. (2008) groups refer to parameters linked to variables variables, not differences of parameters linked to variables. Fusion penalties have been used in particular to combine effects of adjacent categories when modeling the effects of categorical predictors, see Tutz and Gertheiss (2016), Gertheiss and Tutz (2023) and to enforce selection and shrinkage to global effects, for example, by Oelker and Tutz (2017). The second term is a selection term. It enforces that all parameters linked to specific variables are set to zero.
Figure 5 shows the resulting coefficient paths plotted against . For growing coefficients become more similar (global) while the shrinkage toward zero (elimination of variables) sets in rather late. Zero estimates are obtained for very large values of , well beyond the values that are shown. This is sensible since the variables certainly have an effect on the levels of fear. The last panel shows the negative cross-validation log-likelihood (5-fold cross-validation). It is seen that the smallest levels are obtained if is slightly above 2. In this range coefficients are still measurement-specific, which supports the testing results.
7 Concluding Remarks
It has been demonstrated that the thresholds model is very versatile and can be adapted to quite different distribution functions. Moreover, it can be used in joint modeling of different responses, which has not been considered in the literature since appropriate models have not been available. A rare exception is the modeling of survival data where joint modeling of survival times and longitudinal data has been considered, see, for example, Hsieh et al. (2006).
We used marginal estimation based on integration methods, but alternative estimation from the toolbox of mixed models could be used. Also alternative regularization methods could be useful when trying to find sparser representations, for an overview on basic regularization method including boosting, see Hastie et al. (2009).
The class of mixed thresholds models could be made even more flexible by letting the data decide which thresholds function is appropriate. In particular, B-splines as considered extensively by Eilers and Marx (2021) could be useful, which has been demonstrated by Tutz (2022) in the item-response setting without covariates.
Appendix
For simplicity, let the model be given in the form
(11) |
where and is a strictly increasing distribution function.
Proposition 7.1
Let the threshold function have the form , . Then, one obtains for the expectation and the variance
where with , , .
Proof: For linear item function the thresholds model has the form . The corresponding distribution function is
which has the density
Thus, the mean is given by
With and one obtains
where is a parameter that depends on only.
The variance is given by
where .
Proposition 7.2
Let the threshold function have the form , . Then, one obtains
Proof: The mean is given by
With one obtains
since .
The variance is given by
References
- Anderson and Aitkin (1985) Anderson, D. A. and M. Aitkin (1985). Variance component models with binary response: Interviewer variability. Journal of the Royal Statistical Society Series B 47, 203–210.
- Bock and Aitkin (1981) Bock, R. D. and M. Aitkin (1981). Marginal maximum likelihood estimation of item parameters: An application of an EM algorithm. Psychometrika 46, 443–459.
- Bonat et al. (2019) Bonat, W. H., R. R. Petterle, J. Hinde, and C. G. Demétrio (2019). Flexible quasi-beta regression models for continuous bounded data. Statistical Modelling 19(6), 617–633.
- Bonat et al. (2015) Bonat, W. H., P. J. Ribeiro Jr, and W. M. Zeviani (2015). Likelihood analysis for a class of beta mixed models. Journal of Applied Statistics 42(2), 252–266.
- Brooks et al. (2017) Brooks, M. E., K. Kristensen, K. J. Van Benthem, A. Magnusson, C. W. Berg, A. Nielsen, H. J. Skaug, M. Machler, and B. M. Bolker (2017). glmmtmb balances speed and flexibility among packages for zero-inflated generalized linear mixed modeling. The R journal 9(2), 378–400.
- Eilers and Marx (2021) Eilers, P. H. and B. D. Marx (2021). Practical Smoothing: The Joys of P-splines. Cambridge University Press.
- Fahrmeir et al. (2011) Fahrmeir, L., T. Kneib, S. Lang, and B. Marx (2011). Regression. Models, Methods and Applications. Berlin: Springer Verlag.
- Forthmann et al. (2020) Forthmann, B., D. Gühne, and P. Doebler (2020). Revisiting dispersion in count data item response theory models: The Conway–Maxwell–Poisson counts model. British Journal of Mathematical and Statistical Psychology 73(1), 32–50.
- Gertheiss and Tutz (2023) Gertheiss, J. and G. Tutz (2023). Regularization and predictor selection for ordinal and categorical data. In Trends and Challenges in Categorical Data Analysis: Statistical Modelling and Interpretation, pp. 199–232. Springer.
- Gueorguieva (2001) Gueorguieva, R. (2001). A multivariate generalized linear mixed model for joint modelling of clustered outcomes in the exponential family. Statistical modelling 1(3), 177–193.
- Hartzel et al. (2001) Hartzel, J., I. Liu, and A. Agresti (2001). Describing heterogenous effects in stratified ordinal contingency tables, with applications to multi-center clinical trials. Computational Statistics & Data Analysis 35(4), 429–449.
- Harville and Mee (1984) Harville, D. A. and R. W. Mee (1984). A mixed-model procedure for analyzing ordered categorical data. Biometrics 40, 393–408.
- Hastie et al. (2009) Hastie, T., R. Tibshirani, and J. H. Friedman (2009). The Elements of Statistical Learning (Second Edition). New York: Springer-Verlag.
- Hedeker and Gibbons (1994) Hedeker, D. and R. B. Gibbons (1994). A random-effects ordinal regression model for multilevel analysis. Biometrics 50, 933–944.
- Hsiao (1986) Hsiao, C. (1986). Analysis of Panel Data. Cambridge: Cambridge University Press.
- Hsieh et al. (2006) Hsieh, F., Y.-K. Tseng, and J.-L. Wang (2006). Joint modeling of survival and longitudinal data: likelihood approach revisited. Biometrics 62(4), 1037–1043.
- Ivanova et al. (2016) Ivanova, A., G. Molenberghs, and G. Verbeke (2016). Mixed models approaches for joint modeling of different types of responses. Journal of Biopharmaceutical Statistics 26(4), 601–618.
- Jansen (1990) Jansen, J. (1990). On the statistical analysis of ordinal data when extravariation is present. Applied Statistics 39, 74–85.
- Jiang and Nguyen (2007) Jiang, J. and T. Nguyen (2007). Linear and generalized linear mixed models and their applications, Volume 1. Springer.
- Jones (1993) Jones, R. H. (1993). Longitudinal Data with Serial Correlation: A State-Space Approach. London: Chapman & Hall.
- Kieschnick and McCullough (2003) Kieschnick, R. and B. D. McCullough (2003). Regression analysis of variates observed on (0, 1): percentages, proportions and fractions. Statistical modelling 3(3), 193–213.
- Lindsey (1993) Lindsey, J. J. (1993). Models for Repeated Measurements. Oxford: Oxford University Press.
- Liu and Pierce (1994) Liu, Q. and D. A. Pierce (1994). A note on Gauss-Hermite quadrature. Biometrika 81, 624–629.
- Loeys et al. (2011) Loeys, T., Y. Rosseel, and K. Baten (2011). A joint modeling approach for reaction time and accuracy in psycholinguistic experiments. Psychometrika 76, 487–503.
- McCulloch and Searle (2001) McCulloch, C. and S. Searle (2001). Generalized, Linear, and Mixed Models. New York: Wiley.
- Meier et al. (2008) Meier, L., S. van de Geer, and P. Bühlmann (2008). The group lasso for logistic regression. Journal of the Royal Statistical Society, Series B 70, 53–71.
- Molenberghs et al. (2007) Molenberghs, G., G. Verbeke, and C. G. Demétrio (2007). An extended random-effects approach to modeling repeated, overdispersed count data. Lifetime data analysis 13, 513–531.
- Oelker and Tutz (2017) Oelker, M. and G. Tutz (2017). A uniform framework for the combination of penalties in generalized structured models. Advances in Data Analysis and Classification 11, 97–120.
- Qiu et al. (2008) Qiu, Z., P. X.-K. Song, and M. Tan (2008). Simplex mixed-effects models for longitudinal proportional data. Scandinavian Journal of Statistics 35(4), 577–596.
- Rodríguez (2008) Rodríguez, G. (2008). Multilevel generalized linear models. In Handbook of multilevel analysis, pp. 335–376. Springer.
- Schauberger (2024) Schauberger, G. (2024). Package multordrs.
- Tempelman and Gianola (1996) Tempelman, R. J. and D. Gianola (1996). A mixed effects model for overdispersed count data in animal breeding. Biometrics, 265–279.
- Tibshirani (1996) Tibshirani, R. (1996). Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society B 58, 267–288.
- Tutz (2022) Tutz, G. (2022). Item response thresholds models: A general class of models for varying types of items. Psychometrika (87), 1238–1269.
- Tutz and Gertheiss (2016) Tutz, G. and J. Gertheiss (2016). Regularized regression for categorical data. Statistical Modelling 16, 161–200.
- Tutz and Hennevogl (1996) Tutz, G. and W. Hennevogl (1996). Random effects in ordinal regression models. Computational Statistics and Data Analysis 22, 537–557.
- Yuan and Lin (2006) Yuan, M. and Y. Lin (2006). Model selection and estimation in regression with grouped variables. Journal of the Royal Statistical Society B 68, 49–67.
- Zhang et al. (2017) Zhang, X., H. Mallick, Z. Tang, L. Zhang, X. Cui, A. K. Benson, and N. Yi (2017). Negative binomial mixed models for analyzing microbiome count data. BMC bioinformatics 18, 1–10.