Skip to main content
Wiley Open Access Collection logoLink to Wiley Open Access Collection
. 2024 Oct 12;78(1):258–285. doi: 10.1111/bmsp.12358

Pairwise likelihood estimation and limited‐information goodness‐of‐fit test statistics for binary factor analysis models under complex survey sampling

Haziq Jamil 1,2,, Irini Moustaki 2, Chris Skinner 2
PMCID: PMC11701424  PMID: 39394892

Abstract

This paper discusses estimation and limited‐information goodness‐of‐fit test statistics in factor models for binary data using pairwise likelihood estimation and sampling weights. The paper extends the applicability of pairwise likelihood estimation for factor models with binary data to accommodate complex sampling designs. Additionally, it introduces two key limited‐information test statistics: the Pearson chi‐squared test and the Wald test. To enhance computational efficiency, the paper introduces modifications to both test statistics. The performance of the estimation and the proposed test statistics under simple random sampling and unequal probability sampling is evaluated using simulated data.

Keywords: complex sampling, composite likelihood, factor analysis, goodness‐of‐fit tests, pairwise likelihood

1. INTRODUCTION

Latent variable models, such as factor analysis, are widely used in social sciences to measure abilities, attitudes, and behaviour through observed categorical (binary, ordinal) or metric variables, also known as items or indicators. There are two main approaches for modelling categorical observed variables with latent variables, namely the complete information maximum likelihood (FIML) approach used in item response theory (e.g. Bartholomew et al., 2011; Skrondal & Rabe‐Hesketh, 2004) and the limited‐information approach used in structural equation modelling (SEM) (e.g. Jöreskog, 1990; Muthén, 1984). The latter uses first‐ and second‐order statistics in univariate and bivariate likelihood functions. The limited‐information approach and, in particular, pairwise maximum likelihood (PML) are adopted here (Jöreskog & Moustaki, 2001; Katsikatsou, 2013; Katsikatsou et al., 2012; Liu, 2007; Xi, 2011). PML is a special case of composite maximum likelihood (CML) estimation (Lindsay, 1988; Varin, 2008; Varin et al., 2011). CML estimators have the desired properties of being asymptotically consistent and normally distributed. Specifically, in the case of latent variable models, PML maximizes the sum of all bivariate log‐likelihoods, which contains all the information needed for all model parameters. This approach offers a clear advantage over FIML estimation since it only requires evaluating up to two‐dimensional integrals, each integrating over a different pair of underlying variables, irrespective of the number of observed or latent variables.

Pairwise likelihood ratio tests for overall goodness of fit (GOF), nested models, and model selection criteria have been proposed by Katsikatsou and Moustaki (2016). However, due to data sparseness, overall GOF test statistics pose computational and theoretical challenges in high‐dimensional settings. To address the sparseness issues, limited‐information test statistics have been proposed. These test statistics are defined as quadratic forms of first‐ and second‐order residuals and utilize information from first‐ and second‐order marginals (Bartholomew & Leung, 2002; Cagnone & Mignani, 2007; Cai et al., 2006; Maydeu‐Olivares & Joe, 2005, 2006; Reiser, 1996, 2008). Salomaa (1990) also showed that the parameters of the factor model could be inferred from the first‐ and second‐order marginal distributions of observed variables. Pairwise likelihood estimation uses this property to estimate all model parameters from the bivariate likelihoods. Furthermore, lower‐order residuals offer valuable evidence regarding model fit. Previous research on limited‐information tests mostly used a FIML estimator and simple random sampling.

In this paper, we first extend the PML to incorporate sampling weights, thereby rendering it suitable for complex and informative sampling designs. Subsequently, we introduce a limited‐information Pearson chi‐squared test statistic alongside three variants of the Wald test statistic. These test statistics are designed to apply to simple random and complex sampling designs with unequal selection probabilities.

In complex sampling designs, the pairwise likelihood components are appropriately weighted using the provided sampling weights (Skinner, 1989). Skinner (1989) and Muthén and Satorra (1995), in the context of structural equation modelling, made a distinction between an aggregated approach, where the definitions of the model parameters take no account of complex population features such as stratification or clustering used in sampling and a disaggregated approach in which the complex population features are taken into account in the specification of the model of interest, for example, via fixed or random effect terms. Here, we focus on the aggregated approach. Skinner (2019) provides an overview of categorical data analysis for complex surveys.

The paper is organized as follows. Section 2 presents the model framework. Section 3 gives the pairwise likelihood estimation for latent variable models for categorical responses under simple random and complex survey sampling. Section 4 proposes limited‐information GOF tests for complex sampling designs. Section 5 presents the results of the simulation studies, and Section 6 concludes the paper.

2. FACTOR MODELS FOR BINARY DATA

The basic idea of latent variable analysis is as follows. For a given set of response variables y1,,yp, one wants to find a set of latent factors η1,,ηq, fewer in number than the observed variables that contain essentially the same information. The latent factors are supposed to account for the dependencies of the response variables in the sense that if the factors are held fixed, the observed variables would be independent. If both the response variables and the latent factors are normally distributed with zero means and unit variances, this leads to the model (Jöreskog, 1979)

E(yi|η1,,ηq)=λi1η1++λiqηq, (1)
E(yiyj|η1,,ηq)=0,ij. (2)

If the factors are independent, it follows that the correlation between yi and yj is l=1qλilλjl.

Equation (1) is a suitable representation of the factor analysis model if the response variables yi are continuous variables measured on an interval or ratio scale. However, it cannot be used if the response variables yi are categorical. In those cases, one must instead specify the probability of each response pattern as a function of η1,,ηq:

π=Pr(y1=c1,,yp=cp|η1,,ηq)=f(η1,,ηq), (3)

where c1,,cp represent the different response categories of y1,,yp respectively. In this paper, we consider the case of binary response variables (ci{0,1}) and continuous latent variables. The methodology presented can easily be extended to ordinal variables.

Let y=y1,,yp denote the vector of p binary observed variables. Thus, there are R=2p possible response patterns of the form yr=c1,c2,,cp, ci{0,1}. For a random sample 34𝒮={y(h)}h=1n of size n, where y(h) denotes the value of y for unit h, the log‐likelihood is

logL(θ;34𝒮)=r=1Rnrlogπr(θ), (4)

where nr and πr(θ) are the observed frequency and the probability under the model, respectively, for the response pattern r, for some parameter vector θ. As such, r=1Rnr=n and r=1Rπr(θ)=1.

In the case of complex survey designs where the sample is drawn from a finite population of size N, we maximize the weighted log‐likelihood

logL(θ;34𝒮)=r=1Rn^rlnπr(θ), (5)

where n^r is the sum of survey weights across sample units with response pattern r. If we denote the survey weight for unit h in 34𝒮 by wh, we can write n^r=h34𝒮wh[y(h)=yr]. Here, the notation [·] denotes the Iverson bracket: [A]=1 if proposition A is true, and [A]=0 otherwise. Skinner (1989) showed that the parameter estimates from the weighted log‐likelihood (pseudo‐likelihood) are consistent under any sampling scheme.

We adopt the underlying response variable approach (UV) to model the binary variables. Each binary variable yi is taken to be a manifestation of an underlying continuous and normally distributed random variable yi. The connection between the observed yi and the underlying variable yi is as follows:

yi=1yi>τi0yiτi,

where τi is a threshold associated with the underlying variable yi. For convenience, the distribution of yi is assumed to be standard normal.

The factor model is of the form

y=Λη+ϵ, (6)

where y=(y1,,yp) is the p‐dimensional vector of the underlying variables, Λ is the p×q matrix of loadings, and ϵ is the p‐dimensional vector of unique variables. In addition, it is assumed that ηNq(0,Ψ), where Ψ contains 1s on its main diagonal. In this way, Ψ is the correlation matrix of latent factors. Further, it is assumed that ϵNp(0,Θϵ), with Θϵ a diagonal matrix defined by Θϵ=Idiag(ΛΨΛ), and that Cov(ϵi,ηj)=0 for each combination of i=1,,p and j=1,,q.

