Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2025 Jul 29.
Published before final editing as: Stat Biosci. 2024 Sep 27:10.1007/s12561-024-09457-2. doi: 10.1007/s12561-024-09457-2

Model Checking for Logistic Models with Study of Telehealth During the COVID-19 Pandemic Among PWH in DC

Zeyu Yang 1, Hua Liang 1, Huiling Liu 2, Shannon Barth 3, Morgan Byrne 3, Elisabeth Andersen 3, Vinay Bhandaru 4, Amanda Castel 3, on behalf of DC Cohort Executive Committee
PMCID: PMC12306521  NIHMSID: NIHMS2028586  PMID: 40740611

Abstract

We propose a projection-based test to check logistic regression models and apply the test to study telehealth utilization during the COVID-19 pandemic among patients with HIV. The test is shown to be consistent and can detect root-n local alternatives. The use of the proposed test to investigate a COVID-19 dataset reveals that the probability of telehealth utilization depends on the following variables: overweight, education, and age and the interaction between age and ethnicity. Specifically, the probability for the Hispanic group decreases with older age, whereas there is no trend between the probability with the age for the group of non-Hispanic. This interaction may be ignored when we apply other goodness-of-fit methods. The simulation studies also show the performance of the proposed method is remarkably attractive compared to its competitors.

Keywords: Consistent test, COVID-19, Goodness-of-fit, Logistic regression, Person living with HIV (PWH), Projection, Telehealth

1. Introduction

Telehealth has previously been used to provide HIV care and prevention services in rural areas and settings with limited healthcare access and has slowly expanded to urban patients who deferred face-to-face meetings [1]. However, during the COVID-19 pandemic, telehealth was rapidly deployed for HIV ambulatory care [2]. Data for this analysis come from COVID-19 survey, a sub study of the DC Cohort study which is, a longitudinal study of persons living with HIV and receiving care in the Washington, DC area [3]. Study participants included those who completed a cross-sectional electronic COVID-19 survey that was sent to DC Cohort participants from Oct 30, 2020 to Auguest 19, 2022 (n = 1673). Among 1551 PWH with complete data, 68% reported at least one telehealth visit during the study.

Applying a logistic regression model to fit the logit of telehealth against the covariates (CHD, hypertension, age, ethnicity, overweight, education level, and number of comorbidities) and using the AIC [4] criterion to select the important covariates, we find only three covariates: ethnicity, overweight and education. Yet, a further exploration (see more details in Sect. 3) reveals that age acts as an important effect modifier of ethnicity. We are interested in whether the model without an interaction term is enough to investigate the relationship between telehealth and the covariates. This is an essential goodness-of-fit problem.

The Hosmer–Lemeshow test [5], the most commonly applied approach in the literature, could be applied to address such a goodness-of-fit concern. However, this test has some limitations and generally has very low power [6]. Two alternatives have been developed to remedy limitations of the Hosmer–Lemeshow test; i.e., the Osius–Rojek test [7] and the Stukel test [8]. Simulation studies suggest that the Stukel test is slightly less powerful at detecting quadratic departures from linearity but more powerful at detecting interactions than the Hosmer–Lemeshow test. Furthermore, the Stukel test seems considerably more powerful than the Hosmer–Lemeshow test at detecting departures from the logit link function [6, 9]. The Stukel test has been advocated to use for goodness-of-fit checking. Unfortunately, the test works less satisfactorily for the current dataset (see more details in Sect. 3).

To address the problems, we extended the projection-based goodness-of-fit test for parametric regression [10] to the current setting by integrating a model-based bootstrap (MBB) procedure [11, 12]. The intuitive purpose is to avoid studying the regression, i.e., ε(X,β) against X [see the definition of ε(X,β) in Sect. 2], because this regression is a multivariate nonparametric function and leads to curse-of-dimensionality. Instead, we consider the regression Eε(X,β)∣X⊤W after projecting X to a direction W. Allowing the direction W to vary, the new regression on a scalar does not lose any information yet avoids the curse-of-dimensionality problem. The proposed test will be shown to be free from the data generation process and can detect the alternative hypothesis distinguishing from the null hypothesis at the rate up to n-1/2, the best rate, and has outstanding power performance under the alternatives (see more details in Sect. 4).

