Skip to main content
Psychometrika logoLink to Psychometrika
. 2025 Mar 17;90(3):1136–1152. doi: 10.1017/psy.2025.9

Consistency Theory of General Nonparametric Classification Methods in Cognitive Diagnosis

Chengyu Cui 1,†, Yanlong Liu 2,†, Gongjun Xu 1,✉
PMCID: PMC12483721  PMID: 40190101

Abstract

Cognitive diagnosis models (CDMs) have been popularly used in fields such as education, psychology, and social sciences. While parametric likelihood estimation is a prevailing method for fitting CDMs, nonparametric methodologies are attracting increasing attention due to their ease of implementation and robustness, particularly when sample sizes are relatively small. However, existing consistency results of the nonparametric estimation methods often rely on certain restrictive conditions, which may not be easily satisfied in practice. In this article, the consistency theory for the general nonparametric classification method is reestablished under weaker and more practical conditions.

Keywords: cognitive diagnosis, consistency theory, general nonparametric classification method, Q-matrix

1. Introduction

Cognitive diagnosis models (CDMs), also known as diagnostic classification models (DCMs), are a popular family of discrete latent variable models employed in diagnostic assessments to provide detailed information about subjects’ latent attributes based on their responses to designed diagnostic items. For instance, in educational testing, these latent attributes might indicate if a subject has mastered certain skills or not (de la Torre, 2011; Henson et al., 2009; Junker & Sijtsma, 2001); in psychiatric diagnosis, the latent attributes might signal the presence or absence of certain mental disorders (de la Torre et al., 2018; Templin & Henson, 2006).

Parametric models for cognitive diagnosis have been developed and widely applied in practice. Popular examples include the deterministic input, noisy “and” gate (DINA) model (Junker & Sijtsma, 2001), the deterministic input, noisy “or” gate (DINO) model (Templin & Henson, 2006), the general diagnostic model (GDM; von Davier, 2008), the reduced reparameterized unified model (reduced RUM; Hartz, 2002), the log-linear CDM (LCDM; Henson et al., 2009), and the generalized DINA model (GDINA; de la Torre, 2011). In conventional settings with a fixed number of items (J) and a large number of subjects (N), the latent attributes are often viewed as random variables. The corresponding CDMs can thus be viewed as a family of finite mixture models, where each subject’s latent attribute profile Inline graphic behaves as a discrete random variable following a categorical distribution. From this perspective, the estimation often takes place through the maximization of the marginal likelihood, relying on methods such as the expectation-maximization algorithm (de la Torre, 2011; DiBello et al., 2007; von Davier, 2008). However, the maximum likelihood-based approach often necessitates sufficiently large assessments to guarantee the reliability of the item parameter estimation, and it may either produce inaccurate estimates with small sample sizes or suffer from high computational costs (Chiu & Köhn, 2019a; Chiu et al., 2018). Moreover, the parametric CDMs involve certain parametric assumptions about the item response functions, which may raise concerns about the validity of the assumed model and the underlying process (Chiu & Douglas, 2013).

As an alternative, researchers have explored nonparametric cognitive diagnosis methods (Chiu & Köhn, 2019b; Chiu et al., 2009). Instead of modeling the item response functions parametrically, the nonparametric methods aim to directly categorize subjects into latent groups by minimizing certain distance measure between a subject’s observed item responses and some expected “centers” of the latent groups. Two popular examples of nonparametric cognitive diagnosis methods include the nonparametric classification (NPC) method (Chiu & Douglas, 2013) and its generalization, the general NPC (GNPC) method (Chiu et al., 2018). The GNPC method, in particular, has received increasing attention in recent years due to its effectiveness in handling complex CDMs and its good performance for sample sizes (Chandía et al., 2023; Chiu & Chang, 2021; Ma, de la Torre, et al., 2023; Wang et al., 2023). The algorithms of the NPC and GNPC methods are straightforward to implement and require minimal computational resources, making them highly appealing for practical applications.

Theoretical properties of the nonparametric methods have also been explored in the literature. Under some regularity conditions, the NPC estimators of the subjects’ latent attribute profiles have been shown to be statistically consistent for certain CDMs, including DINA and reduced RUM (Wang & Douglas, 2015), and a similar consistency theory for the GNPC estimator has also been established (Chiu & Köhn, 2019a). However, the current theoretical guarantees for these nonparametric methods depend on relatively stringent assumptions. In the case of the NPC method, the assumptions associated with the ideal binary responses might oversimplify the underlying diagnostic process and thus be challenging to fulfill when dealing with complex underlying CDMs, such as the GDINA model and other general CDMs (Chiu et al., 2018). Although the GNPC method addresses the oversimplification issue of the NPC method, its consistency depends on a key assumption that consistent initial estimators of the latent attribute profiles are available. For instance, Theorem 1 in Chiu and Köhn (2019a) provides theoretical guarantees for the GNPC estimators, assuming an initialization that consistently estimates the ground truth latent memberships. Similarly, Theorems 1–3 in Ma, de la Torre, et al. (2023) require consistent estimation of latent memberships from a calibration dataset to establish their consistency results. The assumption that consistent initial estimators of latent attribute profiles can be obtained or that a calibration dataset is available may be overly restrictive in practice, and the consistency of the GNPC method in more realistic settings remains an open problem.

In this article, we establish the consistency for the GNPC method using different theoretical techniques, without relying on the previous assumption on initial consistent estimators or calibration datasets. Our analysis covers both the original GNPC method in Chiu and Köhn (2019a) and a modified version of the GNPC method in Ma, de la Torre, et al. (2023).

