Abstract
In their seminal work on characterizing the manifest probabilities of latent trait models, Cressie and Holland give a theoretically important characterization of the marginal Rasch model. Because their representation of the marginal Rasch model does not involve any latent trait, nor any specific distribution of a latent trait, it opens up the possibility for constructing a Markov chain - Monte Carlo method for Bayesian inference for the marginal Rasch model that does not rely on data augmentation. Such an approach would be highly efficient as its computational cost does not depend on the number of respondents, which makes it suitable for large-scale educational measurement. In this paper, such an approach will be developed and its operating characteristics illustrated with simulated data.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Over the last two decades, Markov chain - Monte Carlo (MCMC) approaches to Bayesian inference for item response theory (IRT) models have become increasingly popular. Most applications follow the data augmentation Gibbs (DA-Gibbs) approach of Albert (1992) (see also, Albert & Chib, 1993) for the normal ogive model. The work of Albert (1992) has been extended in many directions, see for instance Maris and Maris (2002), Fox and Glas (2001), Béguin and Glas (2001), and many others.
Data augmentation provides a very powerful tool to simplify sampling from distributions that are otherwise intractable. However, the tractability comes at a prize in terms of both the autocorrelation and the computational cost of every step in the resulting Markov chain, which limits its usefulness for large-scale applications.
The approach advocated by Albert (1992) involves two layers of augmented data. First, for every person an unobserved ability is introduced, and second, for every item response a normally distributed variable is introduced. Johnson and Junker (2003) propose to use a Metropolis-within-Gibbs algorithm to remove one layer of augmented data from the problem.
In this paper, a different approach will be developed that does not use data augmentation at all, and hence will give a Markov chain with lower autocorrelation, whilst at the same time producing tractable full conditional distributions. Moreover, as will become apparent later on, the computational cost for every iteration of the algorithm is independent of the number of persons. This combination makes our algorithm suitable for large-scale applications involving both large numbers of items and persons.
We take as our starting point the theoretically important characterization of the marginal Rasch model from Cressie and Holland (1983). They not only give a representation of the marginal Rasch model, but also show that without further parametric assumptions on the distribution of ability only a limited number of characteristics of the ability distribution can be estimated. Using the famous Dutch identity (Holland, 1990), we develop a parametrization of the marginal Rasch model in terms of item difficulty parameters, and Expected A Posteriori (EAP) estimators for ability. That is, even though the individual ability parameters do not figure in the Cressie and Holland (1983) characterization of the marginal Rasch model, their EAP estimators do figure in the model.
Recent work on the Cressie and Holland (1983) characterization of the marginal Rasch model has centred on constrained versions (Hessen, 2011; 2012), and on pseudo-likelihood approaches to parameter estimation (Anderson, Li, & Vermunt, 2007). Our work is complementary to such recent work, in that it provides researchers with a fully Bayesian approach to statistical inference suitable for use in large-scale educational measurement contexts.
This paper is organized as follows. In Sect. 2 the characterization of the marginal Rasch model from Cressie and Holland (1983) is revisited. In Sect. 3 a Gibbs sampler for the Cressie and Holland (1983) formulation of the marginal Rasch model is proposed. Section 4 provides some simulation studies to illustrate the working characteristics of our approach. Section 5 shows how the approach can be extended in a number of directions, and the paper ends with some concluding comments and discussion.
2 The (Extended) Marginal Rasch Model
If f denotes the density for the ability distribution, the marginal Rasch model may be expressed as followsFootnote 1:
where \(x_i\) equals one for correct and zero for incorrect responses, \(\delta _i\) is the difficulty of item i, and \(\theta \) denotes ability.
Recognizing that
is proportional to the posterior distribution of ability for someone who answers all items incorrectly, with as proportionality constant the (marginal) probability to answer all items incorrectly (\(P(\mathbf {0})\)), we may express the marginal Rasch model as follows:
where \(b_i=\exp (-\delta _i)\) and \(x_+\) denotes the sum score.
The theoretical significance of Eq. 2, which corresponds to Equation 13 from Cressie and Holland (1983), is that it clearly shows that one cannot infer the full population distribution from the marginal Rasch model. However, theoretically, important this result is, we will treat Eq. 2 as a characterization of the marginal Rasch model that is useful for constructing a Gibbs sampler for Bayesian inference.
With some further change of notation
we finally obtain the following characterization of the marginal Rasch model:
As it stands, the marginal Rasch model, as written in Eq. 3, need, without further constraints, not even represent a probability distribution. A constraint which suffices to ensure that Eq. 3 represents a probability distribution (i.e. \(\sum _{\mathbf {x}} P(\mathbf {x})=1\)) is the following:
in which the \(\gamma _s\) function denotes the elementary symmetric functionFootnote 2 of order s of the vector \(\mathbf {b}\).
Imposing the constraint in Eq. 4 we obtain the following expression for the marginal Rasch model
from which we readily see that it does indeed represent a probability distribution for all (non-negative) values of its parameters.
Additional insight in the structure of the marginal Rasch model derives from considering some of its properties. We focus on properties that are not only theoretically but also practically significant. First, from the distribution in Eq. 5 we readily find the following factorization
which gives the conditional likelihood distribution that is also used in conditional maximum-likelihood estimation for the Rasch model (Andersen, 1973) and the score distribution. Observe that the factorization shows that the observed score distribution is the sufficient statistic for \(\varvec{\lambda }\). Observe that the parameters \(\mathbf {b}\), \(\varvec{\lambda }\) and \(\mathbf {b}\), \(\varvec{\pi }\) are one–one transformations of each other. The last expression is due to Tjur (1982), and is called the extended Rasch model by Cressie and Holland (1983). We see directly from Eq. 6 that the conditional maximum- likelihood estimates of the item difficulty parameters (Andersen, 1973) are equivalent to their maximum-likelihood estimates under an extended Rasch model. As a consequence, Bayesian inferences for the parameters of the extended Rasch model can be perceived as the Bayesian analogue of conditional maximum-likelihood estimation.
Second, we consider the marginal and conditional distributions corresponding to Eq. 5. In particular, we consider the distribution of \(\mathbf {x}\) without item n (which we denote by \(\mathbf {x}^{(n)}\)):
where the last equality follows from the following recursive property of elementary symmetric functions (Verhelst, Glas, & van der Sluis, 1984):
and shows that \(\mathbf {X}^{(n)}\) is also a marginal Rasch model.
We readily obtain the distribution of \(X_n\) conditionally on the remaining \(n-1\) responses:
We find that this conditional distribution only depends on the remaining \(n-1\) responses via the raw score \(x_+^{(n)}\), and it is independent of the values of the remaining item parameters \(\mathbf {b}^{(n)}\). That is, expression 9 gives an analytical expression for the item-rest regression function, which may be used for evaluating the fit of the marginal Rasch model.
Third, in rewriting Eq. 2 as Eq. 3, we actually did more than just change the parametrization. Specifically, the model in Eq. 3 reduces to the model in Eq. 2 if, and only if, the \(\lambda _s\) parameters represent a sequence of moments. To appreciate the kind of constraints this implies, we consider \(\lambda _1\) and \(\lambda _2\). From the fact that the variance of a random variable is non-negative, we readily obtain that
In its most general form, these inequality constraints can be formulated as follows (Shohat & Tamarkin, 1943):
![](http://media.springernature.com/full/springer-static/image/art%3A10.1007%2Fs11336-015-9479-4/MediaObjects/11336_2015_9479_Equ62_HTML.gif)
and
![](http://media.springernature.com/full/springer-static/image/art%3A10.1007%2Fs11336-015-9479-4/MediaObjects/11336_2015_9479_Equ63_HTML.gif)
After introducing a Gibbs sampler for the extended Rasch model in Eq. 3, in the next Section, we consider how the additional constraints implied by the marginal Rasch model in Eq. 2 can be incorporated in the algorithm. In a more restricted setting, Theorem 3 of Hessen (2011) provides the constraints needed for the extended Rasch model to be equivalent to a marginal Rasch model in which the latent variable is normally distributed.
Fourth, even if all the moment constraints are met, the \(\lambda _s\) parameters are not very easy to interpret, as they correspond to a sequence of moments corresponding to the posterior distribution of ability for a person who fails all the items. For that reason we introduce a more natural parametrization. Specifically, from the Dutch identity (Holland, 1990) applied to the marginal Rasch model, we immediately obtain
which is recognized as the posterior expectation of ability for different scores. Observe that the posterior expectation of ability for a person who answers all questions correctly cannot be estimated. As we find later, this new parametrization is also useful when considering the moment constraints implied by the marginal Rasch model. In terms of the item parameters \(\mathbf {b}\) and the EAP parameters \(\varvec{\tau }\), the marginal Rasch model can be expressed as follows:
Fifth, a further consequence of the Dutch identity is that we can obtain not only the EAP estimators for ability, but also more generally
We proceed to show how this fact can be used in combination with an algorithm to sample from the posterior distribution of the parameters of the marginal Rasch model to obtain estimates of both the posterior mean and variance of ability, taking into account the uncertainty regarding the parameters of the marginal Rasch model. Using Eq. 11, we obtain that
and
from which we directly obtain (for \(s=0,\ldots ,n-1\))
which can be directly estimated (using Monte Carlo integration) with a sample from the posterior distribution of \(\varvec{\Lambda }\). Similarly, we can estimate the posterior variance of ability (for \(s=0,\dots ,n-2\))
where \(\mathcal {V}(\exp (\Theta )|X_+=s,\mathbf {b},\varvec{\lambda })\) is estimated as follows:
The first term on the right-hand side of Eq. 12 reflects uncertainty due to the fact that the parameters \(\mathbf {b}\) and \(\varvec{\lambda }\) are not known, whereas the second term reflects uncertainty due to finite test length. Specifically, as the number of persons tends to infinity, the first term in Eq. 12 tends to zero. The second term, however, tends to zero as the number of items tends to infinity.
For some, inferences regarding \(\exp (\theta )\) rather than regarding \(\theta \) directly may seem inconvenient. Particularly, since the posterior distribution of \(\exp (\theta )\) converges to its asymptotic (in the number of items) normal limit at a slower rate than does the posterior distribution of \(\theta \). Hence, the posterior mean and variance of \(\exp (\theta )\) need not give a good summary of the posterior distribution. Using Corollary 1 from Holland (1990), we may for scores for which the posterior distribution of \(\theta \) can be considered to be approximately normal, use the relation between moments of the log-normal distribution, and the mean and variance of the corresponding normal distribution to obtain approximations to the posterior mean and variances of \(\theta \) (denoted below with \(\mu _s\) and \(\sigma ^2_s\)):
and
such that
and
Finally, in the field of educational surveys (such as PISA, TIMMS, ESLC, etc.), the purpose of the study is to relate ability to student (or school, or system) characteristics. We shortly consider how such research could, in principle, be based on the marginal Rasch model. In typical applications, the relation between student responses and other student characteristics (e.g. gender) runs through ability. That is \(\mathbf {Y}\) (the student characteristics) and the student responses \(\mathbf {X}\) are independent conditionally on ability. Typically, the distribution of ability conditionally on \(\mathbf {Y}\) is modelled as a normal regression model.
Theorem 1
If and
, then also
Proof
The conditions of the Theorem imply the following joint distribution:
from which we immediately obtain
\(\square \)
Theorem 1 shows that under the assumptions of independence between \(\mathbf {X}\) and \(\mathbf {Y}\) conditionally on \(\theta \), and of sufficiency of the sum score, all information on the relation between \(\mathbf {Y}\) and \(\mathbf {X}\) is contained in the distribution of \(\mathbf {Y}\) conditionally on \(X_+\), which is (at least in principle) directly observable (to any desired degree of accuracy). Observe that Theorem 1 holds true for every element of \(\mathbf {Y}\) in isolation, which implies that we may model main effects of student characteristics with an appropriate item-rest regression function (with the item relating to an element of \(\mathbf {Y}\), and the rest to \(X_+\)). Observe furthermore that, using Bayes theorem, we may equally well estimate the distribution of \(X_+\) conditionally on an element from \(\mathbf {Y}\).
3 A Gibbs Sampler
Looking at the likelihood function in Eq. 5, we readily see that the parameters are not identifiable from \(\mathbf {X}\). Specifically, using the following well-known relation for elementary symmetric functions \(\gamma _s(c \mathbf {b})=c^s \gamma _s(\mathbf {b})\) (Verhelst et al., 1984), we obtain
with \(\lambda ^*_s=\lambda _s/c^s\). This type of non-identifiability can easily be resolved with a constraint on one of the item parameters \(b_i=1\) (which we assume to be the first one, without loss of generality). Observe, however, that changing the identifying constraint also changes the values of \(\varvec{\lambda }\). Observe, that the \(\lambda _s\) may all be multiplied with the same constant, without changing the distribution. This additional type of non-identifiability can easily be resolved by constraining one of the \(\lambda _s\) parameters to a constant.
In order to construct an algorithm for sampling from the posterior distribution of \(\mathbf {b}\) and \(\varvec{\lambda }\) corresponding to Eq. 5, a prior distribution needs to specified. We consider a simple prior distribution for the parameters which give rise to tractable full conditional distributions for each of the parameters. The prior we consider is the following:
Assuming that none of the items is answered (in)correctly by all students, and that every score occurs at least once, we can specify an improper uniform prior distribution of \(\mathbf {b}\) and \(\varvec{\lambda }\) by choosing all \(\alpha _i\) and \(\beta _s\) to be equal to one:
that still yields a proper posterior distribution.
Using this prior, the posterior distribution is the following:
where \(x_{+i}\) refers to the number of persons that make item i correct, \(m_s\) refers to the number of persons that obtain a sum score equal to s, and m denotes the number of persons.
The distribution in Eq. 14 is not very tractable. Specifically, it is not immediately clear how to generate iid draws from it. We show that using a Gibbs sampler (Geman & Geman, 1984; Gelfand & Smith, 1990; Casella & George, 1992) we obtain full conditional distributions that are each easy to sample from. In that way, we can generate a Markov chain for which the posterior distribution in Eq. 14 is the unique invariant distribution.
3.1 Full Conditional Distribution for \(b_i\)
The full conditional distribution for an item parameter \(b_i\) is proportional to
In order to see how a sample from the full conditional distribution in Eq. 15 may be generated, we use the recursive property of elementary symmetric functions in Eq. 8 which shows that elementary symmetric functions are linear in each of their arguments.
Using the result in Eq. 8 allows us to rewrite the full conditional distribution in Eq. 15 as follows:
where c is a constant depending only on all other parameters:
With a transformation of variables
we obtain the following expression
which is readily seen to be a beta distribution.
That is, if we generate y from a beta (\(x_{+i}+\alpha _i,m-x_{+i}-\alpha _i\)) distribution, then the following transformation of y (being the inverse to the transformation in Eq. 17)
gives us a draw from the full conditional distribution in Eq. 15. Formally, the distribution in Eq. 15 classifies as a scaled Beta prime distribution.
3.2 Full Conditional Distribution for \(\lambda _s\)
The full conditional distribution for an element of \(\varvec{\lambda }\) is readily seen to be the following:
As we found when considering the full conditional distribution for the item parameters, we see that the denominator in Eq. 19 is linear in \(\lambda _t\), such that we obtain
where now the constant (with respect to \(\lambda _t\)) c equals
We see that the full conditional distributions for both the \(b_i\) and the \(\lambda _s\) parameters belong to the same family of distributions.
4 Simulation Results
In this section we present some simulation results to illustrate the operating characteristics of our new Gibbs sampler. We focus on two aspects. First, we evaluate the autocorrelation in the Markov chain, which drives convergence. Second, we evaluate the computational burden. In Appendix an illustrative implementation of our Gibbs sampler is given in R (R Development Core Team, 2011). This code was used to generate the simulation results presented below. Observe that when n becomes large, significant computational advantages can be obtained by coding (parts of) the algorithm in a compiled language (e.g. C++, Fortran, Pascal). All simulations were run on a Lenovo X200s laptop with an Intel Core2 Duo CPU with a clock speed of 2.13 GHz and 2 gigabytes of memory running Windows 7 Enterprise.
4.1 Autocorrelation and Convergence
Convergence of Markov chains is driven by the autocorrelation structure of the chain. In this simulation study we evaluate the autocorrelation as a function of lag, and convergence of the Gibbs sampler. A Markov chain is converged in iteration t if the cumulative distribution function (CDF) at iteration t and \(t+1\) coincide. For a 30 item test, with true item difficulties uniformly distributed between \(-2\) and 2, and 100,000 persons drawn from a standard normal distribution, 5000 replications of the Gibbs sampler were run for 50 iterations each, with starting values uniformly distributed between 0 and 1 for b, and \(\lambda \). These 5000 Markov chains allow us to estimate the autocorrelation between any two iterations, and to evaluate the distribution of every parameter at every iteration.
Figure 1 shows the empirical CDF (ECDF) after 49 and 50 iterations for one item parameter (\(b_2\)) and one of the \(\lambda \) parameters (\(\lambda _{10}\)). It is clear from Figure 1 that after only 50 iterations the Markov chain is converged.
Figure 2 gives the autocorrelation for lag 0 to 50, after discarding the first 49 iterations. It is clear from Figure 2 that except for the lag 1 autocorrelation, autocorrelation is negligible.
We conclude that our Markov chain comes close to generating an independent and identically distributed sample from the posterior distribution, with virtually no autocorrelation whatsoever.
4.2 Computational Complexity
An algorithm for which the computational cost does not depend on the number of persons has in principle great advantages over algorithms for which the computational cost increases with the number of persons. For instance, we can guarantee that for some sample size \(m^*\) our algorithm will outperform any particular competitor for which the computational cost increases with sample size. However, it is only practically relevant if \(m^*\) is some modest number. Clearly, if \(m^*\) equals \(10^9\) there is little need for our algorithm. Moreover, the question remains whether our algorithm is feasible for realistic sample sizes. For instance, if for 30 items and \(10^5\) persons, one iteration takes a week, our algorithm may be more feasible than competitors, but still not feasible.
To evaluate the feasibility of the algorithm, the average time for one iteration for tests with a different number of items, and 100,000 persons, is given in Figure 3 (left panel).
The average time per iteration appears to increase as a quadratic function of the number of items. The largest cost per iteration is in the repeated evaluation of elementary symmetric functions, the computational complexity of which is quadratic in the number of items.
To illustrate the computational gain from coding the algorithm in a compiled language, we compare the naive R implementation that is in Appendix with a C implementation of both the full conditional distribution for b and \(\lambda \) that is called from within R using a dynamic link library. The right panel of Figure 3 gives results on the computational time per iteration for tests consisting of different numbers of items. We see that even for a test consisting of 200 items, we can do roughly 150 iterations per second, regardless of the number of students. Comparing the right with the left-hand panel in Figure 3 shows the dramatic improvement that results from implementing key parts of the algorithm in C (or Fortran, etc.).
Finally, for comparison, the DA-Gibbs sampler of Albert (1992), or the Metropolis-within-Gibbs sampler of Johnson and Junker (2003) have a computational cost that increases as a linear function of both the number of items and persons. For the DA-Gibbs sampler we illustrate the average time for one iteration, for a C implementation, with different numbers of items and 100,000 persons, in Figure 4. We see in Figure 4 that the average time per iteration increases as a linear function of the number of items, and is considerably larger than the average times for our new algorithm when implemented in C.
Number of items (n) versus average time per iteration (in seconds) for a C implementation of the DA-Gibbs sampler of Albert (1992).
4.3 Conclusion
The combination of low autocorrelation that implies a low number of burn in iterations to reach convergence of the Markov chain, and a small number of iterations after convergence on which inferences will be based, together with a cost per iteration that only depends on the number of items (such that for a test of 200 items we can do 9000 iterations a minute), make our Gibbs sampler extremely feasible, even for very large-scale applications.
5 Extensions
The approach taken to estimate the parameters of the marginal Rasch model can easily be generalized in various directions. To illustrate its flexibility, we consider dealing with incomplete designs, dealing with polytomous responses, dealing with multidimensional Rasch models and incorporating moment constraints. As will become clear, all of these generalizations can be combined with each other without losing the desirable characteristics of the simple algorithm presented above.
5.1 Incomplete Designs
The first problem we tackle is to show how the marginal Rasch model works out for data collected with a non-equivalent groups anchor test (NEAT) design. We consider the simplest NEAT design explicitly, but all results carry over immediately to more complicated designs.
Consider two groups of students, from possibly different populations, taking a test that consists of an anchor (we use \(\mathbf {x}\) to denote responses on the anchor, and \(\mathbf {b}\) for its item parameters), and a unique set of items (we use \(\mathbf {y}\) and \(\mathbf {z}\) for responses on the unique sets, and \(\mathbf {c}\) and \(\mathbf {d}\) for their parameters). Applying our representation for the marginal Rasch model we obtain the following two distributions:
and
It is immediately clear that for the parameters \(\mathbf {c},\mathbf {d},\varvec{\lambda }\) and \(\varvec{\eta }\), we obtain the same full conditional distributions as before. For the anchor items, the full conditional becomes the following:
which can be rewritten to the following general form:
which classifies as a rational distribution.
With a further transformation of variables used
we obtain
It is readily found that the natural logarithm of this distribution is concave and has linear tails and a single mode:
Since the distribution is log-concave, we may use the adaptive rejection sampler from Gilks and Wild (1992). As an alternative, we propose a Metropolis sampler with a proposal distribution that closely matches the full conditional distribution.
As a proposal distribution we consider the following distribution:
the logarithm of which has linear tails with the same slope, which is recognized to be of the same form as the full conditional distribution for \(b_i\) found with a complete design (i.e. Eq. 16 with a transformation of variables). We propose to choose the parameter c in such a way that the derivative of the logarithm of the proposal distribution with respect to \(\delta _i\) matches the value found for the target full conditional distribution, at its current value in the Markov chain. This proposal distribution closely matches the target full conditional distribution, as is illustrated in Figure 5 (left panel), which ensures that the resulting Metropolis-within-Gibbs algorithm will converge rapidly to its invariant distribution. For comparison, the right panel in Figure 5 gives the outer and inner hull for an adaptive rejection sampler based on three support points. Based on this comparison, we expect our Metropolis algorithm to outperform the adaptive rejection sampler, although either algorithm will work.
5.2 Multidimensional Model
A second generalization we want to consider is a situation where we have two tests measuring different constructs administered to a group of students. That is, we consider the following marginal likelihood:
Using the same approach as taken for the marginal Rasch model we obtain the following representation:
which may be reparameterized to
We readily find that all full conditionals will be of the same general form as those for the marginal Rasch model.
5.3 Polytomous Responses
As a generalization of the Rasch model for polytomous items we consider a special case of the Nominal Response Model (Bock, 1972) namely one with a fixed scoring rule. The Gibbs sampler for this model will be developed along the same lines as that for the Rasch model.
Consider an item i with \(J_i+1\) response alternatives \(j=0,\dots ,J_i\); one of which is chosen. Let \(X_{pi}\) denote the response alternative and for practical reasons we also consider the dummy coded variables \(Y_{ij} = 1\) if category j was chosen and \(Y_{ij}=0\) otherwise. The category response function of the NRM is given by
where \(a_{i0}=\delta _{i0}=0\) for identification. We assume that the parameters \(a_{ij}\) are known integer constant and the NRM specializes to an exponential family model in which \(y_{++}=\sum _i \sum _j a_{ij}y_{ij}=\sum _i a_{i,x_{pi}}\) is a sufficient statistic for \(\theta _p\). Among others the One Parameter Logistic Model (OPLM: Verhelst & Glas, 1995) and the partial credit model (e.g. Masters, 1982) are special cases that satisfy these additional constraints.
A derivation of the Gibbs sampler for this model proceeds along the same lines as before. First, with \(\prod _{i,j}\) as a shorthand notation for the product \(\prod _{i}\prod ^{J_i}_{j=1}\)
where \(b_{ij}=\exp (-\delta _{ij})\) and \(X=0\) denotes a response pattern where zero credit was earned on each of the items. Thus, we obtain the following parametrization of the marginal model:
where
are the elementary functions which satisfy the recursion
Note that all formulae specialize to those for the dichotomous Rasch model when \(J_i=1\) for all i, and \(a_{ij}=1\) for \(j=1\). Using the recursive property of the elementary symmetric functions, it follows that the denominator in the expression for \(P(\mathbf {x})\) is linear in individual parameters which means that the Gibbs sampler for the polytomous model will be similar to the one for the Rasch model. The difference is in the normalizing constants for the full conditional distributions.
5.4 Parameter Constraints
As observed above, the extended Rasch model reduces to the marginal Rasch model if, and only if, certain constraints on the \(\lambda _s\) parameters are met. Here we consider how parameter constraints can be incorporated in the Gibbs sampler. We focus on two different types of constraints. On the one hand we consider imposing some of the moment constraints on the \(\lambda _s\) parameters. On the other hand we show how to constrain the \(\lambda _s\) parameters such that the model reproduces moments of the score distribution, rather than the complete score distribution.
Before, we found that \(\lambda _2 - \lambda _1^2 \ge 0\), is one (and probably the simplest) of the moment constraints. However, all constraints are formulated as a function of a set of \(\lambda _s\) parameters that needs to be non-negative. Hence, the marginal Rasch model corresponds to an extended Rasch model with particular inequality constraints on the \(\lambda _s\) parameters.
In contrast to maximum-likelihood-based inference, Bayesian MCMC algorithms are particularly well suited for incorporating inequality constraints between parameters for the purpose of parameter estimation. Before illustrating this, we first recast the moment constraints in a different form, which is important for educational measurement purposes.
Using Eq. 11, we obtain from the non-negativity of the (posterior) variance (for every score) that
which we can equivalently express as
This expression is important, as it implies that the \(\tau \) parameters are a monotone function of the score, which is the minimal constraint on the extended Rasch model needed for educational measurement purposes.
We now consider how the Gibbs sampler can be adapted, to incorporate the inequality constraints in Eq. 28. In a Bayesian framework, inequality constraints are introduced through the prior distribution. Specifically, we obtain the following prior distribution for the \(\lambda \) parameters:
With this prior distribution, the full conditional distribution for, say, \(\lambda _2\) becomes
We find that all that is needed is an algorithm for sampling from a double-truncated scaled Beta prime distribution, which is a fully tractable problem.
The extended Rasch model is an exponential family model with as sufficient statistics the observed number of students answering each item correct, and the observed score distribution. If we impose a log-polynomial constraint on the \(\lambda _s\) parameters:
we effectively replace the entire score distribution as sufficient statistics with the first J non-central moments of the score distribution. This effectively smooths the observed score distribution.
6 Discussion
The algorithm proposed in this paper provides a flexible, robust, and highly efficient approach to Bayesian inference for the marginal Rasch model.
As opposed to maximum-likelihood estimation, our Bayesian approach (a) allows for accounting for all sources of uncertainty in the model parameters (especially in the posterior expectation of ability), (b) does not need computation and inversion of the information matrix (both of which are computationally expensive) and (c) allows for imposing moment constraints. This last point allows for considering models that are more restrictive than the extended Rasch model, yet less restrictive than the typical marginal Rasch model (i.e. assuming a normal distribution for ability).
The various generalizations we considered (incomplete data, polytomous responses, multidimensional marginal Rasch models, moment constraints) demonstrate the flexibility of our approach. The efficiency of our approach derives from the fact that no form of data augmentation is used. This not only is highly beneficial in terms of the resulting autocorrelation of the Markov chain, but also in terms of the computational cost. To be explicit, the computational cost is independent of the number of respondents, which makes our approach ideally suitable for large-scale educational measurement applications involving hundreds of thousands of respondents. The efficiency derives from our starting point, the closed form representation of the marginal Rasch model from Cressie and Holland (1983), that removes the need for any form of data augmentation. Because no assumptions need to be made regarding the distribution of ability, our approach is robust compared to other approaches that do rely on such assumptions. To wit, without assumptions there can also be no wrong assumptions, and hence no bias that may result from them. Because we in fact set up a Markov chain for the extended marginal Rasch model, we do not even have to assume that a distribution exists. The extended marginal Rasch model is a proper statistical model in its own right.
The alternative parametrization of the extended Rasch model in terms of the posterior expectations corresponding to the different scores (\(\tau _s\)) shows that the least assumption we would want to add to the model, in most educational measurement contexts, is that the sequence \(\tau _s\) is non-decreasing in s. This assumption ensures that all the item-rest regression functions are non-decreasing, which is what we would expect from a test intended to measure a single construct. This additional assumption is easily imposed and/or tested in a Bayesian framework.
This last remark being true, it is still worthwhile not only from a theoretical, but also from a practical, point of view to keep the distinction between the proper marginal Rasch model and the extended marginal Rasch model in mind. Much of the power of latent trait models such as the marginal Rasch model derives from the fact that a complex multivariate distribution may be reduced to a single (latent) variable, the relation of which with all sorts of other variables (both as explained and as explanatory) is an important field of research. Keeping the distinction between the proper and extended marginal Rasch model in mind, we can have two distinct meanings.
First, we may impose on the algorithm for the extended marginal Rasch model, the proper constraints to ensure that the parameters correspond to the marginal Rasch model. The simplest approach involves imposing the inequality constraints from the reduced moment problem via the prior distribution, as we illustrated. This approach is easily implemented and only requires an efficient algorithm for sampling from a truncated beta distribution.
Second, we may want to test the fit of the proper marginal Rasch model against the extended marginal Rasch model. That is, we want to test the hypothesis \(\lambda \in \Omega \) (where \(\Omega \) indicates the subset of the parameter space consistent with the reduced moment problem). This takes the form of testing a set of inequality constraints. In principle, this can be accomplished using Bayes factors or via evaluating the posterior probability of \(\Omega \). As this topic deserves attention in its own right, and its details extend well beyond the scope of this paper, we leave this as a topic for future research.
We perceive the use of our approach as being part of a plug-and-play divide-and-conquer approach to statistical inference for the Rasch model. The algorithm developed in this paper allows us to evaluate the fit of the marginal Rasch model, and allows for sound statistical inference on the item parameters, without the need for modelling the distribution of a latent trait. In a second step, after having concluded that the marginal Rasch model fits the data, we can start modelling the latent trait distribution. This topic will not be developed further in this paper and is also left for future research. Considering the representation of the marginal Rasch model in Eq. 6, this entails setting up a parametric model for the score distribution (\(\varvec{\pi }\)). Such a model is useful for the purpose of relating the latent trait to explanatory variables (e.g. for latent regression). Combining draws from the posterior distribution of the item parameters (integrating out the \(\varvec{\lambda }\) parameters), with draws from the posterior distribution of population specific parameters (in a parametric family of population distributions), conditionally on the item parameters, allows for the construction of simple and robust plug-and-play algorithms for survey research.
Notes
Where possible without introducing ambiguity, we suppress the difference between random variables and their realization.
The elementary symmetric function of order s of the vector \(\mathbf {b}\) is defined as
$$\begin{aligned} \gamma _s(\mathbf {b})=\sum _{\mathbf {x} \rightarrow s} \prod _i b_i^{x_i} \end{aligned}$$where the sum runs over all response patterns \(\mathbf {x}\) that yield the sum score s.
References
Albert, J. H. (1992). Bayesian estimation of normal ogive item response curves using Gibbs sampling. Journal of Educational Statistics, 17(3), 251–269.
Albert, J. H., & Chib, S. (1993). Bayesian analysis of binary and polychotomous response data. Journal of the American Statistical Association, 88(422), 669–679.
Andersen, E. B. (1973). Conditional inference and models for measuring. Unpublished doctoral dissertation, Mentalhygiejnisk Forskningsinstitut.
Anderson, C., Li, Z., & Vermunt, J. (2007). Estimation of models in the rasch family for polytomous items and multiple latent variables. Journal of Statistical Software, 20(6), 1–36.
Béguin, A. A., & Glas, C. A. W. (2001). MCMC estimation and some model-fit analysis of multidimensional IRT models. Psychometrika, 66(4), 541–562.
Bock, R. D. (1972). Estimating item parameters and latent ability when responses are scored in two or more nominal categories. Psychometrika, 37, 29–51.
Casella, G., & George, E. I. (1992). Explaining the gibbs sampler. The American Statistician, 46(3), 167–174.
Cressie, N., & Holland, P. (1983). Characterizing the manifest probabilities of latent trait models. Psychometrika, 48, 129–141.
Fox, J. P., & Glas, C. A. W. (2001). Bayesian estimation of a multilevel IRT model using Gibbs sampling. Psychometrika, 66, 269–286.
Gelfand, A. E., & Smith, A. F. (1990). Sampling-based approaches to calculating marginal densities. Journal of the American Statistical Association, 85(410), 398–409.
Geman, S., & Geman, D. (1984). Stochastic relaxation, Gibbs distributions and the Bayesian restoration of images. IEEE Transactions on Pattern Analysis and Machine Intelligence, 6, 721–741.
Gilks, W. R., & Wild, P. (1992). Adaptive rejection sampling for gibbs sampling. Journal of the Royal Statistical Society Series C (Applied Statistics), 41, 337–348.
Hessen, D. J. (2011). Loglinear representations of multivariate bernoulli rasch models. British Journal of Mathematical and Statistical Psychology, 64, 337–354.
Hessen, D. J. (2012). Fitting and testing conditional multinormal partial credit models. Psychometrika, 77(4), 693–709.
Holland, P. W. (1990). The dutch identity: A new tool for the study of item response models. Psychometrika, 55, 5–18.
Johnson, M. S., & Junker, B. W. (2003). Using data augmentation and Markov Chain Monte Carlo for the estimation of unfolding response models. Journal of Educational and Behavioral Statistics, 28, 195–230.
Maris, G., & Maris, E. (2002). A MCMC-method for models with continuous latent responses. Psychometrika, 67, 335–350.
Masters, G. N. (1982). A Rasch model for partial credit scoring. Psychometrika, 47, 149–174.
R Development Core Team. (2011). R: A language and environment for statistical computing [Computer software manual]. Vienna, Austria. Retrieved from http://www.R-project.org/ (ISBN 3-900051-07-0).
Shohat, J. H., & Tamarkin, J. D. (1943). The problem of moments. New York: American Mathematics Society.
Tjur, T. (1982). A connection between Rasch’s item analysis model and a multiplicative poisson model. Scandinavian Journal of Statistics, 9(1), 23–30.
Verhelst, N. D., & Glas, C. A. W. (1995). The one parameter logistic model: OPLM. In G. H. Fischer & I. W. Molenaar (Eds.), Rasch models: Foundations, recent developments and applications (pp. 215–238). New York: Springer.
Verhelst, N. D., Glas, C. A. W., & van der Sluis, A. (1984). Estimation problems in the Rasch model: The basic symmetric functions. Computational Statistics Quarterly, 1(3), 245–262.
Acknowledgments
San Martin’s research was funded by ANILLO Project SOC 1107.
Author information
Authors and Affiliations
Corresponding author
Appendix: Illustrative R Code
Appendix: Illustrative R Code
![figure a](http://media.springernature.com/lw685/springer-static/image/art%3A10.1007%2Fs11336-015-9479-4/MediaObjects/11336_2015_9479_Figa_HTML.gif)
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Maris, G., Bechger, T. & Martin, E.S. A Gibbs Sampler for the (Extended) Marginal Rasch Model. Psychometrika 80, 859–879 (2015). https://doi.org/10.1007/s11336-015-9479-4
Received:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11336-015-9479-4