In Sect. 2, we present the projection-based test statistic and the asymptotic properties of the test statistic under null and alternative hypotheses, and suggest a bootstrap method to calculate the critical value. We report the results for the telehealth study in Sect. 3, and the simulation studies in Sect. 4. A brief proof of the main result is presented in the “Appendix”.

2. The Test Statistics

Let Y be a binary response variable and X=x1,…,xp⊤ be the vector of covariates. Their relationship follows the logistic regression model

logitPY=1X=XTβ,

where β=β1,…,βp⊤ is a vector of unknown parameters. Let g(v)={1+exp⁡(-v)}-1 be the logistic distribution function. Write ε(X,β)=Y-gX⊤β and consider

ℋ0:E{ε(X,β)∣X}=0forsomeβ (1)

against the alternative hypothesis:

ℋ1:EεX,βX≠0foranyβ∈Rp.

So the alternative hypothesis is very general to cover various situations such as quadratic or interaction or nonlinear departures from linearity.

Note that E{ε(X,β)∣X}=0 if and only if Eε(X,β)∣X⊤W=0 almost sure for any unit vector W [13]. Instead of considering E{ε(X,β)∣X}, we focus on Eε(X,β)∣X⊤W. Study of this projection brings a substantial convenience because the former involves a regression against a vector X, which may raise curse-of-dimensionality problems, while the latter takes expectation on a projection X⊤W, a scalar no matter what the dimension of X is. Yet, this projection does not lose any information.

Let Yi,Xi,i=1,…,n be a sample from (Y,X). Then the log-likelihood function is

ℒβ=∑i=1nYilog⁡gXi⊤β+1-Yilog⁡1-gXi⊤β.

The maximum likelihood estimator (MLE) β^n of β is the solution to

Lnβ=∂ℒβ∂β=∑i=1nXiYi-gXi⊤β=0.

Write ε^Xi,β^n=Yi-gXi⊤β^n. Define

Mnu,W=1n∑i=1nε^Xi,β^nIXi⊤W≤uforu∈R1,

where W is uniformly distributed on the unit sphere in Rp:Sp=w∈Rp:‖w‖=1.

The proposed test statistic is

Tn=∫-∞∞∫SpMnu,w2dwFnwdu,

where Fnw(u)=1/n∑i=1nIXi⊤w≤u. We reject the null hypothesis for large values of Tn. The empirical process Mn(u,W) is a weighted cumulative sum of the residuals, and Tn is a Cramér–von Mises type test statistic.

A direct calculation yields

Tn=1n2∑i=1n∑j=1n∑l=1nε^Xi,β^nε^Xj,β^nAijl,

where Aijl=∫SpIXi⊤w≤Xl⊤wIXj⊤w≤Xl⊤wdw, which can further be expressed as [10]

Aijl=Cpπ-arccos⁡Xi-Xl⊤Xj-XlXi-XlXj-Xl

with Cp=π(p/2)-1/Γ(p/2+1), where Γ(⋅) is the gamma function. Write A=∑l=1nAijln×n. Immediately, we have Tn=1/n2ε^⊤Aε^, where ε^=ε^X1,β^n,…,ε^Xn,β^n⊤. Thus, the multiple-integration calculation of the statistic can be transformed to a calculation of a summation, which makes the calculation of Tn straightforward.

Below we briefly examine asymptotic properties for the proposed statistic under the null and alternative hypotheses. Let H(v) be the derivative of g(v); i.e., g(v){1-g(v)}. For any function η, denote ηi(β)=ηXi⊤β and ηi=ηXi⊤β0 with β0 being the true value, for instance, Hi(β)=HXi⊤β,gi=giβ0. Let Gn(β)=∑i=1nXiHi(β)Xi⊤ and Sn=∑i=1nXiXi⊤. Let H=diagH1,…,Hn.

In what follows, λmax(A) and λmin(A) denote the maximum and minimum eigenvalues for a symmetric matrix A respectively. A1≥A2 means A1-A2 is semi-positive definite for two matrices A1 and A2.

Assumption

  • (A1) There exist two positive constants cmin and Cmax such that cminn≤λminSn≤λmaxSn≤Cmaxn.

  • (A2) There is a positive constant c00 such that min1≤i≤ngXi⊤β01-gXi⊤β0≥c00. The condition (A2) bounds the eigenvalues of Sn in probability. This is a basic assumption to ensure Sn/n is not ill-conditioned. This assumption is needed for establishing asymptotic properties of βˆn [16].