We establish finite-sample error bounds for latent attributes of general nonparametric methods as well as uniform consistency of the item parameters. We would like to clarify that the main contribution of this work lies in the theoretical analysis of the GNPC and modified GNPC methods. For the implementation of these methods, we recommend utilizing the algorithms proposed in the literature (Chiu & Köhn, 2019a; Chiu et al., 2018; Ma, de la Torre, et al., 2023), which have demonstrated the effectiveness of GNPC methods via extensive simulation studies and real data examples.

The rest of the paper is organized as follows: Section 2 provides a brief review of cognitive diagnostic models and discusses the limitations in the existing consistency results. Section 3 establishes consistency results of the GNPC methods. In Section 4, we provide a simulation study to illustrate our theoretical results. Section 5 gives some further discussions, and the Supplementary Material provides the proofs for the main results.

2. Model setup and nonparametric methods

This work focuses on CDMs for multivariate binary data, which are commonly encountered in educational assessments (correct/wrong answers) and social science survey responses (yes/no responses) (von Davier & Lee, 2019). For N subjects and J items, the observed data is an Inline graphic binary matrix Inline graphic , where Inline graphic or Inline graphic denotes whether the ith subject gives a positive response to the jth item. Consider K binary latent attributes. Let the row vector Inline graphic represent the latent attribute profile for the ith subject, where Inline graphic or Inline graphic indicates the presence or absence, respectively, of the kth attribute for the ith individual. We further use an Inline graphic binary matrix, Inline graphic , to represent the latent attribute profiles for all N subjects.

To capture the dependence relationship between items and the latent attributes of subjects, a design matrix called the Q-matrix (Tatsuoka, 1985) is employed. The Q-matrix encodes how the J items depend on the K latent attributes. Specifically, Inline graphic , where Inline graphic or Inline graphic indicates whether the jth test item depends on the kth latent attribute, and we denote the jth item’s Q-matrix vector as Inline graphic .

For an integer m, we denote Inline graphic and for a set Inline graphic , we denote its cardinality by Inline graphic . We denote Inline graphic for any Inline graphic , Inline graphic and Inline graphic , and let Inline graphic . We assume each response Inline graphic follows a Bernoulli distribution with parameter Inline graphic and the responses are independent with each other conditional on the latent attribute profiles Inline graphic and the structure loading matrix Inline graphic . In summary, the data generative process aligns with the following latent class model:

2.

To further illustrate the adaptability of the general nonparametric method to the model structures embedded in CDMs imposed by the structural matrix Inline graphic , we follow the general assumption for the restricted latent class models (Chiu & Köhn, 2015; Ma, de la Torre, et al., 2023; Xu, 2017) that for different attribute profiles Inline graphic and Inline graphic ,

2. (1)

where Inline graphic denotes the element-wise product of binary vectors Inline graphic and Inline graphic . This implies that the item response parameter Inline graphic only depends on whether the latent attribute profile Inline graphic contains the required attributes Inline graphic for item j. In cognitive diagnostic assessments, the matrix Inline graphic is typically predetermined by domain experts (George & Robitzsch, 2015; Junker & Sijtsma, 2001; von Davier, 2008). In this work, we assume the Q-matrix Inline graphic is specified, and Inline graphic are to be estimated from the responses Inline graphic .

2.1. Parametric CDMs: DINA and DINO models

For parametric CDMs, the structural matrix Inline graphic imposes various constraints on the item parameters based on different cognitive assumptions. For instance, in the DINA (Junker & Sijtsma, 2001) model, a conjunctive relationship among the attributes is assumed. According to this assumption, for a subject to provide a positive (correct) response to an item, mastery of all the required attributes of the item is necessary. In the DINA model, the ideal response for each item Inline graphic and each latent attribute profile Inline graphic is defined as

2.1.

The DINO (Templin & Henson, 2006) model assumes a disjunctive relationship among attributes, where mastery of at least one of the required attributes for an item is necessary for a subject to be considered capable of providing a positive response. In the DINO model, the ideal response is defined as

2.1.

The DINA and DINO models further encompass uncertainty by incorporating the slipping and guessing parameters, denoted as Inline graphic and Inline graphic for Inline graphic . For each item j, the slipping parameter represents the probability of a capable subject giving a negative response, whereas the guessing parameter signifies the probability of an incapable subject giving a positive response. Specifically, Inline graphic and Inline graphic for the ith subject. Therefore, in these two restricted latent class models, the parameter Inline graphic can be expressed as

2.1.

2.2. Nonparametric CDMs: NPC and GNPC

For nonparametric CDMs, the ideal responses described under the DINA and DINO models serve as foundational elements for the NPC analysis. Given a set of 0–1 binary ideal responses, denoted as Inline graphic , the NPC method, as introduced by Chiu and Douglas (2013), estimates the subjects’ latent attribute profiles as follows. This method utilizes a distance-based algorithm, leveraging observed item responses to categorize subjects into latent groups. The NPC estimator, Inline graphic , for the ith individual’s attribute profile, Inline graphic , is expressed as

2.2.

In the NPC method, the ideal responses Inline graphic can be based on either the DINA model or the DINO model. However, due to the dependence on these specific model assumptions, which define two extreme relations between Inline graphic and latent attribute profile Inline graphic , the NPC method may fail to handle complex CDMs, such as the GDINA model, and such limitation may lead to misclassifications of the subjects (Chiu & Köhn, 2019a).