The parameter vector θ=λ,ρ,τ contains λ and ρ, which are the vectors of the free non‐redundant parameters in matrices Λ and Ψ respectively, as well as τ, which is the vector of all free thresholds. Under the UV framework, the probability of a response pattern r is written

πr(θ)=Pry1=c1,,yp=cp;θ=∫ ···∫ϕp(y|0,Σy)dy, (7)

where ϕp(·|μ,Σ) is the p‐dimensional Gaussian probability density function with mean vector μ and variance‐covariance matrix Σ. The variance‐covariance matrix of the underlying variables is the correlation matrix Σy=ΛΨΛ+Θϵ. The p‐dimensional integral (7) is evaluated on the domain of y constrained accordingly using the thresholds τi, so that the manifest variables correspond to c=(c1,,cp).

3. PAIRWISE LIKELIHOOD ESTIMATION

To mazimize the log‐likelihood function in (4) over the parameter vector θ, we need to evaluate (7), which cannot be expressed in a closed form. As a result, limited‐information estimation methods have been developed and are now widely available in commercial software. The most popular method is the three‐stage weighted least‐squares estimation (Jöreskog, 1990, 1994; Muthén, 1984). However, we will be using a different method known as PML as proposed in Katsikatsou et al. (2012) and implemented in the R package lavaan (Rosseel, 2012). The method is briefly explained in what follows.

To define the pairwise likelihood, we assume that πcicj(ij)(θ) is the probability that both yi and yj will take on values ci and cj respectively under a particular model. For a random sample of size n, the pairwise log‐likelihood is

i<jci=0,1cj=0,1ncicj(ij)logπcicj(ij)(θ), (8)

where ncicj(ij) is the observed frequency of sample units with yi=ci and yj=cj. To account for complex sampling, we use the weighted pairwise log‐likelihood instead:

P(θ;34𝒮)=i<jci=0,1cj=0,1pcicj(ij)logπcicj(ij)(θ), (9)

where pcicj(ij)=h34𝒮wh[yi(h)=ci,yj(h)=cj]/hswh, and yi(h) refers to the ith item for sampling unit h in 34𝒮. We have introduced survey weights wh and scaled them by the constant factor 1/hswh. The pairwise likelihood only requires the calculation of up to two‐dimensional normal probabilities, regardless of the number of observed or latent variables. In this way, it is always computationally feasible.

The maximum pairwise likelihood estimator (MPLE) θ^PL solves the estimating equations mP(θ;34𝒮)=0, where the entries of this score vector are

P(θ;34𝒮)θk=i<jci=0,1cj=0,1pcicj(ij)πcicj(ij)(θ)πcicj(ij)(θ)θk,k=1,,m. (10)

The (k,l) element of the m×m Hessian matrix, 2P(θ;y), is

P(θ;34𝒮)θkθl=i<jci=0,1cj=0,1pcicj(ij)πcicj(ij)(θ)2πcicj(ij)(θ)θkθl1πcicj(ij)(θ)πcicj(ij)(θ)θkπcicj(ij)(θ)θl. (11)

Using Taylor expansion, we may write

θ^PLθ={2P(θ;34𝒮)}1P(θ;34𝒮)+op(n1/2). (12)

It follows that

n(θ^PLθ)dNm(0,H(θ)1J(θ)H(θ)1), (13)

where m is the dimension of θ, H(θ)=E{2P(θ;y)} is the sensitivity matrix, and J(θ)=VarP(θ;y) is the variability matrix. G=H(θ)J(θ)1H(θ) is known as the Godambe information (Godambe, 1960) or sandwich information matrix, and it indicates the loss of efficiency compared to full information maximum likelihood estimation. If P is a true log‐likelihood function, then the Godambe, sensitivity, and Fisher information matrices are all identical. In practice, we can estimate the H and J matrices using (Varin et al., 2011; Zhao & Joe, 2005)

H^(θ^PL)=1h34𝒮whh34𝒮𝒮2P(θ;y(h))θ=θ^PL, (14)

and

J^(θ^PL)=1h34𝒮whh34𝒮𝒮P(θ;yh)P(θ;y(h))θ=θ^PL. (15)

The estimator for the variability matrix J assumes independent observations. However, in cluster sampling, the observations are no longer independent. The variance estimator for the weighted pairwise estimates should be adjusted to account for the dependencies and stratification (see Asparouhov, 2005; Binder, 1983; Wolter, 2007). This gives

J^(θ^PL)=1nanana1b(zabza¯)(zabza¯), (16)

where na is the number of sampled clusters from stratum a, zab=h34𝒮abP(θ;y(h)) is the total value of the score for all individuals h in cluster b in stratum a, and za¯ is the average of zab. In addition, Varin (2008) discusses alternative empirical estimators for the variability matrix in the presence of clustering in a composite likelihood framework.

4. GOODNESS OF FIT

The overall GOF of the model can be tested by constructing a likelihood ratio test using the full log‐likelihood given in Equation (5) for testing H0:πr=πr(θ) against H1:πrπr(θ) for all r=1,,R, where θ is a vector of all free parameters and r runs over all possible response patterns.

Let π^r=πr(θ^), where θ^ denotes the FIML estimates, and let p^r=nr/n denote the sample proportion of response pattern r. The maximum log‐likelihood value under H0 is nr=1Rprlogπ^r, while the maximum log‐likelihood value under H1 is nr=1Rprlogpr. The likelihood ratio (LR) test statistic is

XLR2=2nr=1Rprlog(pr/π^r). (17)

Under H0, (17) is distributed approximately as χ2, with degrees of freedom equal to the number of independent response patterns minus one minus the number of elements in θ. For the q‐factor model, the degrees of freedom is 2pp(q+1)1. Alternatively, one can use the Pearson GOF test statistic, written

XGF2=nr=1R(prπ^r)2/π^r. (18)

Under H0, both test statistics (17) and (18) have the same asymptotic distribution.

In principle, these tests are possible to use with FIML. They cannot be used with the UV approach because this does not maximize an overall likelihood function, so the π^r are not computed. In practice, when dealing with sparse data characterised by zero or small frequencies nr, the approximation to the chi‐squared distribution may fail and lead to unreliable results (see e.g. Reiser & VandenBerg, 1994).

To address the sparseness issue, limited‐information test statistics focus on how well the model fits first‐ and second‐order marginals (marginal proportions) such as univariate, bivariate, and trivariate rather than the entire response pattern. In the following sections, we introduce limited‐information chi‐squared test statistics for evaluating the adequacy of a parametric model under simple random sampling and complex sampling designs and pairwise likelihood estimation.

4.1. Definitions

Define π˙i=Pr(yi=1) as the first‐order marginal proportion of a positive response for the ith binary variable i=1,,p, and let π˙1=(π˙1,,π˙p) be the p×1 vector containing all such first‐order moments. Further define with π˙ij=Pr(yi=1,yj=1) the second‐order marginal proportion for a pair of variables i,j=1,,p, and collect these proportions into the p2‐vector π˙2=π˙iji<j. Finally, let π2=π˙1π˙2be the vector that contains both these first‐ and second‐order marginal proportions with dimension S=p+p2=p(p+1)/2.

The vectors π˙1 and π˙2 are formed by summing the joint proportions of the response patterns π that satisfy specific criteria. For example, the first‐order moment π˙i for a specific variable i is obtained by summing the joint proportions πr, where the response pattern r takes the value 1 in the ith position. Similarly, the second‐order moment π˙ij for a pair of variables i and j is obtained by summing the values of πr for which the response patterns r take on a value of 1 at both locations i and j simultaneously. In other words, there exists a transformation matrix T2:RS that maps the joint proportions π to the transformed vectors π2, i.e. π2=T2π. This matrix consists of 0s and 1s and has a rank of S, where S represents the dimension of the transformed space. A more detailed treatment of this transformation matrix can be found in Reiser (1996) or Maydeu‐Olivares and Joe (2005).