It can be shown that the estimated empirical process Mn(u,W), -∞<u<∞, converges to a centered Gaussian process, and Tn converges to an integrated squared Gaussian process. Let Σβ=EXHX⊤,Γ(u)=Eg′X⊤β0X⊤Σβ-1IX⊤W≤u, and Ψu(X,ε)=IX⊤W≤u-Γ(u)Xε. We have the following result. A sketch proof is deferred to the Appendix.

Theorem 1 Suppose that Conditions (A1)and (A2) hold. Under the null hypothesis (1), the estimated empirical process Mn(u,W) converges in distribution to M(u), -∞<u<∞, in the Skorohod space S[-∞,∞], where M(u) is a centered Gaussian process with covariance functions

covMu1,Mu2=EΨu1(X,ε)Ψu2(X,ε).

For the test statistic Tn, we have

Tn→L∫{Mu}2Fdu,

where F is the distribution of X⊤W.

In the following, we investigate the power behavior of the statistic under local and global alternatives. We consider the local alternative with a deviation of a nonlinear measurable function of X from the null hypothesis; i.e.,

ℋ1n:PrE(Y∣X)=gX⊤β0+rnD(X)=1, (2)

where D(X) cannot take the form of X⊤β for any β and is a measurable function of X satisfying with 0<ED2(X)<∞,rn is a constant depending on n. The expression (2) covers a variety of alternatives, rather than a specific parametric alternative, so the proposed test is more applicable due to possibly broad alternatives.

Checking the derivation for (9) in the “Appendix”, we can validate that, under the alternatives (2),

Mn(u,W)=1n∑i=1nIXi⊤W≤u-Γ(u)Xiεi+rnn1/2EgX⊤β01-gX⊤β0D(X)IX⊤W≤u+op(1).

As a result, we have the following proposition on the behavior of asymptotic power of the proposed statistic.

Proposition 1 Suppose that Conditions (A1) and (A2) hold. Under the alternatives (2), Tn→P∞ if rnn1/2→∞, and is different from ∫{M(u)}2F(du) if rnn1/2 approaches to a positive but finite constant.

Therefore, the proposed statistic can detect a local alternative which approaches the null model at the parametric rate, n-1/2. The statistic Tn diverges to infinity when the global alternative hypothesis (2) converges to the null at a slower than the parametric rate, and in this case the test has asymptotic power 1 and is consistent.

Theorem 1 gives the asymptotic distribution of the statistic Tn under the null hypothesis. But the asymptotic distribution contains several expectations that depend on the distribution of X; i.e., the distribution of Tn may be case-dependent. Such a dependence complicates calculation of the critical value. To avoid the potential complexities, we calculate the critical value using the bootstrap resampling, which was generally adapted in the relevant literature. Specifically, we adopt the resampling strategy (i.e., MBB procedure) proposed by [17] and [12] as follows.

  • Step 1. Generate a sample Yi*,i=1,…,n of independent Bernoulli random variables, where Yi* has the probability of success given by gXi⊤βˆn.

  • Step 2. Calculate the bootstrap test statistic, denoted by Tn*, based on the bootstrap sample Yi*,Xi,i=1,…,n.

  • Step 3. Repeat Steps 2 and 3 B times and obtain Tn1*,…,TnB*. Then calculate the 1-α empirical quantile of the bootstrap test statistics Tn1*,…,TnB* as the α-level critical value.

This model-based bootstrap strategy integrates the model assumption and is therefore expected to be efficient in contrast to the wild bootstrap resampling method. Note that for the bootstrap procedure, it is not necessary to calculate or estimate any quantities such as the distribution or moments of X. Also, the testing procedure is data-driven; given only the sample, Y1,X1,…,Yn,Xn, the proposed testing procedure using the bootstrap-generated critical value can determine whether the logistic regression model fits the data adequately without any other information on the data generation process. For the bootstrap testing statistic Tn*, we can verify the following proposition by using the similar arguments to those in the proof of the main results of [12].

Proposition 2 Under the null hypothesis (1) or alternative hypothesis (2), if Conditions (A1) and (A2) are satisfied, the conditional distribution of Tn* converges in distribution to the limiting null distribution of Tn given the sample Y1,X1,…,Yn,Xn.