To address this issue, the GNPC method (Chiu et al., 2018) offers a solution by considering a more general ideal response that represents a weighted average of the ideal responses from the DINA and DINO models, as in

2.2. (2)

The weights are determined by the data; therefore, the proportional influence of Inline graphic and Inline graphic on the weighted ideal item response is adapted to the complexity of the underlying CDM data generating process. The GNPC method can be utilized with any CDM that can be represented as a general CDM, without requiring prior knowledge of the underlying model. To obtain estimates of the weights, Chiu et al. (2018) proposed minimizing the Inline graphic distance between the responses to item j and the weighted ideal responses Inline graphic :

2.2.

When Inline graphic , this results in Inline graphic , which happens either when Inline graphic includes all the required latent attributes in Inline graphic , leading to Inline graphic , or when Inline graphic does not contain any required attributes, resulting in Inline graphic . Equivalently, these two extreme situations can be summarized as the following constraints:

2.2. (3)

where Inline graphic denotes the inner product of the two vectors and Inline graphic is defined as Inline graphic , representing the number of latent attributes that the jth item depends on. Thus, in these two extreme situations, the parameters Inline graphic are known and do not need estimation. In scenarios where Inline graphic includes only some of the required attributes, Inline graphic need to be estimated, and in such cases, minimizing Inline graphic would lead to

2.2. (4)

where Inline graphic , which represents the sample mean of the responses to the jth item for subjects with given latent attribute profile Inline graphic . Since the true latent attribute profiles are unknown, the memberships and the ideal responses will be jointly estimated. Specifically, the optimization problem associated with the GNPC method in Chiu et al. (2018) aims to minimize the following loss function over the membership Inline graphic and the weights Inline graphic under the constraints imposed by the given Q-matrix:

2.2. (5)

under constraint (1), where Inline graphic is given in (2).

A modified GNPC method was studied by Ma, de la Torre, et al. (2023) under a general framework where the item parameters Inline graphic are treated as a certain “centroid.” In their framework, the item parameters Inline graphic and latent attributes Inline graphic are obtained by minimizing Inline graphic where Inline graphic is a loss function that measures the distance between the ith subject’s response vector, Inline graphic , and the item parameter vector Inline graphic , given a membership Inline graphic . Under their framework, GNPC method can be derived by taking Inline graphic , which leads to minimizing the following loss function:

2.2. (6)

with respect to Inline graphic and Inline graphic under constraint (1). To ensure identifiability, we impose the natural constraint Inline graphic if Inline graphic . Here Inline graphic if Inline graphic for all Inline graphic .

Note that given the membership Inline graphic , the item parameter Inline graphic that minimizes the loss function (6) takes exactly the form of Inline graphic in (4) for all items and Inline graphic ’s. Inspired by this, as shown in Ma, de la Torre, et al. (2023), we can see that the solution Inline graphic to the original GNPC estimation method in (5) is the same as the solution Inline graphic to (6) under constraint (1) and the following additional constraint:

2.2. (7)

where the additional constraint (7) corresponds to the constraint (3) under the GNPC setting.

Following the above discussion, both the original GNPC method and the modified GNPC method can be formulated in a unified estimation framework (Ma, de la Torre, et al., 2023) of minimizing (6) under different constraints. In particular, since Inline graphic , we can rewrite (6) equivalently as the following loss function:

2.2. (8)

where minimizing the loss function (8) with respect to Inline graphic under the constraints (1) and (7) obtains the original GNPC estimators in Chiu and Köhn (2019a) and the modified GNPC estimators in Ma, de la Torre, et al. (2023) can be obtained by minimizing (8) under the constraint (1) only.

2.3. Limitations of existing consistency results for nonparametric CDMs

Existing theoretical research has offered valuable insights into the practical utility of nonparametric methods. It has been shown that the NPC estimators are statistically consistent for estimating subjects’ latent attributes under certain CDMs (Wang & Douglas, 2015). Similarly, the GNPC estimator’s ability to consistently classify subjects has been established (Chiu & Köhn, 2019a). However, current theoretical assurances for these nonparametric methods come with their own set of limitations.

A fundamental assumption for the NPC method to yield a statistically consistent estimator of Inline graphic is that Inline graphic and Inline graphic , where Inline graphic represents the binary ideal responses (either 0 or 1) under the considered model (Wang & Douglas, 2015). However, as previously pointed out, this binary ideal response becomes restrictive when working with more complex CDMs. The binary ideal response, limited to representing the complex latent attribute patterns of examinees through two states, could potentially oversimplify the actual complexity of the scenario. This limitation, in turn, constrains the practical application of the NPC method in instances where the underlying true model is more sophisticated. For instance, Chiu et al. (2018) provided an illustrative example highlighting this restriction, showing the possibility of misclassifications when the underlying true model is the saturated GDINA model.

Although the GNPC method addresses the oversimplification problem of the NPC method, a new restrictive assumption emerges in the existing theory for the GNPC method. Specifically, Theorem 1 in Chiu and Köhn (2019a) assumes initialization of the memberships Inline graphic s that consistently estimates the ground truth in order to establish the consistency theory for GNPC. Similarly, Ma, de la Torre, et al. (2023) assumes the existence of a calibration dataset that provides consistent estimations Inline graphic for the true latent class membership Inline graphic of the calibration subjects. Under these assumptions, Inline graphic can be estimated using consistent membership estimations, which further support the consistency theory. The assumption concerning the existence of an initial set of consistent estimates or a calibration dataset may be restrictive and hard to satisfy in practice. To address this issue, we present new theoretical results demonstrating that the consistency of the GNPC method can be established without the need for a consistent initialization or a calibration dataset. These findings are detailed in the subsequent section.