Let p denote the R×1 vector of sample proportions based on a sample of size n, which estimates the population proportions vector π. Assuming independent and identically distributed (iid) observations, it is known that

n(pπ)dNR(0,Σ), (19)

where Σ is the multinomial covariance matrix given by Σ=diag(π)ππ. In the case of a complex sampling design, the vector p becomes the weighted vector of proportions with elements h34𝒮wh[y(h)=yr]/h34𝒮wh. The vector π may now be either the vector of proportions in the finite population or a superpopulation. Under suitable conditions (e.g. Fuller, 2009 sec. 1.3.2), we still have a central limit theorem as in (19), where the covariance matrix Σ does not take a multinomial form. In either case, the central limit theorem in (19) readily transforms to the limited‐information case. Consider the S×1 vectors π2=T2π and p2=T2p, whose meanings are self apparent. Then

n(p2π2)dNS(0,Σ2), (20)

where Σ2=T2ΣT2. Because T2 is of full column rank S, Σ2 is also of full rank S.

4.2. Test statistics for simple and composite hypotheses

In the case of a simple null hypothesis H0:π=π0 and iid observations, Maydeu‐Olivares and Joe (2005) proposed the test statistic

X2=n(p2π20)Σ201(p2π20), (21)

where π20 and Σ20 are the values of π2 and diag(π2)π2π2, respectively, when π=π0. As n increases, the test statistic tends towards a χ2 distribution with S degrees of freedom.

To evaluate the adequacy of the parametric model (composite hypothesis), we define the null hypothesis H0:π=π(θ) for some θ against an alternative hypothesis H1:ππ(θ) for any θ. To construct the test statistics, we consider the residual vector e^2=p2π2(θ^PL), where p2 represent the first‐ and second‐order observed proportions, while π2(θ^PL) represent the same predicted by the parametric model when evaluated at PML estimate θ^PL.

We first derive the asymptotic distribution of e^2. Noting that π2(θ)=T2π(θ), a Taylor series expansion about the MPLE gives

π2(θ^PL)=π2(θ)+T2Δ(θ^PLθ)+op(|θ^PLθ|), (22)

where Δ=π(θ)θ. Let Δ2 be defined as Δ2=π2(θ)θ=T2Δ. Using the earlier Taylor expansion of the score vector in (12), we have that

e^2=p2π2(θ)Δ2{2P(θ)}1P(θ)+op(|θ^PLθ|). (23)

To express P(θ) in terms of p2π2(θ), we use

4.2. (24)

as a means of expressing the kth component of the score vector in (10). The cancellation in the last line above follows from the fact that for all k=1,,m and any pairwise proportions with index i,j{1,,p}, i<j,

ci=0,1cj=0,1πcicj(ij)(θ)=1ci=0,1cj=0,1πcicj(ij)(θ)θk=0. (25)

Furthermore, for any pair (i,j) we require a 1×S design vector Bcicj(ij) such that

pcicj(ij)πcicj(ij)(θ)=Bcicj(ij)(p2π2(θ)), (26)

since the pairwise proportions may be obtained through a linear combination of the first‐ and second‐order proportions. By substituting (26) into (24) and amalgamating the preceding terms in (24) with the design vector Bcicj(ij), we find an m×S matrix B(θ) that depends on the parameters θ, which satisfies

P(θ)=B(θ)(p2π2(θ)). (27)

The intermediate steps from Equations (26) to (27) are given in Appendix 1. Hence, from (23), and multiplying through by n, we get

4.2. (28)

So from (20), the consistency of the Hessian, and using Slutzky's theorem, we have the limiting distribution of the lower order residuals under H0. It is ne^2dNS(0,Ω2), where

Ω2=IΔ2H(θ)1B(θ)Σ2IΔ2H(θ)1B(θ). (29)

To calculate test statistics, it is necessary to use an estimator for the asymptotic covariance matrix of e^2. Evaluate π(θ)θ at the PL estimate θ^PL to obtain Δ^2=T2Δ|θ=θ^PL, and set

Ω^2=IΔ^2H^(θ^PL)1B(θ^PL)Σ^2IΔ^2H^(θ^PL)1B(θ^PL), (30)

with Σ^2=T2Σ^T2. The construction of the estimator Σ^ is discussed in Section 4.3. In the case of iid observations with a multinomial covariance matrix, we may set Σ^=diag(π(θ^PL))π(θ^PL)π(θ^PL).

Subsequently, the aim is to build limited‐information GOF test statistics taking the quadratic form

X2=ne^2Ξ^e^2, (31)

such that Ξ^PΞ as n, where Ξ is some S×S weight matrix. Generally, p‐values relating to X2 will be compared against a reference chi‐squared distribution. This is because the quadratic form in (31) converges in distribution to s=1SδsUs as n, where each Usiidχ12 and δ1,,δS are the eigenvalues of Ω21/2ΞΩ21/2 (or of LΞL, where L is the lower triangular matrix from the Choleski decomposition of Ω2). An exact asymptotic chi‐squared distribution arises if Ξ is chosen such that the eigenvalues δs are either 0 or 1. If not, a sum of scaled chi‐squared variates arises. A chi‐squared distribution can approximate this mixture of chi‐squared variates, but its degrees of freedom must be estimated. We describe in Appendix 2 the moment matching procedure to estimate the degrees of freedom of X2 in such cases.

In what follows, we discuss Wald‐type, Pearson, and other test statistics that utilize different forms for the weight matrix Ξ.

4.2.1. Wald‐type tests

A Wald test statistic can be constructed by selecting the inverse of Ω2 as the weight matrix Ξ. This choice ensures that the resulting test statistic follows an exact asymptotic chi‐squared distribution under the null hypothesis H0. Due to numerical instabilities, the rank of Ω2 may be deficient, causing problems for calculating the inverse. In our implementation, we adopt the Moore‐Penrose inverse Ξ^=Ω^2+, as is done in Reiser (1996). Under the null hypothesis (H0), this test statistic is asymptotically chi‐squared distributed with degrees of freedom equal to the rank of Ω^2, which falls between Sm and S (Maydeu‐Olivares & Joe, 2005). Here m represents all the free model parameters. One drawback is that the degrees of freedom are initially unknown and can only be estimated after estimating Ω^2 by inspecting the magnitude of its eigenvalues. As a result, the p‐value depends on the assessment of which eigenvalues are greater than zero. Additionally, inverting Ω^2 can be computationally challenging when its dimensions are large.

A different version of the Wald test is also considered, referred to as the diagonal Wald test, where Ξ^=diag(Ω^2)1 is used instead of the pseudo‐inverse of Ω2. The motivation behind this choice is enhanced numerical stability and computational simplicity. Inverting a diagonal matrix is straightforward compared to inverting a full matrix, especially as the number of items p increases. However, the diagonal Wald test statistic converges to a sum of scaled chi‐squared values, as mentioned earlier and, in finite samples, can be approximated by an appropriate chi‐squared distribution.

The drawbacks of Ω2 disscused above led to Maydeu‐Olivares and Joe (2005, 2006) suggesting the use of a weight matrix Ξ such that Ω2 is a generalized inverse of Ξ, i.e. Ξ=ΞΩ2Ξ. Let Δ2 be an S×(Sm) orthogonal complement to Δ2, i.e. it satisfies (Δ2)Δ2=0. Then, due to the asymptotic normality of e^2, we see that as n,

n(Δ2)e^2dNSm(0,(Δ2)Ω2Δ2). (32)

Because of (29), the asymptotic covariance matrix may be written

(Δ2)Ω2Δ2=(Δ2)Σ2Δ2,

since all the multiplications of Δ2 with its orthogonal complement cancels out. By letting

Ξ=Δ2(Δ2)Σ2Δ21(Δ2),