Proposition 2 indicates that the bootstrap version of the test statistic Tn has the same asymptotic distribution as that of the proposed test. By generating i.i.d. random variables Yi*i=1n repeatedly, we can get a series of bootstrap test statistics, which can be regarded as a sample from the population Tn. Then we can obtain the empirical quantile of the distribution of Tn. The critical value determined by this method approximates the theoretical one regardless of whether the data are from the null hypothetical model (1) or the alternative hypothetical model (2).

Reference [14] proposed a similar test except that they used IX⊤β~n≤u instead of IX⊤W≤u in Mn(u,W), where β~n is an estimate, say maximum likelihood estimate, of β based on the data. So they considered one fixed direction β~n, and their test may be inconsistent except under specific situations, and also less powerful. Along with but different from [14], in which several nonparametric regressions were required to calculate the power, Reference [15] suggested adopting the MBB procedure (see Steps 1–3 on p. 7) to calculate the critical value.

Reference [8] introduced a generalized logistic model of form

P(Y=1∣X)=μα(η)=exp⁡hα(η)/1+exp⁡hα(η),

where hα(η) is a strictly increasing nonlinear function of η indexed by two shape parameters, α1 and α2, and

hα=exp⁡α1|η|-1/α1,α1>0η,α1=0-log⁡1-α1|η|/α1,α1<0forη⩾0,

and

hα=-exp⁡α2|η|-1/α2,α2>0η,α2=0log⁡1-α2|η|/α2,α2<0forη≤0,

with η=X⊤β being the linear predictor.

The additional parameters α1,α2 allow the tails of the logistic regression model to be heavier/longer or lighter/shorter than the standard logistic regression model. Because this generalization is still a parametric model, a score or log-likelihood test can be used to test whether the parameters of a generalized logistic model are equal to zero; i.e., the generalized logistic model reduces to the standard logistic model when α1=α2=0, which is equivalent to testing whether α1=α2=0 in the new logistic model: logit=X⊤β+α1z1+α2z2 [8], where z1=X⊤β^2×I(πˆ≥0.5)/2 and z2=-X⊤βˆ2×I(πˆ<0.5)/2, and πˆ’s are the fitted values from the model fitting.

3. Analysis of Association Between Telehealth and Covariates

In this section, we present the detailed analysis for the telehealth study. Table 1 gives the descriptive statistics of the variables.

Table 1.

Descriptive statistics by telehealth

0 1 Combined Test statistic
CHD 3% (15) 4% (41) 4% (56) χ12=0.74,P=0.39 1
Hypertension 40% (191) 42% (433) 41% (624) χ12=1.02,P=0.313 1
Overweight 18% (88) 22% (225) 21% (313) χ12=2.81,P=0.094 1
Comorbid0 36% (176) 31% (315) 33% (491) χ42=6.58,P=0.16 1
Comorbid1 31% (150) 31% (322) 31% (472)
Comorbid2 19% (93) 21% (215) 20% (308)
Comorbid3 9% (43) 11% (110) 10% (153)
Comorbid4 4% (21) 6% (62) 6% (83)
Education1 8% (41) 11% (108) 10% (149) χ32=9.19,P=0.027 1
Education2 26% (127) 27% (279) 27% (406)
Education3 26% (126) 31% (313) 29% (439)
Education4 39% (189) 32% (324) 34% (513)
Age 44.0 54.0 62.0 (52.9 ±12.2) 43.0 54.0 62.0 (52.5 ±12.5) 43.0 54.0 62.0 (52.7 ±12.4) F1,1505=0.06,P=0.799 2
Ethnicity 94% (452) 89% (908) 90% (1360) χ12=8.99,P=0.003 1

abc represent the lower quartile a, the median b, and the upper quartile c for continuous variables. x±s represents X‾±1SD. Numbers after percents are frequencies.

Tests used: 1 Pearson test;

2

Wilcoxon test

We first present the results in Table 2 based on the logistic model (3) that fits the data with all covariates.

logit{p(telehealth=1∣covariates)}=β0+β1CHD+β2hypertension+β3overweight+β4comorbid+β5education+β6age+β7ethnicity. (3)

In the full model, only ethnicity is significant. Therefore, we apply the AIC criterion to select the important covariates and obtain ethnicity, overweight and education. We then further observe that there is an interesting pattern between the probability of telehealth and age, and display the pattern in Fig. 1. Specifically, the probability for the group of Hispanic decreases with older age, whereas there is no a trend between the probability and the age for the group of Non-Hispanic. We now apply the procedure to analyze the telehealth dataset.