3. Main results

Based on the unified framework of two GNPC methods outlined in Section 2, we will establish the theoretical properties of both the original GNPC method (Chiu & Köhn, 2019a) and the modified GNPC method (Ma, de la Torre, et al., 2023) under less stringent conditions. Regarding implementation, estimation algorithms for both the original and modified GNPC methods have been detailed in Chiu et al. (2018) and Ma, de la Torre, et al. (2023), respectively. We recommend using these well-established methods for estimation.

Before delving into the statistical behaviors of the aforementioned general nonparametric estimators, we outline the needed regularity conditions. Consider a model sequence indexed by Inline graphic , where both N and J tend to infinity, while K is held constant. For clarity, let the true parameters generating the data be represented as Inline graphic , and other true parameters are also denoted with superscript Inline graphic . Assumptions are made on these true parameters as follows.

Assumption 1.

There exists Inline graphic such that

Assumption 1.

Assumption 2.

There exist Inline graphic and a constant Inline graphic such that

Assumption 2. (9)
Assumption 2. (10)

Assumption 1 serves as an identification condition for local latent classes at each item level, ensuring that the item parameters of different local latent classes, influenced by Inline graphic , are sufficiently distinct. The gap, denoted as Inline graphic , measure the separation between latent classes, thereby quantifying the strength of the signals. In the finite-J regime, a Inline graphic is required for studying identifiability (Gu & Xu, 2019, 2023; Köhn & Chiu, 2017; Xu & Shang, 2018). Assumption 2 pertains to the discrete structures of Inline graphic and Inline graphic . Here, (10) implies that the Inline graphic latent patterns are not too unevenly distributed in the sample. An equivalent requirement in random-effect latent class models is Inline graphic for all Inline graphic , where Inline graphic represents the population proportion of latent pattern Inline graphic . For Assumption 2, within the finite-J regime, (9) is similar to the requirement that “ Inline graphic should contain an identity submatrix Inline graphic ” (Chen et al., 2015; Xu & Shang, 2018). However, as J approaches infinity, a finite number of submatrices Inline graphic in Inline graphic may not be sufficient to ensure estimability and consistency. Therefore, (9) necessitates that Inline graphic includes an increasing number of identity submatrices, Inline graphic , as J grows. A similar assumption on Inline graphic was made by Wang and Douglas (2015) when they were establishing the consistency of the NPC method. It is worth mentioning that the lower bound Inline graphic in (9) in Assumption 2 is allowed to decrease to zero as J goes to infinity.

In the following subsections, we study the consistency properties of the modified GNPC method with the constraint (1) and the original GNPC method with both constraints (1) and (7). As the modified GNPC method involves less constraints compared to the original GNPC method, for convenience, we first present results for the modified GNPC method in Section 3.1 and then for the original GNPC method in Section 3.2.

3.1. Consistency results for modified GNPC

In this section, we discuss the consistency results for the modified GNPC method. The following main theorem first validates the consistency of the modified GNPC method under the constraint (1) and provides a bound for its rate of convergence in recovering the latent attribute profiles. We use Inline graphic and Inline graphic to denote the big-O and small-o notations, respectively, and Inline graphic and Inline graphic as their probability versions for convergence in probability.

Theorem 1 (Consistency of modified GNPC method) —

Consider the Inline graphic Inline graphic under the constraint (1). When Inline graphic jointly, suppose Inline graphic for some small constant Inline graphic . Under Assumptions 1 and 2, the classification error rate is

Theorem 1 (11)

where for a small positive constant Inline graphic .

Theorem 1 bounds the error of the estimator Inline graphic , which establishes the consistency of the latent attributes of the nonparametric method, and even allows the rate Inline graphic to go to zero. Theorem 1 also offers insight into the accuracy of estimating Inline graphic with finite samples and finite J. In particular, if Inline graphic is a constant, then the finite sample error bound in (11) becomes Inline graphic . Ignoring the Inline graphic terms, the result shows that the classification error rate can be dominated by the order of Inline graphic , indicating that a longer item set facilitates more accurate classification for the latent profiles of all subjects. Note the scaling condition that Inline graphic for any positive fixed Inline graphic in Chiu and Köhn (2019a) and Wang and Douglas (2015) essentially requires the growth rate of J to be at least the order of Inline graphic . In contrast, our scaling condition only assumes that the number of items goes jointly with N at a slower rate, which can be more easily satisfied.

The following corollary demonstrates that under certain conditions, the item parameters can be consistently estimated via the modified GNPC method as Inline graphic .

Theorem 2 (Item Parameters Consistency) —

Under Assumptions 1 and 2 and the scaling conditions given in Theorem 1, we have the following uniform consistency result for all Inline graphic and Inline graphic :

Theorem 2

where Inline graphic and Inline graphic are small positive constants.