we can then verify Ξ=ΞΩ2Ξ, that is, Ω2 is a generalized inverse of Ξ. Let Ξ^ be an appropriate estimate of Ξ, e.g. by replacing the foregoing matrices with their corresponding hat versions. The implication here is that

X2=ne^2Ξ^e^2=ne^2Δ^2(Δ^2)Σ^2Δ^21(Δ^2)e^2, (33)

converges in distribution to a χSm2 variate as n due to (32) and Slutsky's theorem. The degrees of freedom are as such because Δ2 is of full column rank Sm and hence Ξ is also of rank Sm, since the dimensions of a vector space and its orthogonal complement always add up to the dimension of the whole space. We refer to this test as the variance‐covariance free (VCF) Wald test.

4.2.2. Pearson test statistic

To construct a Pearson test statistic, let Ξ^1=D^2=diag(π2(θ^PL)), which converges in probability to D2=diag(π2(θ)) as n. Then we can see that

X2=ne^2D^21e^2=nr=1R(p˙rπ˙r(θ^))2π˙r(θ^)+nr<s(p˙rsπ˙rs(θ^))2π˙rs(θ^), (34)

which resembles the traditional Pearson chi‐squared test statistic. Here, the p˙r and p˙rs are the first‐ and second‐order sample proportion estimates to π˙r and π˙rs respectively. When computing the Pearson test statistic, there is no need to invert Ω^2 as in the Wald test. However, unlike the traditional Pearson test statistic, this does not follow an asymptotic chi‐squared distribution because the independence requirement is violated in the second part of the foregoing sum. Instead, it converges to a sum of scaled chi‐squared values, whose distribution may be approximated by an appropriate chi‐squared distribution. Similarly, here, we employ the moment matching adjustment described in Appendix 2 to approximate the distribution of the Pearson test statistic.

4.2.3. Other test statistics

Two alternative weight matrices Ξ^ are proposed and selected for their ease of computation in determining the test statistic X2. The first option is the identity matrix. This results in a chi‐squared value resembling the sum of squared residuals (RSS), which gives a pure measure of the discrepancy between the fitted model and the data. We refer to this as the RSS test.

The second option involves using multinomial weights Ξ^1=diag(π^2)π^2π^2. This matrix is a consistent estimator for the (inverse of) the multinomial covariance matrix Σ2 for the univariate and bivariate proportions p2. Bartholomew and Leung (2002) previously examined a variation of this test, focusing solely on the bivariate combinations and excluding the univariate ones.

In both choices mentioned here, the asymptotic distribution of the resulting test statistics is a sum of scaled chi‐squared values, so it is approximated by a chi‐squared whose degrees of freedom must be estimated using the data by employing the moment matching adjustment described in Appendix 2.

4.3. Estimation of covariance matrix under complex sampling

We now consider how to construct the covariance estimator of the proportion, Σ^ of Σ, in (19) for complex sampling designs. We noted earlier that under iid assumptions, we may use the multinomial expression Σ^=diag(p)pp in the simple hypothesis case and Σ^=diag(π(θ^PL))π(θ^PL)π(θ^PL) in the composite hypothesis case. We now consider the case of complex sampling, in particular, stratified multistage sampling.

From (19) we may write

Σ=limvar{n(pπ)}=limvarnh34𝒮why(h)h34𝒮whπ,

where limvar denotes the asymptotic covariance matrix, and h is the index for the units in the sample 34𝒮={y(h)}h=1n. Using a usual linearization argument for a ratio, we may write

Σ=limvarnh34𝒮wh(y(h)π)E(h34𝒮wh).

We consider a stratified multistage sampling scheme where the strata are labelled a and the primary sampling units are labelled b=1,,na, where na is the number of primary sampling units selected in stratum a.

Then we write

h34𝒮wh(y(h)π)E(h34𝒮wh)=a=1b=1u˜ab,

where u˜ab=h34𝒮wh(y(h)π)/E(h34𝒮wh) and 34𝒮 is the set of sample units contained within primary sampling unit b within stratum a. So

Σ=limvarnabu˜ab.

A standard estimator of n1Σ is the between‐cluster variance estimator, which gives consistent variance estimates of linear and non‐linear statistics when the number of clusters grows large (see e.g. Asparouhov, 2005; Bieler & Williams, 1995; Binder, 1983; Skinner, 1989; Williams, 2000; Wolter, 2007). This estimator is given by

n1Σ^=a=1Mnana1b=1na(uabu¯a)(uabu¯a),

where na is the number of sampled clusters from stratum a, M is the total number of strata, uab=hswh(y(h)π0)/hswh is the total for all individuals h in cluster b in stratum a, and u¯a=na1b=1nauab is the average of uab. Here, π0 refers to the value of π under a simple null hypothesis or estimates of the model‐implied proportions π(θ) under a composite null hypothesis.

In the case of simple random sampling, we have just one stratum, the clusters are elements, and the weights are constant so that na=n, uab=(y(h)π0)/n, u¯a=0, and the estimator reduces to nn1diag(π0)π0π0.

We only require Σ^2=T2Σ^T2 to compute the Wald and Pearson test statistics. We may write

n1Σ^2=a=1Mnana1b=1na(vabv¯a)(vabv¯a),

where vab=h34𝒮wh(y2(h)π20)/(h34𝒮wh), v¯a=na1b=1navab, and y2(h)=T2y(h) is the S×1 indicator vector containing values [yi(h)=1] and [yi(h)=yj(h)=1] for different values of i and j.

5. SIMULATION STUDY

Our simulation study comprises three parts. The first part (Part A) focuses on assessing the performance of the parameter estimates and their asymptotic standard errors in bias and mean squared error under an informative sampling scheme. These evaluations are carried out for the weighted pairwise likelihood, which accounts for unequal selection probabilities due to sampling design or informative sampling. The simulation's second and third parts (Parts B and C) study the performance of the proposed test statistics about Type I error and power for simple random sampling (SRS) and complex sampling respectively.

We made a deliberate choice to include simulation results for SRS. This was done to evaluate the performance of the proposed test statistics under limited‐information estimation methods. Research related to limited‐information GOF test statistics has primarily focused on full‐information maximum likelihood methods, as these produce the best asymptotically normal (BAN) estimators with the lowest asymptotic variance. In contrast, limited‐information estimation methods do not yield BAN estimators.

Additionally, we investigate the degree to which the null distribution of the test statistics approximate the assumed theoretical distribution as we increase the sample size and the number of observed variables.

5.1. Simulation Part A: Assessing parameter estimates and standard errors for the weighted pairwise likelihood

The data were generated as follows. A population of size N was created under the one‐factor model using the specified true parameter values. The size of N varied according to the size of the sample n to keep the sample‐to‐population ratio small and constant at n/N=1% to avoid the need for any finite population correction factors. Each individual indexed by h was assigned a probability of selection denoted by πh, which was set at πh=1/(1+exp(y1)) based on the first underlying variable y1. Thus, a larger value of y1 resulted in a smaller probability of selection. A similar sampling scheme was described in Asparouhov (2005). The one‐factor model was subsequently estimated using two different approaches, namely the unweighted PML given in (4) and the weighted PML (PMLW) given in (5). The sampling and estimation were replicated 1000 times and repeated for three sample sizes: n=500,1000,5000.

Table 1 shows the parameter bias for different sample sizes. When the weights from the informative sampling are considered (PMLW), the bias is minimal and close to zero. Ignoring the weights (PML) leads to a more significant bias for the threshold estimates.

TABLE 1.

Simulation A: Bias of estimated factor loadings and thresholds for one‐factor model under informative sampling scheme, n=500,1000,5000, unweighted PML and PMLW.