Table 2.

The estimated coefficients and associated standard errors based on model (3)

Estimate Standard error z value Pr(>|z|)
(Intercept) 0.83 0.32 2.58 0.01
CHD 0.13 0.33 0.40 0.69
Hypertension −0.08 0.16 −0.50 0.61
Overweight 0.06 0.17 0.33 0.74
Comorbid1 0.28 0.16 1.75 0.08
Comorbid2 0.38 0.21 1.79 0.07
Comorbid3 0.49 0.29 1.71 0.09
Comorbid4 0.59 0.36 1.63 0.10
Education2 −0.07 0.22 −0.31 0.76
Education3 0.03 0.22 0.15 0.88
Education4 −0.32 0.21 −1.51 0.13
Age −0.00 0.00 −0.94 0.35
Ethnicity 0.66 0.22 3.01 0.00

Fig. 1.

Fig. 1

Conditional plot: separate fitted curves for two ethnicity groups: left for Hispanic; right for Non-Hispanic

Based on these observations, we model the relationship between the logit of telehealth = 1 and the four potential covariates: overweight, education, age, and ethnicity using the following logistic model.

logit{p(telehealth=1∣covariates)}=β0+β1overweight+β2education+β3age+β4ethnicity. (4)

We applied the proposed test Tn and the Stukel test [8] TnST to check the goodness-of-fit of model (4). After conducting 500 Bootstrap replications, we obtained the p-values based on Tn and TnST 0.004 and 0.618, respectively. Therefore, the proposed test suggests a favor to reject the null hypothesis, while the Stukel test suggests that we cannot reject the null hypothesis.

We then introduced the interaction term of age and ethnicity to model (4). That is, we fit (5) and repeated two tests. The resultant p-values are 0.054 and 0.99. So model (5) with the interaction term is more appropriate than model (4) and reasonably fits the dataset.

logit{p(telehealth=1∣covariates)}=β0+β1overweight+β2education+β3age+β4ethnicity+β5age*ethnicity. (5)

For a further exploration of this dataset, we present the estimated results based on model (5) in Table 3. The variables age, ethnicity and their interaction show a significance. The interaction effect between age and ethnicity is also supported by the left panel of Fig. 1, where the probability of telehealth is indifferent in the group of Non-Hispanic, but shows a decreasing trend with the age in the Hispanic group. Given the dominated sample size in the group of Non-Hispanic, the decreasing trend in the group of Hispanic may be concealed if we ignore the interaction between age and ethnicity.

Table 3.

The estimated coefficients and associated standard errors based on model (5)

Estimate Standard error z value Pr(>|z|)
(Intercept) 3.028 0.842 3.597 0.000
Overweight 0.261 0.141 1.846 0.065
Education2 −0.096 0.217 −0.441 0.659
Education3 −0.001 0.216 −0.006 0.995
Education4 −0.361 0.210 −1.723 0.085
Age −0.034 0.016 −2.100 0.036
Ethnicity (Non-Hispanic) −2.353 0.860 −2.736 0.006
Age:ethnicity (Non-Hispanic) 0.036 0.017 2.158 0.031

4. Simulation Studies

In this section, we present simulation results to evaluate the finite sample performance of the proposed method and compare with Stukel test TnST and the proposed test Tn. In the following, all simulation results were based on 1000 replications. For each replication, the bootstrap process was repeated 1000 times. The nominal level was set to be 0.05 and 0.1.

Example 1 In this example, we generated data based on the real data example we analyzed in the previous section. That is, we simulated data based on the model:

logit{p(y=1)}=β1overweight+β2education+β3age+β4ethnicity+Cβ5age*ethnicity,

where the covariates are the observations in the telehealth study and βj’s are set to the estimated values. C varies from 0 to 1.5 with an increment of 0.25. C=0 corresponds to no interaction, while C=1 somewhat represents the situation in analysis of the telehealth study, but an interaction between age and ethnicity truly exists there. We repeated 1000 times for each C case and counted the rejection proportion among these 1000 replications. The proportion rates based on the two test against C are presented in Fig. 2. The Stukel test cannot maintain the type I errors, and the power (for C≠0) is very low. In contrast, the rejection proportion of the proposed test Tn remains close to the nominal level, and the power increases with larger C. The advantage of the proposed test is evident.