This theorem builds on the consistency result established in Theorem 1 to establish the uniform consistency in parameter estimation. The condition Inline graphic for all Inline graphic ensures that there are enough samples within each class to provide accurate estimates of item parameters. This is reflected in the first error term Inline graphic , which achieves nearly optimal Inline graphic -consistency. Notably, the added Inline graphic term arises due to the number of parameters going to infinity jointly with the sample size N, causing a slight deviation from the optimal error rate of Inline graphic . The maximum deviation Inline graphic is also influenced by the classification errors for the unknown latent attributes, which is shown in the second error term Inline graphic . In conclusion, the upper bound for the maximal error in estimating item parameters comprises a term that denotes nearly optimal Inline graphic -consistency, accompanied by an additional term related to the errors in classifying the latent attributes. Our theory suggests that both the sample size and the test length need to be sufficiently large to ensure accurate estimation of the item parameters, given that the latent attributes of the subjects must also be estimated.

3.2. Consistency results for original GNPC

In this section, we discuss the consistency result of the original GNPC method. Since the original method adds an additional constraint (7) compared to the modified method, which causes some of the parameters Inline graphic to be Inline graphic or Inline graphic , additional notations are needed to characterize how this potential variation affects the consistency outcome. Denote

3.2. (12)

which represents the average squared distance between the true parameters and the associated zero/one values. To establish the consistency for the original GNPC method, an additional assumption is needed.

Assumption 3.

For any Inline graphic , we have Inline graphic

Assumption 3 plays a similar role to Assumption 1, as both measure the separation between different latent classes. While this appears to be a relatively mild condition and may seem similar to the one presented in Wang and Douglas (2015), as discussed in Section 2, it remains applicable to complex CDMs. The following theorem validate the consistency of the NPC method under the original GNPC setting, provides a similar bound as Theorem 1 for the misclassification rate.

Theorem 3 (GNPC Consistency) —

Consider the Inline graphic under the constraints (1) and (7). When Inline graphic jointly, suppose Inline graphic for some small constant Inline graphic . Under Assumptions 2 and 3, the classification error rate is

Theorem 3

The classification error rate for the original GNPC method is slightly different from the result given in Theorem 1. An extra item Inline graphic is added into the error rate. This additional term reflects the number of items that violate constraint (7), as (12) will be larger when there are more items with Inline graphic that is neither 0 nor 1. The impact of the additional error introduced by Inline graphic is further illustrated by Example 1 and the simulation studies in Section 4. The details of Theorem 3’s proof can be found in Section C of the Supplementary Material.

It is worth mentioning that without further regularity conditions, it might be challenging to avoid the additional error term Inline graphic . In the existing consistency results for both the NPC and the modified GNPC methods (Chiu & Köhn, 2019a; Wang & Douglas, 2015), a crucial step involves ensuring that for each examinee i, the true attribute profile minimizes Inline graphic across all m. Here, Inline graphic represents the distance functions used in the respective nonparametric methods. A similar approach is required in the proof of Theorem 1 for the modified GNPC method. If we denote Inline graphic and Inline graphic , then the true latent class profiles, Inline graphic , are found to minimize Inline graphic .

One challenge in establishing the consistency for the original GNPC method lies in the fact that, with the inclusion of the constraint (7), the true latent class profiles Inline graphic might not necessarily minimize Inline graphic . Let Inline graphic, it can be intuitively understood that Inline graphic might approach Inline graphic more closely than Inline graphic . Thus the additional error term originates from the discrepancy between Inline graphic and Inline graphic . Indeed, in the proof of Theorem 3, we employ the following upper bound to account for this deviation:

3.2. (13)

The above inequality in (13) is sharp up to a constant multiple of Inline graphic , below is an illustrative example.

Example 1.

In this example, we assume that the number of sample size N is Inline graphic for some positive integer M, the number of items J is 4, and the dimension of latent attribute profiles K is also 4. We further assume that the four corresponding row vectors for the items in the Q-matrix are Inline graphic , and Inline graphic , where Inline graphic encodes the required latent attributes for the jth item. For the true latent attribute profiles of the Inline graphic samples, it is assumed that Inline graphic samples exhibit latent attribute profile Inline graphic , while the remaining Inline graphic display the profile Inline graphic . It is noteworthy that all parameters in the original GNPC method will be treated as exactly zero or one under the true latent attribute profiles Inline graphic in this example, as stipulated by the constraint (7). The last assumption in this example is that there exists some Inline graphic such that Inline graphic and Inline graphic . Under these assumptions, the expected loss under the true latent attribute profiles satisfies

Example 1. (14)

where Inline graphic are true item response parameters, independent of the estimation process. The derivation of (14) is detailed in Section D of the Supplementary Material. To demonstrate the sharpness of inequality (13), we construct an alternative set of latent attribute profiles, denoted as Inline graphic . This set contains Inline graphic samples of Inline graphic for each Inline graphic , where each Inline graphic only contains the kth latent attribute. For instance, Inline graphic , Inline graphic , and so on. There is a correspondence between the true latent profiles Inline graphic and the constructed Inline graphic . Specifically, for the Inline graphic samples assigned to Inline graphic within Inline graphic , the true latent attribute profiles are equally divided, with half being Inline graphic and the other half Inline graphic . Hence, the expected loss under the constructed latent attribute profiles fulfills

Example 1. (15)

The derivation of (15) is detailed in Section D of the Supplementary Material. Thus, we have Inline graphic . Note that in this example Inline graphic . If Inline graphic , then one can easily verify that Inline graphic , and therefore, in this case, we deduce that

Example 1.

which implies the order Inline graphic in the inequality in (13) is sharp. The details of the proof can be found in Section D of the Supplementary Material.

The magnitude of the additional classification error term arising from the aforementioned discrepancy is of the order Inline graphic . As demonstrated in Example 1, Inline graphic provides a tight estimation of the order of the discrepancy Inline graphic . Therefore, the additional error term Inline graphic in Theorem 3 may not be significantly reducible.