True values
n=500
n=1000
n=5000
PML PMLW PML PMLW PML PMLW
Loadings
λ1
.80 −.026 −.002 −.030 −.006 −.017 .005
λ2
.70 −.026 −.007 −.020 −.002 −.029 −.005
λ3
.47 −.020 −.001 −.024 −.004 −.024 −.003
λ4
.38 −.017 −.001 −.019 −.002 −.017 .003
λ5
.34 −.003 .010 −.019 −.002 −.022 −.006
Thresholds
τ1
−1.43 .309 −.004 .311 .000 .304 −.007
τ2
−.55 .215 −.006 .218 .002 .213 −.008
τ3
−.13 .145 −.006 .161 .009 .153 −.001
τ4
−.72 .123 .003 .117 −.001 .120 −.002
τ5
−1.13 .112 .009 .114 .009 .106 .002

Table 2 gives the coverage and ratio of the standard deviation of the estimated parameters across replications to the estimated asymptotic standard error. The latter was calculated using the Godambe information matrix. The coverage is .95 for most parameters regardless of the sample size under the PMLW estimation. Furthermore, the estimated asymptotic standard errors computed using the Godambe information matrix closely match the standard deviations computed across 1000 replications. Ignoring the weights during estimation impacts coverage and standard errors, leading to incorrect inferences.

TABLE 2.

Simulation A: Coverage rate and ratio of standard deviation across replications to estimated asymptotic standard error (SD/SE) for factor loadings and thresholds for one‐factor model under an informative sampling scheme, n=500,1000,5000, PML and PMLW.

n=500
n=1000
n=5000
Coverage SD/SE Coverage SD/SE Coverage SD/SE
PML PMLW PML PMLW PML PMLW PML PMLW PML PMLW PML PMLW
Loadings
λ1
.95 .96 1.01 .99 .94 .95 1.04 1.01 .89 .95 1.22 1.01
λ2
.95 .95 1.03 .99 .93 .95 1.09 1.01 .85 .95 1.31 .99
λ3
.95 .96 1.02 .97 .94 .95 1.06 .97 .85 .95 1.35 .99
λ4
.94 .94 1.04 1.03 .94 .95 1.05 1.00 .88 .95 1.25 1.01
λ5
.95 .95 .99 .98 .95 .96 1.02 1.00 .90 .95 1.19 1.01
Thresholds
τ1
.01 .96 4.38 .98 .00 .96 6.24 .97 .00 .96 13.81 .97
τ2
.04 .95 3.91 1.05 .00 .94 5.47 1.01 .00 .94 12.03 1.06
τ3
.22 .96 2.93 1.02 .03 .94 4.03 1.02 .00 .96 8.76 .96
τ4
.49 .94 2.22 1.03 .20 .95 2.97 1.03 .00 .95 6.40 1.04
τ5
.61 .94 1.88 1.02 .42 .95 2.39 1.01 .00 .95 5.13 1.04

5.2. Simulation Part B: Assessing performance of limited‐information test statistics under simple random sampling

We evaluate the performance of the six test statistics outlined in Table 4 under simple random sampling (SRS) and PML. We study five different models described in Table 3 with varying numbers of items (p) and factors (q) and five sample sizes: n=500,1000,2500,5000, and 10,000. This results in 25 simulation conditions. We conducted 1000 replications for each simulation condition.

TABLE 4.

Summary of test statistics evaluated in Simulations B and C.

Name Weight matrix (Ξ) df
1 Wald
Ω2+
Sm,S
2 VCF Wald
ΞΩ2Ξ
Sm
3 Wald diagonal
diag(Ω2)1
Est.
4 Pearson
diag(π2)1
Est.
5 RSS
I
Est.
6 Multinomial
[diag(π2)π2π2]1
Est.

TABLE 3.

Simulations B and C: Models used for generating the data.

Model Label Number of variables (p) and factors (q)
1 1F 5V p=5 and q=1
2 1F 8V p=8 and q=1
3 1F 15V p=15 and q=1
4 2F 10V p=10 and q=2, 5 indicators per factor
5 3F 15V p=15 and q=3, 5 indicators per factor

In Model 1, the true factor loadings λ are (0.8,0.7,0.47,0.38,0.34). The true threshold values τ are (1.43,0.55,0.13,0.72,1.13). For Model 2, the factor loading values are identical to those in Model 1 for the first five items. Additionally, the first three factor loadings (.8, .7, .47) from Model 1 are repeated to set the values for the last three items in Model 2. The threshold values follow the same pattern. The same mechanism is used to set the true values for Model 3. Models 4 and 5 are confirmatory factor analysis models. The true factor loadings for each factor are used in Model 1. The same goes for the thresholds. For Models 4 (two factors) and 5 (three factors), the factor correlations are ρ=0.3 and ρ=(0.2,0.3,0.4) respectively.

In each replication within each condition, we compute the GOF test statistic using Equation (31), and the weight matrices used are summarized in Table 4. The moment matching adjustment described in Appendix 2 has been applied to all tests but the Wald and VCF Wald. The degrees of freedom for the Wald test statistics are in the range (Sm,S). We found that Sm gave the best results in approximating the test statistic distribution, which we used in all our simulations. Our comparison focuses on the Wald, VCF Wald, and Pearson test statistics. The study also includes the performance of simpler versions of the tests (WaldDiag, RSS, and multinomial). However, we recommend using these simpler versions independently only after further investigations to determine their suitability in any model setting.

To conduct a power analysis, we introduced an additional latent variable zN(0,1) independent of the latent variables η. This extra variable was included in the data‐generating model to capture together with η the associations among the y variables. The loadings of variable z in the data‐generating model closely resembled the loadings of the true latent factor η. For Models 1 and 2, the extra latent variable z loads onto all items except two (y2 and y6). For Model 3, z loads onto all items except three (y2,y6,y14). For Models 4 and 5, z loads onto all items. This additional latent variable in the data‐generation process results in a misspecified model, and the power of the test correctly detects the misspecification.

Figure 1 gives the Type I error rates for the six test statistics across all simulation conditions. The Wald diagonal test statistic exhibited the poorest performance. In contrast, Pearson and the Wald‐type test statistics demonstrated satisfactory performance across all three significance levels α=10%,5%, and 1%, with improvement noted as the sample size increased. The power of all tests, as shown in Figure 2, increased with sample size, although it remained at lower levels in the case of the two‐ and three‐factor models. In addition, as the complexity of the model increased, the power of the Wald‐type test statistics consistently decreased compared to the Pearson test statistic. This could be attributed to the instability in inverting the Ω^2 matrix and potential issues with its estimation arising from possible sparsity in the lower‐order margins and smaller sample sizes.

FIGURE 1.

FIGURE 1

Simulation B: Type I error rates at significance levels α=(10%,5%,1%) for the six test statistics in Table 4 across the five models in Table 3 and n=500, 1000, 2500, 5000, 10,000, SRS. The reported intervals are the 95% confidence intervals for each rejection proportion.

FIGURE 2.

FIGURE 2

Simulation B: Power analysis at significance levels α=(10%,5%,1%) for the six test statistics in Table 4 across the five models in Table 3, and n=500, 1000, 2500, 5000, 10,000, SRS.

5.3. Simulation C: Assessing performance of limited‐information test statistics under complex sampling

We generated data for an entire population, mirroring a commonly employed sampling approach in educational surveys. The population comprised 2000 schools, acting as primary sampling units (PSUs). These schools were stratified into three types: A (400 units), B (1000 units), and C (600 units).

The schools were of different sizes so that an unequal probability sample might be conducted for the clustered sample scenario based on each school's size. The number of students allocated to each school followed a normal distribution, with a mean of 500 and a standard deviation of 125. Each school's assigned students was then rounded to the nearest whole number.

Additionally, students within each school type were randomly distributed among classes, where the average class sizes were set at 15, 25, and 20 for school Types A, B, and C respectively. The simulated population comprised approximately one million students (clustered within classrooms and classrooms clustered within schools). The population statistics, encompassing the count of schools, school types, and average class sizes, are given in Table 5.

TABLE 5.

Simulation C: Population statistics for simulated school population.