Fig. 2.

Fig. 2

Results for Example 1. Rejection proportions of the two tests against different C values:

■ (the proposed test) and

● (the Stukel test) with the nominal levels 0.05 (left) and 0.1 (right)

Example 2 We generate the data from the following logistic models:

PY=1X=11+exp⁡-X⊤β+C⋅DX,

where D(X)=X1X32+X21-X32,X1~Uniform[-1,1], X2~Normal(0,1), and X3~Bin(0.5). C ranges from 0 to 5 with increment 1.

We calculated the proportions of times the null hypothesis rejected among the 1000 replicates. They are the empirical sizes under the null hypothesis (i.e., C=0) and the empirical powers under the alternative hypothesis (i.e., C≠0). We show the rejection proportions of the tests in Fig. 3. Again, in this example, the performance of the proposed test Tn is very promising in the sense that the empirical sizes of Tn are closes to the nominal levels and the empirical powers increase with the sample size and distance away from the null hypothesis. On the other hand, the empirical powers of TnST are almost consistently smaller than those of Tn for all C values, even though the test controls the empirical sizes well. However, TnST’s performance becomes better with larger sample sizes and close to that of the proposed test.

Fig. 3.

Fig. 3

Results for Example 2. Rejection proportions of the two tests against different C values:

■ (the proposed test) and

● (the Stukel test) with the nominal levels 0.05 (left) and 0.1 (right) for two sample sizes 100, 150 (downwards)

5. Discussion

The proposed method is applicable for checking goodness-of-fit of logistic regression in analysis of any biomedical data with binary response. Given its broad framework, weak assumptions, and stable numerical performance, we expect that the proposed procedure should be very useful and helpful in detecting potential lack-of-fitting.

The test is not limited to the logistic models. It would be applicable to generalized linear models with slightly extra effort to establish associated theoretical results. But numerical performance may depend on the distributions.

Theorem 2.1 establishes an asymptotic distribution for the proposed statistic under the null hypothesis. However, the asymptotic distribution contains several terms that depend on the data distribution and need to be estimated. This brings challenges and difficulties in calculating the critical value. We, therefore, adopt a MBB resampling strategy to avoid the potential difficulties. This strategy is generally needed/suggested to calculate critical values for nonparametric tests [18, 19]. However, this resampling strategy brings the concern of computational burden (especially for simulation studies). But the cost is endurable. For instance, it spends about 2.5 h to finish the simulation study for a setting. Like all other tests, the projection-based test may have low power to detect the omission of the main effect for a continuous variable. Further efforts are needed to explore the causes and to develop effective statistics. It is also worth pointing out that the proposed projection test may not be robust to outliers if the estimator of β is not robust because its deficiency will be inherited. Integrating projection and robustness to develop a robust based projection statistic is interesting and warrants a further investigation, but it is beyond the scope of this paper.

Our procedure was developed for a fixed dimension of covariates. Reference [20] studied the same topic when the dimension is divergent. But the MBB procedure does not work well for their settings; instead, they suggested an alternative resampling algorithm; that is, they generated a sample Yi*,i=1,…,n of independent Bernoulli random variables with the probability of success pi*, which was generated from gXi⊤βˆn. However, the performance of their algorithm is worse than that of the MBB procedure for the current settings. We will investigate why their algorithm is not applicable here.

The potential interaction between age and ethnicity discovered in this study may not be the universal feature, and different patterns may be observed in different studies. For instance, a telehealth study of DC Cohort participants using the same COVID survey found differing significant findings, including that females were more likely to utilize telehealth compared to males, which can be explained by use of an alternate study end date and additional variables in the model [21]. Given the complexities of the studies, it is also unclear if the uncovered pattern will stay similar in future work.

Acknowledgements