4. Simulation study

In this section, we conduct a comprehensive simulation study to illustrate our theoretical findings of both the original GNPC (Chiu et al., 2018) and the modified GNPC (Ma, de la Torre, et al., 2023). Note that in the existing literature (Chiu et al., 2018; Ma, de la Torre, et al., 2023), various numerical studies have already demonstrated the effectiveness of both the original GNPC method and the modified GNPC method in small sample settings. Therefore, our focus here primarily lies on scenarios where both the sample size and test length are relatively large to illustrate our theoretical results.

For the data-generating process, followed by the simulation design of Chiu et al. (2018) and Ma, de la Torre, et al. (2023), we consider two settings: (1) items are simulated using the DINA model, and (2) items are simulated from GDINA model, as detailed in Section 2. The manipulated conditions include: the sample size Inline graphic ; the test length Inline graphic ; the number of latent attributes Inline graphic . For Inline graphic , the Q-matrix is constructed with two identity Inline graphic submatrices, and the remaining items are generated uniformly from all possible non-zero patterns. It is worth mentioning that this generating process adheres to (9) in Assumption 2. For the case of Inline graphic , the Q-matrix is restricted to contain items that measure up to three attributes and constructed the same way as that for Inline graphic . For the data conforming to the DINA model, we simulate Inline graphic and Inline graphic independently from a uniform distribution Inline graphic with Inline graphic . For data generated under the GDINA model, the item parameters are simulated following the framework outlined in Chiu et al. (2018) as follows. For any item j, let Inline graphic be the number of required attributes of item j, where Inline graphic is the Inline graphic th entry in the Q-matrix. Without loss of generality, we assume that these attributes with Inline graphic are the first Inline graphic attributes. For instance, if Inline graphic , that is, item j requires three attributes, we then denote the possible proficiency classes as Inline graphic , Inline graphic , Inline graphic , Inline graphic , Inline graphic , Inline graphic , Inline graphic , and Inline graphic . The item parameters for item j are specified by the probabilities of making the correct responses for all Inline graphic with Inline graphic . If Inline graphic , we only need to specify the probabilities for Inline graphic with Inline graphic since the remaining attributes are irrelevant for distinguishing among the proficiency classes, and if Inline graphic , we only need to specify the probabilities for Inline graphic and Inline graphic (Chiu et al., 2018). Analogous to the data generation process under the DINA model, we simulate two noise levels under the GDINA model as in Ma, de la Torre, et al. (2023), with item parameters provided in Table 1 for small noises and Table 2 for large noises, respectively. Note that Table 1 contains seven rows, while Table 2 contains six, each row representing a distinct set of item parameters. For each noise level, the set of item parameters for each item j is sampled randomly from those rows with Inline graphic in each table.

Table 1.

Item response parameters for GDINA with small noises, where Inline graphic denotes the number of required attributes of a considered item

Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic
0.2 0.9
Inline graphic 0.1 0.8
0.1 0.9
0.2 0.5 0.4 0.9
Inline graphic 0.1 0.3 0.5 0.9
0.1 0.2 0.6 0.8
Inline graphic 0.1 0.2 0.3 0.4 0.4 0.5 0.7 0.9

Table 2.

Item response parameters for GDINA with large noises, where Inline graphic denotes the number of required attributes of a considered item

Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic
Inline graphic 0.3 0.7
0.3 0.8
0.3 0.4 0.7 0.8
Inline graphic 0.3 0.4 0.6 0.7
0.2 0.3 0.6 0.7
Inline graphic 0.2 0.3 0.3 0.4 0.4 0.5 0.6 0.7

For the latent attribute patterns, they are generated using either a uniform setting, where each proficiency class is drawn with a uniform probability of Inline graphic , or a multivariate normal threshold model as described by Chiu et al. (2018). In this model, each subject’s attribute profile is linked to a latent continuous ability vector Inline graphic . The diagonal elements of Inline graphic are fixed at 1, while the off-diagonal elements are set to Inline graphic for a low-correlation scenario and Inline graphic for a high correlation scenario. The attribute profile is then derived from Inline graphic by applying a truncation process as follows:

4.

where Inline graphic is the cumulative distribution function of the standard normal distribution.

To illustrate our theoretical results, we compute the pattern-wise agreement rate (PAR):

4.

We apply the original GNPC and modified GNPC estimation methods under all manipulated scenarios. Following the algorithms proposed by Chiu et al. (2018) and Ma, de la Torre, et al. (2023), both methods are initialized using latent attributes estimated with the NPC method for computational efficiency. In each scenario, we conduct 100 replications and calculate the mean value of the PARs. The iteration process is terminated when Inline graphic or exceeding the maximal number of iterations set as 500. Additionally, we conducted simulations in these scenarios where both methods are initialized with random latent attributes, resulting in estimation errors similar to those obtained with NPC initialization. Details and results are provided in Section E of the Supplementary Material.

Figures 1–4 present the PAR results when the data are generated under the DINA model, and the PAR results under the GDINA model are shown in Figures 5–8. In each figure, the upper panel presents the estimation results using the original GNPC method, while the lower panel displays the results using the modified GNPC method. From left to right, the subfigures in each row illustrate the estimations for latent attributes, simulated under three different settings: uniform, low correlation setting, and high correlation setting.

Figure 1.

Figure 1