Schools Students Class size
Type
N
N
Avg. SD Min. Max. Avg. SD Min. Max.
A 400 200,670 501.7 96.9 253 824 15.2 3.9 3 36
B 1000 501,326 501.3 100.2 219 839 25.7 5.0 6 48
C 600 303,861 506.4 101.9 195 829 20.4 4.4 6 39

The item responses were generated based on the five factor models outlined in Table 3. The PSUs (schools) were stratified into distinct strata based on the latent vector η, representing the abilities of each student. The observation units were ordered in descending order based on their latent variable value for the first factor η1h. Subsequently, they were allocated to school Types A, B, or C. If the vector of observed variables y represents test items, this categorization implies that school Type A comprises ‘high‐ability’ students, Type B ‘medium‐ability’ students, and Type C ‘low‐ability’ students. This data‐generating scheme resulted in varying intraclass correlations (ICC) for response items across PSUs, ranging from .05 to .6. Of note, Hedges and Hedberg (2007) found that a typical value for the ICC in an educational study was about .16, adjusted for covariates.

To obtain a sample from this simulated population, we explored two multistage probability sampling designs: (1) two‐stage cluster sampling and (2) stratified cluster sampling. The following discussion details the process of selecting a sample of (approximate) size n from each design. Table 6 shows the number of clusters (PSUs) sampled using each sampling design discussed below.

  1. Two‐stage cluster sampling

    Let nc=n21.5, where 21.5 represents the average class size across all types of schools in the population. The value of nc approximates the number of schools (PSUs). Schools are selected using probability proportional to size (PPS) sampling, where the size variable is the number of students in each school. Next, one class is selected using simple random sampling from each selected PSU. All students in the selected class are included in the sample. The probability of selecting a student from school b is
    Pr(selection)=zbbzb×1Mb,
    where zb is the number of students in school b, bzb is the total number of students in all schools in the population, and Mb is the number of classes in school b.

    The total sample size varies from sample to sample due to varying school and class sizes. However, on average, it is expected to be close to n=nc×21.5, where 21.5 is the average number of students per class.

  2. Stratified cluster sampling

    Select a fixed number of schools (PSUs) denoted by nc using SRS from each stratum. The quantity nc is determined using the formula nc=n/(15+20+25), since we want the sample size n to be close to 15nc+20nc+25nc, where the numbers 15, 20, and 25 represent the average class size in each stratum. One class is selected from each selected school using SRS. All the students from the selected class are included in the sample.

    The inclusion probability for a student from school, b within stratum a, is calculated to be
    Pr(selection)=naNa×nabNab×nabcNabc,
    where na (Na) is the sample (population) number of schools in stratum a, nab (Nab) is the sample (population) number of classes in school b within stratum a, and nabc (Nabc) is the sample (population) number of students in class c, school b within stratum a. In our experiment, na was chosen to be the same in each stratum (equal allocation) denoted by nc, and all students were selected from the selected classes, nabc=Nabc.

TABLE 6.

Number of clusters (PSUs) sampled with each sampling method.

Sampling method
n=500
n=1000
n=2500
n=5000
n = 10,000
Cluster 23 47 116 233 465
Stratified cluster 24 51 126 249 501

For the two‐stage cluster sampling design, we provide additional results in Appendix 3. Table A1 shows the coverage and the SD/SE ratio for each estimated parameter obtained from 1000 replications over the estimated asymptotic standard error for all model parameters. This is for the one‐factor model with five items, using weighted pairwise likelihood and considering clustering in estimating the variability matrix J (16) in the Godambe information matrix. The results show that when clustering is considered in estimating the Godambe information matrix, the standard deviation to standard error ratio is much closer to one than when it is not accounted for.

Figure 3 displays the Type I error and power rates for the six test statistics under the two complex sampling designs across the five models outlined in Table 3. All test statistics performed well under both complex designs, except for the WaldDiag, which required larger sample sizes. Due to its poor performance even under SRS, it is not advisable to use the WaldDiag. The Wald and VCF Wald also exhibited poor performance in the larger models with smaller sample sizes. The Wald test is known to be unstable, mainly when used with data from complex sampling designs and has poor small‐sample behaviour (see e.g. Fay, 1985; Lumley & Scott, 2014). As Fay (1985) and Skinner (2019) have stated, the covariance matrix estimator of the estimated proportions is consistent, but in practice, it will typically be less precise than the multinomial analogues. This reduced precision seriously affects the inversion required in the Wald statistic. In particular, (Fay, 1985, p. 148) wrote that ‘the instability in the estimated inverse, in turn, inflates the rate of rejection under the null hypothesis, often enough to make the test unusable’.

FIGURE 3.

FIGURE 3

Simulation C: Type I error rates (top) and power analysis (bottom) for the two complex sampling designs at significance level α=5% for the six test statistics in Table 4 across the five models in Table 3 and n=500,1000,2500,5000,10,000. The reported intervals are the 95% confidence intervals for each rejection proportion.

Similar to SRS, the power of the test statistics increased with sample size across all models. Notably, the 2F10V model required a sample size of 5000 to exhibit larger power levels in both sampling designs. The 3F15V model also needed a large sample size under the two‐stage stratified cluster design. For sample sizes of 500 and 1000, the test statistics exhibited low power. It is important to note that in those cases, the Pearson test statistic exhibited power higher than or similar to that of the Wald‐type tests except for the 1F8V model under both designs. The Wald‐type test statistics are possibly affected by the instability of computing and inverting the Ω^2 matrix and the likely sparsity even in the lower order margins in the bigger models and small sample sizes.

The asymptotic distribution of the proposed test statistics is checked using QQ plots. In Appendix 4, Figures A1, A2, A3 display QQ plots across the 1000 replications for all five models, five sample sizes and simple random sampling, two‐stage cluster sampling, and two‐stage stratified cluster sampling respectively. The plots reveal a generally close alignment between the theoretical distribution of each test and its Monte Carlo distribution. The largest deviations from the asymptotic distribution were found in the WaldDiag test.

6. DISCUSSION

This paper expands the pairwise likelihood estimation and limited information test statistics to accommodate complex and informative sampling designs. Specifically, sampling and informative weights are incorporated into the pairwise likelihood to consider the complex design during model estimation and the estimation of asymptotic standard errors. Additionally, the paper introduces limited‐information test statistics of Wald and Pearson's types tailored for complex sampling within the pairwise likelihood estimation framework.

The weighted pairwise likelihood produced unbiased estimates and robustly estimated standard errors. The limited‐information test statistics implemented using pairwise likelihood estimates showed good performance in terms of Type I error and power under simple random and two complex sampling designs, namely, two‐stage cluster and stratified cluster sampling. Although we studied both limited information Wald‐ and Pearson‐type test statistics that work satisfactorily in most cases, the Wald test statistic, for the reason we discussed above, can be unstable, mainly when used to data from complex sampling designs and has poor small‐sample behaviour. Therefore, we recommend using the Pearson test statistic with the pairwise likelihood estimator and the moment matching adjustment. Also, the Pearson test statistic does not require to invert the Ω2 matrix.

One must also consider that sparseness may occur in the lower‐order margins for complex models and small sample sizes. In this case, further investigation is needed to study their performance.

Further research can extend the tests to ordinal responses and investigate resampling methods for estimating the proportions' variance under multistage designs. A Bayesian pairwise approach can also be helpful here for obtaining the test statistics distribution via posterior sampling without relying on the large sample theory presented in this paper.

AUTHOR CONTRIBUTIONS

Haziq Jamil: investigation; writing – review and editing; methodology; software; visualization. Irini Moustaki: conceptualization; methodology; validation; formal analysis; writing – original draft. Chris Skinner: methodology; writing – review and editing.

ACKNOWLEDGEMENTS

Professor Chris Skinner passed away on the 21st of February 2020. He had been involved in the first stages of the current project, contributing to the methodology presented in the paper.

The authors confirm that no AIGC tools were used in the creation of this manuscript.

APPENDIX 1. PROOF

From (27) we wrote that the score vector can be expressed as a transformation of the (p2π2(θ)) vector, which we prove here. Extending (24) to vector form, we have