Data in this manuscript were collected by the DC Cohort Study Group with investigators and research staff located at: Children’s National Hospital Pediatric Clinic (Natella Rakhmanina); the Senior Deputy Director of the DC Department of Health HAHSTA (Clover Barnes); Family and Medical Counseling Service (Rita Aidoo); Georgetown University (Princy Kumar); The George Washington University Biostatistics Center (Tsedenia Bezabeh, Vinay Bhandaru, Asare Buahin, Nisha Grover, Lisa Mele, Susan Reamer, Alla Sapozhnikova, Greg Strylewicz, and Marinella Temprosa); The George Washington University Department of Epidemiology (Elisabeth Andersen, Shannon Barth, Morgan Byrne, Amanda Castel, Alan Greenberg, Shannon Hammerlund, Olivia Kirby, Paige Kulie, Anne Monroe, Lauren O’Connor, James Peterson, Bianca Stewart, and Mark Storey) and Department of Biostatistics and Bioinformatics; The George Washington University Medical Faculty Associates (Jose Lucar); Howard University Adult Infectious Disease Clinic (Jhansi L. Gajjala) and Pediatric Clinic (Sohail Rana); Kaiser Permanente Mid-Atlantic States (Michael Horberg); La Clinica Del Pueblo (Ricardo Fernandez); Metro-Health (Duane Taylor); Washington Health Institute, formerly Providence Hospital (Jose Bordon); Unity Health Care (Gebeyehu Teferi); Veterans Affairs Medical Center (Debra Benator and Rachel Denyer); Washington Hospital Center (Adam Klein); and Whitman-Walker Institute (Stephen Abbott). The authors thank reviewers for their valuable comments and suggestions. This research was partially supported by Grants UM1 AI069503 and 1R24AI152598-01.

Appendix: A Sketch Proof of Theorem 1

By applying the injection theorem, we can establish the following representative [16]:

β^n-β0=Q~nβ^n-1Lnβ0, (6)

where Q~n(β)=∫01Qnβ0+sβ-β0ds and Qn(β)=∂Ln(β)/∂β⊤.

A direct manipulation based on the definition of Mn(u,W) yields

Mn(u,W)=1n∑i=1nYi-gXi⊤β^nIXi⊤W≤u=1n∑i=1nεiIXi⊤W≤u-1n∑i=1ngXi⊤β^n-gXi⊤β0IXi⊤W≤u≔Bn1(u,W)-Bn2(u,W). (7)

The second term can be expressed as

Bn2u,W=1n∑i=1nXi⊤β^n-β0IXi⊤W≤u∫01g′Xi⊤β0+sXi⊤β^n-β0ds.

This term can be re-expressed as follows by substituting β^n-β0 given in (6) and applying the mean-value theorem.

Bn2(u,W)=1n∑i=1nXi⊤Q~nβ^n-1∑j=1nXjεjIXi⊤W≤ug′Xi⊤β~n=1n∑j=1n∑i=1nXi⊤Q~nβ^n-1IXi⊤W≤ug′Xi⊤β~nXjεj,

where β~n is a vector such that Xi⊤β~n lies between Xi⊤β^n and Xi⊤β0. A direct simplifications yields

maxj1n∑i=1nXi⊤Q~nβ^n-1IXi⊤W≤ug′Xi⊤β~n-EX⊤Σβ-1IX⊤W≤ug′X⊤β0Xj∣→0.

Thus,

Bn2u,W=1nΓu∑i=1nεiXi+op1. (8)

Combining (7) and (8) yields.

Mn(u,W)=1n∑i=1nIXi⊤W≤u-Γ(u)Xiεi+op(1). (9)

IX⊤W≤u is monotonic with respect to u. By Lemma 9.10 of [22], the function class IX⊤W≤u:u∈R1 is a VC-class. Analogously the function class Γ(u):u∈R1 is a VC-class as well. By Lemma 2.6.8 of [23], the function classes εIX⊤W≤u:u∈R1 and the class Γ(u)εX:u∈R1 are all VC-class. Therefore, the function class Ψu(u,y,ε,w):u∈R1 is a VC-class by Lemma 9.17 of [22]. We can take the envelope function as |ε|+E(‖X‖)|ε|Σβ-1|X|. By Theorem 2.6.7, Theorem 2.5.2 of [23], we can prove that for given W=w, the estimated empirical process Mn(u,W) converges weakly to M(u) in the Skorohod space S[-∞,∞]. By the continuous mapping theorem, we can prove the result for Tn.