PARs when the data are generated using the DINA model with Inline graphic and Inline graphic .

Figure 4.

Figure 4

PARs when the data are generated using the DINA model with Inline graphic and Inline graphic .

Figure 5.

Figure 5

PARs when the data are generated using the GDINA model with small noises and Inline graphic .

Figure 8.

Figure 8

PARs when the data are generated using the GDINA model with large noises and Inline graphic .

In general, both the original and modified GNPC methods perform well under all the model settings. The modified GNPC method exhibits a slight edge in more complex scenarios, as demonstrated in Figures 4 and 8. A consistent trend across all figures is that as the test length J increases, the PARs improve, supporting our theory that the upper bound for classification error decreases with J. When the data are simulated from the GDINA models, there is a slight increase in classification errors for both methods compared to those generated using the DINA models. In addition, comparisons between figures with lower noise levels (Figures 1, 3, 5, and 7) and those with higher ones (Figures 2, 4, 6, and 8) reveal lower classification errors with decreased noise. In particular, Figures 1 and 5 show nearly perfect classification results under low noise and Inline graphic settings. Moreover, increasing the number of latent attributes typically results in less precise estimation, as evidenced by the comparisons between the settings of Inline graphic (Figures 1, 2, 5, and 6) and Inline graphic (Figures 3, 4, 7, and 8). Within each figure, a slight decrease in PARs is observed when the latent attributes exhibit a higher correlation. When the data are simulated under larger noises and more attributes (Figure 4 and 8), PARs from the original GNPC method appear not converging to 1 even when the sample size is Inline graphic and test length is Inline graphic . This is likely attributable to the additional error term related to Inline graphic in Theorem 3. Notably, Inline graphic in (12) can become large when a significant proportion of Inline graphic fails to satisfy the constraint (7).

Figure 3.

Figure 3

PARs when the data are generated using the DINA model with Inline graphic and Inline graphic .

Figure 7.

Figure 7

PARs when the data are generated using the GDINA model with small noises and Inline graphic .

Figure 2.

Figure 2

PARs when the data are generated using the DINA model with Inline graphic and Inline graphic .

Figure 6.

Figure 6

PARs when the data are generated using the GDINA model with large noises and Inline graphic .

5. Discussion

In this work, we revise the consistency results for the GNPC method, originally offered in Chiu and Köhn (2019a), under relaxed and more practical assumptions. We deliver finite sample error bounds for the considered two versions of the GNPC method. These bounds not only guarantee asymptotic consistency in estimating the latent profiles of subjects but also offer insights into the precision of these estimates in small sample situations. Furthermore, we derive uniform convergence of item response parameters Inline graphic for the modified GNPC method. Notably, all of these advancements are achieved without the requirement for a calibration dataset.

The findings in this study open up several possibilities for future exploration. Using the consistency and finite sample error bounds established for estimating the discrete latent structure Inline graphic , future work can examine statistical inference on CDMs with a large number of test items and latent attributes. Additionally, it is important to note that in practical situations, the Q-matrix may not always be readily available. Various estimation techniques have been proposed in the literature (Chen et al., 2015, 2018; Gu & Xu, 2023; Köhn et al., 2024; Li et al., 2022; Liu et al., 2012; Ma, Ouyang, et al., 2023; Xu & Shang, 2018). This leads to a potential future direction of developing theories and computational methods for CDMs estimation with an unknown Q-matrix within the nonparametric framework.

Supporting information

Cui et al. supplementary material

Cui et al. supplementary material

Acknowledgments

We thank the editor, associate editor, and three anonymous referees for their careful review and valuable comments.

Supplementary material

The supplementary material for this article can be found at https://doi.org/10.1017/psy.2025.9.

Funding statement

This research was partially supported by NSF SES-2150601 and SES-1846747.

Competing interests

The authors declare none.