mP(θ)=nπcicj(ij)(θ)θki<jk=1,,mdiagπcicj(ij)(θ)1pcicj(ij)πcicj(ij)(θ)i<j=nπcicj(ij)(θ)θki<jk=1,,mdiagπcicj(ij)(θ)1(Bcicj(ij))i<j(p2π2(θ)), (A1)

where (Bcicj(ij))i<j is the 4p(p1)/2×S matrix containing stacked 1×S row vectors Bcicj(ij) satisfying (26). That is, for any i,j{1,,p} and i<j,

B00(ij)B10(ij)B01(ij)B11(ij)(p2π2(θ))=p00(ij)π00(ij)(θ)p10(ij)π10(ij)(θ)p01(ij)π01(ij)(θ)p11(ij)π11(ij)(θ).

The design should be obvious and simple for the patterns cicj=10,01,11. As for the pattern ‘00’, we may use the fact that the sum of the pairwise proportions is 1:

APPENDIX 1.

Combining this design matrix with the preceding terms in (A1), we get

B(θ):=πcicj(ij)(θ)θki<jk=1,,mdiagπcicj(ij)(θ)1(Bcicj(ij))i<j, (A2)

an m×S matrix dependent on the parameter vector θ. Equation (27) then follows directly.

APPENDIX 2. ESTIMATION OF DEGREES OF FREEDOM

We discuss the moment matching procedure used to estimate the degrees of freedom of X2=ne^2Ξ^e^2. This statistic has a limiting distribution of s=1SδsUs, where each Usiidχ12 and δs represents the eigenvalues of M=Ω21/2ΞΩ21/2.

The eigenvalues, which are invariant under cyclic permutations, can be more efficiently computed as the eigenvalues of ΞΩ2, especially when Ξ is diagonal and Ω2 is dense. In our context, these eigenvalues are estimated using the hat versions of Ω2 and Ξ. For the Wald and VCF Wald test, M becomes idempotent, resulting in an exact chi‐squared distribution for X2. Consequently, these estimation procedures are specifically applied to the diagonal Wald and the Pearson test statistics.

Suppose Y follows a χc2 distribution. We assume X2 can be approximately represented as a linear transformation of this chi‐squared random variate:

X2a+bY. (A3)

The first three moments of X2 are expressed as (Mathai & Provost, 1992, theorem 3.2b.2, p. 53)

μ1(X2)=tr(ΞΩ2),μ2(X2)=2tr((ΞΩ2)2),μ3(X2)=8tr((ΞΩ2)3). (A4)

The moments of the approximating random variable a+bY are denoted as

μ1(a+bY)=a+bc,μ2(a+bY)=2b2c,μ3(a+bY)=8b3c. (A5)

The formulas for the raw moments of a chi‐squared random variable Y with c degrees of freedom are E(Yk)=c(c+2)(c+4)(c+2k2). If we equate these moment expressions and solve for the parameters a, b, and c in the three‐moment adjustment equation, we obtain

b=μ3(X2)4μ2(X2),c=μ2(X2)2b2,a=E(X2)bc.

We can also use two‐moment and one‐moment matching techniques similarly. For the two‐moment adjustment, if we assume X2bY, where Yχc2 (i.e. set a=0), the formulae for b and c are as follows:

b=μ2(X2)2μ1(X2)andc=μ1(X2)b.

On the other hand, in the one‐moment adjustment, let us set c=S, which represents the number of degrees of freedom available for testing. In this case, b can be calculated as b=μ1(X2)/c.

In these cases, the tail probabilities can be approximated as

Pr(X2>x)PrY>xabYχc2.

The moment matching procedure is often referred to as the Satterwaithe approximation. The parameter estimates for a,b,c are calculated using estimated versions of Ξ and Ω2 in the given formulas. In this paper, we use the three‐moment procedure due to previous findings suggesting inaccuracies in p‐values obtained from the one‐moment procedure (e.g. Maydeu‐Olivares & Joe, 2008).

APPENDIX 3. TWO‐STAGE CLUSTER SAMPLING DESIGN, COVERAGE, AND STANDARD ERRORS FOR PARAMETER ESTIMATES

3.1.

TABLE A1.

Two‐stage cluster sampling: Coverage rate and the ratio of standard deviation across replications to the estimated asymptotic standard error (SD/SE) for factor loadings and thresholds for the one‐factor model, n=500,1000,5000, weighted and weighted adjusted for clustering pairwise maximum likelihood (PMLW and PMLW‐adj).

Coverage SD/SE Coverage SD/SE Coverage SD/SE
n=500
n=1000
n=5000
PMLW PMLW‐adj PMLW PMLW‐adj PMLW PMLW‐adj PMLW PMLW‐adj PMLW PMLW‐adj PMLW PMLW‐adj
Loadings
λ1
.94 .92 1.08 1.10 .93 .92 1.09 1.08 .94 .96 1.04 1.00
λ2
.94 .93 1.07 1.04 .93 .94 1.11 1.05 .93 .95 1.06 .99
λ3
.93 .93 1.11 1.06 .92 .93 1.14 1.06 .92 .95 1.08 .99
λ4
.95 .93 1.03 1.03 .94 .94 1.07 1.03 .92 .94 1.08 1.02
λ5
.92 .90 1.08 1.10 .93 .92 1.08 1.07 .95 .95 1.02 1.00
Thresholds
τ1
.64 .93 2.19 1.08 .67 .95 2.09 1.02 .66 .96 1.99 .97
τ2
.56 .93 2.63 1.05 .57 .95 2.45 .97 .57 .97 2.41 .95
τ3
.70 .94 1.85 1.01 .71 .95 1.86 1.01 .71 .96 1.84 .99
τ4
.80 .94 1.57 1.04 .81 .95 1.45 .96 .80 .96 1.51 .99
τ5
.84 .92 1.38 1.05 .87 .96 1.28 .97 .87 .96 1.31 .98

APPENDIX 4. QQ PLOTS OF TEST STATISTICS UNDER H0

4.1.

FIGURE A1.

FIGURE A1

QQ plot for the six test statistics in Table 4 across the five models in Table 3 from simulated data for simple random sampling under the null hypothesis and their respective theoretical asymptotic distributions, n=500,1000,2500,5000, 10,000.

FIGURE A2.

FIGURE A2

QQ plot for the six test statistics in Table 4 across the five models in Table 3 from simulated data for the two‐stage cluster sampling under the null hypothesis and their respective theoretical asymptotic distributions, n=500,1000,2500,5000, 10,000.

FIGURE A3.

FIGURE A3

QQ plot for the six test statistics in Table 4 across the five models in Table 3 from simulated data for the two‐stage stratified cluster sampling under the null hypothesis and their respective theoretical asymptotic distributions, n=500,1000,2500,5000, 10,000.

Jamil, H. , Moustaki, I. , & Skinner, C. (2025). Pairwise likelihood estimation and limited‐information goodness‐of‐fit test statistics for binary factor analysis models under complex survey sampling. British Journal of Mathematical and Statistical Psychology, 78, 258–285. 10.1111/bmsp.12358

DATA AVAILABILITY STATEMENT

All analyses were conducted in R (R Core Team, 2024) using the accompanying lavaan.bingof (Jamil, 2024) package. The R scripts are available at https://osf.io/2d97y/, including tabulated Type I error rates and power for all simulations conducted.