References

  • 1.Ohl M, Dillon D, Moeckli J, Ono S, Waterbury N, Sissel J, Yin J, Neil B, Wakefield B, Kaboli P (2013) Mixed-methods evaluation of a telehealth collaborative care program for persons with HIV infection in a rural setting. J Gen Intern Med 28:1165–1173 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Government US (2020) Coronavirus Preparedness and Response Supplemental Appropriations Act HR 6074, vol 30. U.S. Government Publishing Office, Washington, DC [Google Scholar]
  • 3.Greenberg AE, Hays H, Castel AD, Subramanian T, Happ LP, Jaurretche M, Binkley J, Kalmin MM, Wood K, Hart R et al. (2016) Development of a large urban longitudinal HIV clinical cohort using a web-based platform to merge electronically and manually abstracted data from disparate medical record systems: technical challenges and innovative solutions. J Am Med Inform Assoc 23(3):635–643 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Akaike H (1973) Information theory and an extension of the maximum likelihood principle. In: Second international symposium on information theory, 1973, pp 267–281 [Google Scholar]
  • 5.Hosmer DW, Lemesbow S (1980) Goodness of fit tests for the multiple logistic regression model. Commun Stat Theory Methods 9:1043–1069 [Google Scholar]
  • 6.Hosmer DW, Hjort NL (2002) Goodness-of-fit processes for logistic regression: simulation results. Stat Med 21(18):2723–2738 [DOI] [PubMed] [Google Scholar]
  • 7.Osius G, Rojek D (1992) Normal goodness-of-fit tests for multinomial models with large degrees of freedom. J Am Stat Assoc 87(420):1145–1152 [Google Scholar]
  • 8.Stukel TA (1988) Generalized logistic models. J Am Stat Assoc 83(402):426–431 [Google Scholar]
  • 9.Hosmer DW, Hosmer T, Le Cessie S, Lemeshow S (1997) A comparison of goodness-of-fit tests for the logistic regression model. Stat Med 16(9):965–980 [DOI] [PubMed] [Google Scholar]
  • 10.Escanciano JC (2006) A consistent diagnostic test for regression models using projections. Econom Theory 22:1030–1051 [Google Scholar]
  • 11.Härdle W, Mammen E, Müller M (1998) Testing parametric versus semiparametric modeling in generalized linear models. J Am Stat Assoc 93:1461–1474 [Google Scholar]
  • 12.Dikta G, Kvesic M, Schmidt C (2006) Bootstrap approximations in model checks for binary data. J Am Stat Assoc 101:521–530 [Google Scholar]
  • 13.Jones LK (1987) On a conjecture of Huber concerning the convergence of projection pursuit regression. Ann Stat 15:880–882 [Google Scholar]
  • 14.Stute W, Zhu LX (2002) Model checks for generalized linear models. Scand J Stat Theory Appl 29:535–545 [Google Scholar]
  • 15.van Heel M, Dikta G, Braekers R (2022) Bootstrap based goodness-of-fit tests for binary multivariate regression models. J Korean Stat Soc 51(1):308–335 [Google Scholar]
  • 16.Chen K, Hu I, Ying Z (1999) Strong consistency of maximum quasi-likelihood estimators in generalized linear models with fixed and adaptive designs. Ann Stat 27(4):1155–1163 [Google Scholar]
  • 17.Härdle W, Huet S, Mammen E, Sperlich S (2004) Bootstrap inference in semiparametric generalized additive models. Econom Theory 20(02):265–300 [Google Scholar]
  • 18.Zhu LX (2005) Nonparametric Monte Carlo tests and their applications, vol 182. Springer, New York [Google Scholar]
  • 19.Hart J (1997) Nonparametric smoothing and lack of fit tests. Springer, Berlin [Google Scholar]
  • 20.Li X, Chen F, Liang H, Ruppert D (2023) Model checking for logistic models when the number of parameters tends to infinity. J Comput Graph Stat 32:241–251 [Google Scholar]
  • 21.Gayle B, Barth S, Saulters K, Kumar P, Horberg M, Greenberg A, Monroe A, Castel A, on behalf of the DC Cohort Executive Committee (2022) Telehealth experience and satisfaction during the COVID-19 pandemic among PWH in DC. Adherence 2022, Washington, DC [Google Scholar]
  • 22.Kosorok MR (2008) Introduction to empirical processes and semiparametric inference, vol 61. Springer, Berlin [Google Scholar]
  • 23.van der Vaart AW, Wellner JA (1996) Weak convergence and empirical processes. Springer, Berlin [Google Scholar]

RESOURCES