References

  1. Chandía, E. , Sanhueza, T. , Mansilla, A. , Morales, H. , Huencho, A. , & Cerda, G. (2023). Nonparametric cognitive diagnosis of profiles of mathematical knowledge of teacher education candidates. Current Psychology, 42, 32498–32511. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Chen, Y. , Culpepper, S. A. , Chen, Y. , & Douglas, J. (2018). Bayesian estimation of the DINA Q-matrix. Psychometrika, 83, 89–108. [DOI] [PubMed] [Google Scholar]
  3. Chen, Y. , Liu, J. , Xu, G. , & Ying, Z. (2015). Statistical analysis of Q-matrix based diagnostic classification models. Journal of the American Statistical Association, 110, 850–866. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Chiu, C.-Y. & Chang, Y.-P. (2021). Advances in CD-CAT: The general nonparametric item selection method. Psychometrika, 86, 1039–1057. [DOI] [PubMed] [Google Scholar]
  5. Chiu, C.-Y. & Douglas, J. A. (2013). A nonparametric approach to cognitive diagnosis by proximity to ideal response patterns. Journal of Classification, 30, 225–250. [Google Scholar]
  6. Chiu, C.-Y. , Douglas, J. A. , & Li, X. (2009). Cluster analysis for cognitive diagnosis: Theory and applications. Psychometrika, 74, 633–665. [Google Scholar]
  7. Chiu, C.-Y. & Köhn, H.-F. (2015). Consistency of cluster analysis for cognitive diagnosis: The DINO model and the DINA model revisited. Applied Psychological Measurement, 39(6), 465–479. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Chiu, C.-Y. & Köhn, H.-F. (2019a). Consistency theory for the general nonparametric classification method. Psychometrika, 84, 830–845. [DOI] [PubMed] [Google Scholar]
  9. Chiu, C.-Y. & Köhn, H.-F. (2019b). Nonparametric methods in cognitively diagnostic assessment. In: M. von Davier & YS. Lee (Eds.), Handbook of Diagnostic Classification Models. Methodology of Educational Measurement and Assessment. (pp. 107–132). Springer.
  10. Chiu, C.-Y. , Sun, Y. , & Bian, Y. (2018). Cognitive diagnosis for small educational programs: The general nonparametric classification method. Psychometrika, 83, 355–375. [DOI] [PubMed] [Google Scholar]
  11. de la Torre, J. (2011). The generalized DINA model framework. Psychometrika, 76, 179–199. [Google Scholar]
  12. de la Torre, J. , van der Ark, L. A. , & Rossi, G. (2018). Analysis of clinical data from a cognitive diagnosis modeling framework. Measurement and Evaluation in Counseling and Development, 51, 281–296. [Google Scholar]
  13. DiBello, L. V. , Roussos, L. A. , & Stout, W. F. (2007). Review of cognitively diagnostic assessment and a summary of psychometric models. In C. Rao & S. Sinharay (Eds.), Psychometrics, Volume 26 of Handbook of Statistics, (pp. 979–1030). Elsevier.
  14. George, A. C. & Robitzsch, A. (2015). Cognitive diagnosis models in R: A didactic. The Quantitative Methods for Psychology, 11, 189–205. [Google Scholar]
  15. Gu, Y. & Xu, G. (2019). The sufficient and necessary condition for the identifiability and estimability of the DINA model. Psychometrika, 84, 468–483. [DOI] [PubMed] [Google Scholar]
  16. Gu, Y. & Xu, G. (2023). A joint MLE approach to large-scale structured latent attribute analysis. Journal of the American Statistical Association, 118, 746–760. [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Hartz, S. M. (2002). A Bayesian framework for the unified model for assessing cognitive abilities: Blending theory with practicality. PhD thesis, ProQuest Information & Learning. [Google Scholar]
  18. Henson, R. A. , Templin, J. L. , & Willse, J. T. (2009). Defining a family of cognitive diagnosis models using log-linear models with latent variables. Psychometrika, 74, 191–210. [Google Scholar]
  19. Junker, B. W. & Sijtsma, K. (2001). Cognitive assessment models with few assumptions, and connections with nonparametric item response theory. Applied Psychological Measurement, 25, 258–272. [Google Scholar]
  20. Köhn, H.-F. & Chiu, C.-Y. (2017). A procedure for assessing the completeness of the Q-matrices of cognitively diagnostic tests. Psychometrika, 82, 112–132. [DOI] [PubMed] [Google Scholar]
  21. Köhn, H.-F. , Chiu, C.-Y. , Oluwalana, O. , Kim, H. , & Wang, J. (2024). A two-step Q-matrix estimation method. Applied Psychological Measurement, 49, 3–28. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Li, C. , Ma, C. , & Xu, G. (2022). Learning large Q-matrix by restricted Boltzmann machines. Psychometrika, 87(3), 1010–1041. [DOI] [PubMed] [Google Scholar]
  23. Liu, J. , Xu, G. , & Ying, Z. (2012). Data-driven learning of Q-matrix. Applied Psychological Measurement, 36(7), 548–564. [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Ma, C. , de la Torre, J. , & Xu, G. (2023). Bridging parametric and nonparametric methods in cognitive diagnosis. Psychometrika, 88, 51–75. [DOI] [PubMed] [Google Scholar]
  25. Ma, C. , Ouyang, J. , & Xu, G. (2023). Learning latent and hierarchical structures in cognitive diagnosis models. Psychometrika, 88(1), 175–207. [DOI] [PubMed] [Google Scholar]
  26. Tatsuoka, K. K. (1985). A probabilistic model for diagnosing misconception in the pattern classification approach. Journal of Educational and Behavioral Statistics, 12, 55–73. [Google Scholar]
  27. Templin, J. L. & Henson, R. A. (2006). Measurement of psychological disorders using cognitive diagnosis models. Psychological Methods, 11, 287–305. [DOI] [PubMed] [Google Scholar]
  28. von Davier, M. (2008). A general diagnostic model applied to language testing data. British Journal of Mathematical and Statistical Psychology, 61, 287–301. [DOI] [PubMed] [Google Scholar]
  29. von Davier, M. & Lee, Y.-S. (2019). Handbook of diagnostic classification models. Springer International Publishing. [Google Scholar]
  30. Wang, D. , Ma, W. , Cai, Y. , & Tu, D. (2023). A general nonparametric classification method for multiple strategies in cognitive diagnostic assessment. Behavior Research Methods, 56, 723–735. [DOI] [PubMed] [Google Scholar]
  31. Wang, S. & Douglas, J. (2015). Consistency of nonparametric classification in cognitive diagnosis. Psychometrika, 80, 85–100. [DOI] [PubMed] [Google Scholar]
  32. Xu, G. (2017). Identifiability of restricted latent class models with binary responses. The Annals of Statistics, 45(2), 675–707. [Google Scholar]
  33. Xu, G. & Shang, Z. (2018). Identifying latent structures in restricted latent class models. Journal of the American Statistical Association, 113, 1284–1295. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Cui et al. supplementary material

Cui et al. supplementary material


Articles from Psychometrika are provided here courtesy of Cambridge University Press

RESOURCES