REFERENCES

  1. Asparouhov, T. (2005). Sampling weights in latent variable modeling. Structural Equation Modeling, 12(3), 411–434. [Google Scholar]
  2. Bartholomew, D. J. , Knott, M. , & Moustaki, I. (2011). Latent variable models and factor analysis: A unified approach (3rd ed.). John Wiley. [Google Scholar]
  3. Bartholomew, D. J. , & Leung, S. O. (2002). A goodness of fit test for sparse 2p contigency tables. British Journal of Mathematical and Statistical Psychology, 55, 1–15. [DOI] [PubMed] [Google Scholar]
  4. Bieler, G. S. , & Williams, R. L. (1995). Cluster sampling techniques in quantal response teratology and developmental toxicity studies. Biometrics, 51, 764–776. [PubMed] [Google Scholar]
  5. Binder, D. A. (1983). On the variances of asymptotically normal estimators from complex surveys. International Statistical Review, 51, 279–292. [Google Scholar]
  6. Cagnone, S. , & Mignani, S. (2007). Assessing the goodness of fit of a latent variable model for binary data. Metron, 65, 337–361. [Google Scholar]
  7. Cai, L. , Maydeu‐Olivares, A. , Coffman, D. L. , & Thissen, D. (2006). Limited information goodness‐of‐fit testing of item response theory models for sparse 2p tables. British Journal of Mathematical and Statistical Psychology, 59, 173–194. [DOI] [PubMed] [Google Scholar]
  8. Fay, R. E. (1985). A Jackknifed chi‐squared test for complex samples. Journal of the American Statistical Association, 80, 148–157. [Google Scholar]
  9. Fuller, W. A. (2009). Sampling statistics. John Wiley & Sons. [Google Scholar]
  10. Godambe, V. P. (1960). An optimum property of regular maximum likelihood equation. Annals of Mathematical Statistics, 31, 1208–1211. [Google Scholar]
  11. Hedges, L. V. , & Hedberg, E. C. (2007). Intraclass correlation values for planning group‐randomized trials in education. Educational Evaluation and Policy Analysis, 29(1), 60–87. [Google Scholar]
  12. Jamil, H. (2024). lavaan.bingof: Limited information goodness of fit tests for binary factor models . R package version 0.1.2. https://haziqj.ml/lavaan.bingof/
  13. Jöreskog, K. G. (1979). Basic ideas of factor and component analysis. In Jöreskog K. & Sörbom D. (Eds.), Advances in factor analysis and structural equation models (pp. 5–20). Abt Books. [Google Scholar]
  14. Jöreskog, K. G. (1990). New developments in LISREL: Analysis of ordinal variables using polychoric correlations and weighted least squares. Quality and Quantity, 24, 387–404. [Google Scholar]
  15. Jöreskog, K. G. (1994). On the estimation of polychoric correlations and their asymptotic covariance matrix. Psychometrika, 59, 381–389. [Google Scholar]
  16. Jöreskog, K. G. , & Moustaki, I. (2001). Factor analysis of ordinal variables: A comparison of three approaches. Multivariate Behavioral Research, 36, 347–387. [DOI] [PubMed] [Google Scholar]
  17. Katsikatsou, M. (2013). Composite likelihood estimation for latent variable models with ordinal and continuous or ranking variables [PhD thesis]. Uppsala University.
  18. Katsikatsou, M. , & Moustaki, I. (2016). Pairwise likelihood ratio tests and model selection criteria for structural equation models with ordinal variables. Psychometrika, 81, 1046–1068. [DOI] [PubMed] [Google Scholar]
  19. Katsikatsou, M. , Moustaki, I. , Yang‐Wallentin, F. , & Jöreskog, K. G. (2012). Pairwise likelihood estimation for factor analysis models with ordinal data. Computational Statistics and Data Analysis, 56, 4243–4258. [Google Scholar]
  20. Lindsay, B. (1988). Composite likelihood methods. In Prabhu N. U. (Ed.), Statistical inference from stochastic processes (pp. 221–239). American Mathematical Society. [Google Scholar]
  21. Liu, J. (2007). Multivariate ordinal data analysis with pairwise likelihood and its extension to SEM [PhD thesis]. University of California.
  22. Lumley, T. , & Scott, A. (2014). Tests for regression models fitted to survey data. Australian & New Zealand Journal of Statistics, 56, 1–14. [Google Scholar]
  23. Mathai, A. M. , & Provost, S. B. (1992). Quadratic forms in random variables: Theory and applications. Dekker. [Google Scholar]
  24. Maydeu‐Olivares, A. , & Joe, H. (2005). Limited and full‐information estimation and goodness‐of‐fit testing in 2n contingency tables: A unified framework. Journal of the American Statistical Association, 6, 1009–1020. [Google Scholar]
  25. Maydeu‐Olivares, A. , & Joe, H. (2006). Limited information goodness‐of‐fit testing in multidimensional contigency tables. Psychometrika, 71, 713–732. [Google Scholar]
  26. Maydeu‐Olivares, A. , & Joe, H. (2008). An overview of limited information goodness‐of‐fit testing in multidimensional contingency tables. In K. Shigemisu, A. Okada, T. Imaizumi, & T. Hoshino (Eds.) New Trends in Psychometrics, (pp. 253–262). Universal Academy Press. [Google Scholar]
  27. Muthén, B. O. (1984). A general structural model with dichotomous, ordered categorical and continuous latent variable indicators. Psychometrika, 49(1), 115–132. [Google Scholar]
  28. Muthén, B. O. , & Satorra, A. (1995). Complex sample data in structural equation modeling. Sociological Methodology, 25, 267–316. [Google Scholar]
  29. R Core Team . (2024). R: A language and environment for statistical computing. R Foundation for Statistical Computing. [Google Scholar]
  30. Reiser, M. (1996). Analysis of residuals for the multinomial item response model. Psychometrika, 61, 509–528. [Google Scholar]
  31. Reiser, M. (2008). Goodness‐of‐fit testing using components based on marginal frequencies of multinomial data. British Journal of Mathematical and Statistical Psychology, 61, 331–360. [DOI] [PubMed] [Google Scholar]
  32. Reiser, M. , & VandenBerg, M. (1994). Validity of the chi‐square test in dichotomous variable factor analysis when expected frequencies are small. British Journal of Mathematical and Statistical Psychology, 47, 85–107. [Google Scholar]
  33. Rosseel, Y. (2012). lavaan: An R package for structural equation modeling. Journal of Statistical Software, 48(2), 1–36. [Google Scholar]
  34. Salomaa, H. (1990). Factor analysis of dichotomous data. Statistical studies series #11. Suomen Tilastoseura. [Google Scholar]
  35. Skinner, C. (1989). Domain means, regression and multivariate analysis. In Skinner C., Holt D., & Smith T. (Eds.), Analysis of complex surveys. Wiley. [Google Scholar]
  36. Skinner, C. (2019). Analysis of categorical data for complex surveys. International Statistical Review, 87, 64–78. [Google Scholar]
  37. Skrondal, A. , & Rabe‐Hesketh, S. (2004). Generalized latent variable modeling: Multilevel, longitudinal and structural equation models. Chapman & Hall/CRC. [Google Scholar]
  38. Varin, C. (2008). On composite marginal likelihoods. Advances in Statistical Analysis, 92, 1–28. [Google Scholar]
  39. Varin, C. , Reid, N. , & Firth, D. (2011). An overview of composite likelihood methods. Statistica Sinica, 21, 5–42. [Google Scholar]
  40. Williams, R. L. (2000). A note on robust variance estimation for cluster‐correlated data. Biometrics, 56, 645–646. [DOI] [PubMed] [Google Scholar]
  41. Wolter, K. (2007). Introduction to variance estimation (2nd ed.). Springer. [Google Scholar]
  42. Xi, N. (2011). A composite likelihood approach for factor analyzing ordinal data [PhD thesis]. The Ohio State University.
  43. Zhao, Y. , & Joe, H. (2005). Composite likelihood estimation in multivariate data analysis. The Canadian Journal of Statistics, 33(3), 335–356. [Google Scholar]

Associated Data

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

Data Availability Statement

All analyses were conducted in R (R Core Team, 2024) using the accompanying lavaan.bingof (Jamil, 2024) package. The R scripts are available at https://osf.io/2d97y/, including tabulated Type I error rates and power for all simulations conducted.


Articles from The British Journal of Mathematical and Statistical Psychology are provided here courtesy of Wiley

RESOURCES