Weight smoothing for nonprobability surveys
Abstract
This study was partially supported by Ministerio de Ciencia e Innovacion, Spain [grant number PID2019-106861RB-I00/AEI/10.13039/501100011033], the IMAG-Maria de Maeztu grant [grant number CEX2020-001105-M/AEI/10.13039/501100011033] and, in terms of the first author, a FPU grant from the Ministerio de Ciencia, Innovacion y Universidades, Spain. Funding for open access charge: Universidad de Granada/CBUA. Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature.
Full text
TEST https://doi.org/10.1007/s11749-021-00795-7 ORIGINAL PAPER Weight smoothing for nonprobability surveys Ramón Ferri-García1·Jean-François Beaumont2·Keven Bosa2· Joanne Charlebois2·Kenneth Chu2 Received: 19 March 2021 / Accepted: 21 November 2021 © The Author(s) 2021 Abstract Adjustment techniques to mitigate selection bias in nonprobability samples often involve modelling the propensity to participate in the nonprobability sample along with inverse propensity weighting. It is well known that procedures for estimating weights are effective if the covariates selected in the propensity model are related to both the variable of interest and the participation indicator. In most surveys, there are many variables of interest, making weight adjustments difficult to determine as a suitable weight for one variable may be unsuitable for other variables. The standard compromise is to include a large number of covariates in the propensity model but this may increase the variability of the estimates, especially when some covariates are weakly related to the variables of interest. Weight smoothing, developed for probability surveys, could be helpful in these situations. It aims to remove the variability caused by overfit propensity models by replacing the inverse propensity weights with predicted weights obtained using a smoothing model. In this article, we study weight smoothing in the nonprobability survey context, both theoretically and empirically, to understand its effectiveness at improving the efficiency of estimates. Keywords Nonprobability samples ·Propensity score adjustment ·Tree-based inverse propensity-weighted estimator ·Weight smoothing Mathematics Subject Classification 62D05 1 Introduction Probability sampling has been the gold standard for empirical research since its development in the XXth century based on the work of Neyman (1934) and Horvitz and BRamón Ferri-García [email protected] 1Department of Statistics and Operational Research, University of Granada, Granada, Spain 2Statistics Canada, Ottawa, Canada 123
R. Ferri-García et al. Thompson (1952) among others. For a sample to be considered probabilistic and therefore valid for population inferences, it must be drawn under the assumption that all the individuals in the target population have a known and non-null inclusion probability. If any of these conditions do not apply, we have a nonprobability sample instead. The use of such samples in empirical sciences is widespread nowadays thanks to technological development and social media, which allows pollsters and vendors to use new questionnaire administration methods such as online and smartphone surveys. These surveys are usually administered via opt-in panels or by recruiting volunteers via snowball sampling (see Schonlau and Couper 2017 for an extensive review of methods). Nonprobability survey methods offer several advantages over the traditional ones: critical reduction in costs and time to accomplish the fieldwork (Bonsjak and Tuten 2003; Greenlaw and Brown-Welty 2009;DíazdeRada2012), and larger sample sizes in comparison with traditional methods which are experiencing a decrease in response rates (Kohut et al. 2012). On the other hand, nonprobability sampling induces a selection bias in the estimates, as the participants (or sample individuals) can differ substantially from nonparticipants (Elliott and Valliant 2017). Several methods are available to reduce selection bias when a probability sample from the same target population is available. Here, we mention Propensity Score Adjustment (PSA), including the tree-based inverse propensity-weighted (TrIPW) estimator proposed by Chu and Beaumont (2019), statistical matching (also referred to as sample matching), as well as doubly robust estimators that combine statistical matching ideas with PSA. PSA was originally developed to mitigate selection bias in nonrandomized clinical trials (Rosenbaum and Rubin 1983), and it was adapted to the survey nonresponse field shortly after (Little 1986). PSA adapted to the nonprobability survey context as a method to mitigate selection bias was developed by Lee (2006) and Lee and Valliant (2009). With the PSA method, propensities to participate in a nonprobability sample are estimated via classical modelling using a probability sample drawn from the same population. The TrIPW estimator is an extension of the PSA estimator proposed by Chen et al. (2020), where propensities are estimated using a weighted version of the Classification And Regression Trees (CART) methodology (Breiman et al. 1984). The CART algorithm builds a tree that optimizes an homogeneity measure, given a set of covariates, which is then used to estimate propensities. When the propensity model is properly specified, PSA is able to reduce bias of nonprobability sample estimates at the potential cost of increasing their variability (Lee 2006; Lee and Valliant 2009; Valliant and Dever 2011; Ferri-García and Rueda 2018). The TrIPW estimator shows itself as a more robust estimator under complex relationships between variables, such as nonlinearities (Chu and Beaumont 2019) and the presence of interactions. An alternative is to pool the probability and nonprobability samples, similar to Lee (2006), and to use machine learning algorithms to model propensities (Ferri-García and Rueda 2020). Statistical matching focuses on another model-based approach whose objective is to predict the unobserved values of the variable of interest in the probability sample. The predictive model is fitted using data from the nonprobability sample. Statistical matching has also been proven to mitigate selection bias in nonprobability samples 123
Weight smoothing for nonprobability surveys (Castro-Martín et al. 2020). The combination of both strategies via doubly robust estimators may outperform both approaches on their own Chen et al. (2020). Despite the benefits of statistical matching techniques, they could have limitations in surveys that collect multiple variables of interest. In those surveys, which are common in practice, each variable of interest may require a specific model to predict its unobserved values in the probability sample. This could become cumbersome if the number of variables of interest is large and increase the risk of model misspecifications. The use of weighted estimators, such as the PSA and TrIPW estimators, could provide a reasonable solution, as the same vector of weights would be used to obtain estimates for all of the variables of interest. However, research has shown that propensity techniques are more efficient when the covariates used for modelling the propensities are related to the outcome variables, that is, the variables of interest (Hirano and Imbens 2001; Brookhart et al. 2006). In a survey with multiple variables of interest, a suitable set of covariates may vary between variables. The standard compromise is to include a large number of covariates in the propensity model. This may increase the variability of the resulting estimates due to overfitting, especially when the covariates are weakly related to the variables of interest. In probability surveys, weight smoothing (Beaumont 2008) has been shown to be effective at reducing the variance of survey-weighted estimators by modelling the survey weights conditional on the variables of interest. The variance of survey-weighted estimators can be large when the design variables are unrelated to the variables of interest. To the best of our knowledge, this technique has not been evaluated in a nonprobability survey context, where the inclusion (or participation) probabilities are unknown and estimated. The objective of this study is to examine the adequacy of weight smoothing for nonprobability surveys, both theoretically and empirically, and explore the situations that could enhance its efficiency. 2 Weighting in nonprobability surveys Let Ube a target population of size Nfrom which we want to estimate a population parameter, such as the population mean ¯ Y=N−1i∈Uyi, for a given variable of interest y. To this end, we obtain a nonprobability sample svof size nvfrom the population U. The participation mechanism may depend on features such as self-selection or device availability (computer, internet access, etc.). In this case, the probability that an individual i∈Uis included in svis not known a priori. Let Ribe the indicator variable which measures whether a given individual i∈U has participated or not. We assume that Riis related to a vector of covariates, xi(e.g. demographic variables such as region, age and sex, or education), and that participation is not informative, i.e. Ridoes not depend on yiafter conditioning on xi. We define the inclusion (or participation) probability as πi=P(Ri=1|xi), i∈U. The participation probability is unknown and assumed to be strictly positive. From these assumptions, if xiis known for every i∈U, the participation probability can 123
R. Ferri-García et al. be estimated using standard modelling techniques along with maximum likelihood estimation. However, this information is rarely available. An alternative is to use a probability sample srof size nr, drawn from the full population Uthat measures xi for all sample individuals i∈sr. The design weight dr iis also available for sample individuals. The covariates xiare assumed to be observed in both the probability and nonprobability samples, whereas yiis observed only in the nonprobability sample. With PSA methods, a parametric model πi=m(xi,β)is typically postulated, where mis a known function, such as the logistic function m(xi,β)= 1+exp(−x iβ)−1, and βis a vector of unknown model parameters. Assuming the participation indicators Ri,i∈U, are mutually independent, Chen et al. (2020) proposed a pseudo-maximum likelihood estimator of πi, which is computed as ˆπi=m(xi,ˆ β), where the estimator ˆ βmaximizes the pseudo-log-likelihood function l(β)= i∈sv log m(xi,β) 1−m(xi,β)+ i∈sr dr ilog (1−m(xi,β))(1) with respect to β. The design expectation of the pseudo-log-likelihood function (1) is equal to the standard log-likelihood function, which cannot be used unless xiis observed for all population individuals i∈U. The pseudo-log-likelihood function proposed by Chen et al. (2020) may be less efficient but does not require xito be observed in the entire population; it only needs xito be observed for all individuals in svand sr. The population mean ¯ Ycan be estimated by the Hajek estimator ¯yH w=ˆ N−1 v i∈sv wiyi,(2) where ˆ Nv=i∈svwiand wi=ˆπ−1 i,i∈sv. Chen et al. (2020) proved the consistency of the weighted estimator ¯yH wunder regularity conditions, i.e. they proved that ¯yH w−¯ Y=Opn−1/2 v. A number of authors (e.g. Lee 2006; Lee and Valliant 2009) have considered estimating πiusing the pooled sample s=sr∪svalong with a weighted logistic regression. If the input weights for the logistic regression are chosen as dpool i=1i∈sv dr ii∈sr, the resulting pseudo-log-likelihood function can be written as ˜ l(β)= i∈sv log m(xi,β) 1−m(xi,β)+ i∈sr dr ilog (1−m(xi,β))+ i∈sv log (1−m(xi,β)). (3) It can be observed that (3) is equal to the pseudo-log-likelihood function shown in (1), except for the last term i∈svlog (1−m(xi,β)). Beaumont (2020) pointed out that 123
Weight smoothing for nonprobability surveys if the participation probabilities πiare all small, which could be plausible when the participation rate is small, maximizing (3) is approximately equivalent to maximizing the pseudo-log-likelihood function (1) when the logistic function is used. As a result, using (1)or(3) should yield similar estimated participation probabilities when the participation rate is small. However, note that the pseudo-log-likelihood function of Chen et al. (2020) does not require this condition and should be the preferred choice when it is not satisfied. This idea of pooling both samples has recently been used along with nonparametric methods of estimating propensities, such as machine learning classification algorithms (e.g. Ferri-García and Rueda 2020). Similar to logistic regression, these methods are expected to be valid only when the participation rate is small and design weights dr i are used appropriately. The literature also accounts for other procedures to calculate weights from propensities. For instance, the original literature on PSA for nonprobability samples (Lee 2006; Lee and Valliant 2009) considered the stratification of propensities into gpartitions, usually g=5 following the criteria of Cochran (1968), and the calculation of weights using a correction factor that takes into account the original design weights. Valliant and Dever (2011) considered a similar approach that also involves stratification of propensities. The use of propensity strata may provide some robustness to misspecifications of the logistic model and may reduce the occurrence of extreme weights. The TrIPW estimator of ¯ Y, developed in Chu and Beaumont (2019), takes the same form as the Hajek estimator (2), but the estimation of the participation probability πiis based on an adaptation of the Classification And Regression Trees (CART) algorithm (Breiman et al. 1984). This adaptation accounts for the design weights dr i,i∈sr, in a way similar to Chen et al. (2020). As a result, it does not require the participation rate to be small. After the tree has been grown, using an objective function that accounts for the design weights, the nonprobability sample svis partitioned into G exhaustive and nonoverlapping homogeneous propensity groups (or terminal nodes), sv,g,g=1, ..., G. The probability sample is partitioned similarly using the same decision rules into Gexhaustive and nonoverlapping groups sr,g,g=1, ..., G.The propensity for each individual i∈sv,gis estimated as: ˆπi=nv,g ˆ Ng ,g=1, ..., G,(4) where nv,gis the number of individuals in the nonprobability sample who fall in propensity group gand ˆ Ng=i∈sr,gdr iis the estimated population size of group g. The estimated probability (4) can be obtained using the Chen et al. (2020) method by defining xias a G-vector indicating to which group individual ibelongs. The creation of homogeneous propensity groups using this weighted CART algorithm is expected to provide some robustness to misspecification of the logistic model. This was shown by Chu and Beaumont (2019) in a simulation study. 123
R. Ferri-García et al. 3 Weight smoothing The application of weighting methods discussed in Sect. 2 can reduce significantly the participation bias at the possible cost of increasing the variance of the estimates (Lee 2006; Lee and Valliant 2009; Ferri-García and Rueda 2018). This variance is directly tied to the variability of the weights and is amplified when the covariates are weakly associated with the variable of interest. In that case, weighting increases the variance without the benefit of a significant bias reduction. Therefore, it seems reasonable to focus on strategies that reduce the variability of the weights. Beaumont (2008) proposed weight smoothing for probability samples. Our objective is to study this method in the context of nonprobability samples. Let us assume for a moment that the logistic model holds and that βis known. Assuming Nis also known, the population mean ¯ Ycan be estimated by ¯yβ w= N−1i∈svwβ iyi, where wβ i=[m(xi,β)]−1. The superscript βis used to indicate that βis known and to distinguish this case from the one considered throughout this paper, where βis estimated. The weighted estimator ¯yβ wis unbiased in the sense that E¯yβ w|X,Y=¯ Y, where Xis the N-row matrix formed by the row vectors x i,i∈U, and Yis the N-vector of population yvalues. Under these assumptions, the nonprobability sample can be viewed as a Poisson sample with known inclusion probabilities πi=m(xi,β), and the original weight smoothing method of Beaumont (2008) can be directly applied to improve the efficiency of ¯yβ w. It consists of replacing the weight wβ iwith the smoothed weight ˜wβ i=Ewβ i|sv,Y. The basic idea is to extract from the weight wβ iits relevant component, i.e. the component that is associated with the variable of interest. Assuming the smoothed weight ˜wβ iis known, the population mean ¯ Yis estimated by ¯yβ ˜w=N−1i∈sv˜wβ iyi. Beaumont (2008) noted that E¯yβ ˜w|Y=¯ Yand that var ¯yβ ˜w|Y≤var ¯yβ w|Y.(5) The smoothed weight ˜wβ i=Ewβ i|sv,Yis generally unknown but can be estimated from sample data by modelling wβ igiven yi,i∈sv. Beaumont (2008)showed that the resulting estimator of ¯ Yremains no less efficient than ¯yβ wunder a linear model. Note that inferences under weight smoothing are conditional on Yalone. As a result, xiis viewed as random, as well as wβ i, but only the latter needs to be modelled. In multipurpose surveys, there are multiple variables of interest so that yiis a vector and Yis a matrix. The weight smoothing methodology can be extended in a straightforward manner to a vector of variables of interest by modelling the weight wβ iconditional on the full vector of variables of interest. However, if the number of y variables is large, it may be expected that together they become strongly predictive of the weight wβ i, thereby reducing the potential efficiency gains. An alternative would be to determine a specific weight smoothing model for each variable of interest, but this 123
Weight smoothing for nonprobability surveys would lead to multiple smoothed weights, which may not be attractive to the ultimate users. With nonprobability samples, the model parameters βare unknown but can be estimated using the Chen et al. (2020) pseudo-likelihood method discussed in Sect. 2. This yields the weight wi=m(xi,ˆ β)−1 . Assuming Nis known, the estimator of the population mean ¯ Yis ¯yw=N−1i∈svwiyi. We define the smoothed weight ˜wi=E(wi|sv,Y)along with the smoothed estimator of ¯ Y,¯y˜w=N−1i∈sv˜wiyi. Similar to (5), it is not difficult to show that E(¯y˜w|Y)=¯ Y+on−1/2 vand var (¯y˜w|Y)≤var (¯yw|Y).(6) The proof of (6) is given in the appendix. Again, the smoothed weight ˜wi= E(wi|sv,Y)is generally unknown but can be estimated from sample data by modelling wigiven yi,i∈sv. For instance, consider the linear model E(wi|sv,Y)=h iγwith var (wi|sv,Y)=σ2,i∈sv,(7) where the vector of predictors hiis a function of the variable(s) of interest yi, and γ and σ2are unknown model parameters. The smoothed weight ˜wican be estimated by ˆwi=h iˆ γ, where ˆ γ=⎛ ⎝ i∈sv hih i⎞ ⎠ −1 i∈sv hiwi is the least square estimator of γ. The smoothed estimator of ¯ Ybecomes ¯yˆw= N−1i∈svˆwiyi. After straightforward algebra, it can be shown that ¯yˆw=N−1 i∈svˆwiyi=N−1 i∈svh iˆ γyi=N−1 i∈sv wiˆyi,(8) where ˆyi=h iˆ αis a predicted value of yiwith ˆ α=⎛ ⎝ i∈sv hih i⎞ ⎠ −1 i∈sv hiyi.(9) Therefore, Eq. (8) indicates that smoothing the weight wiusing the predictors hi is equivalent to smoothing yiusing the same predictors. It can also be shown that E(¯yˆw|Y)=¯ Y+on−1/2 vand that var (¯yˆw|Y)=var (¯yw|Y)−σ2 N2E⎡ ⎣ i∈svyi−ˆyi2|Y⎤ ⎦.(10) 123
R. Ferri-García et al. The proof of (10) is given in the appendix. It confirms that the smoothed estimator ¯yˆwis never less efficient than ¯ywwhen the linear model (7) holds. The magnitude of efficiency gains from weight smoothing depends in part on the strength of the relationship between the weight wiand the predictors hi. A weak relationship, and thus a large model variance σ2, will tend to increase efficiency gains. The efficiency gains will also tend to be larger when hiis not a strong predictor of yi. Instead, if hiis a perfect predictor of yi, i.e. there exists a vector αsuch that yi=h iα, then it can be easily shown that ˆyi=yi,i∈sv, and the efficiency gains entirely vanish. Variance reductions may thus vary from one variable of interest to another depending on the strength of their relationship with hi. On the one hand, overfitting should be avoided as much as possible when choosing the predictors hito maximize variance reductions. Variable selection techniques, such as Least Absolute Shrinkage and Selection Operator (LASSO), can be useful for this purpose. On the other hand, the predictors hishould be chosen to ensure the linear model (7) holds, at least its first moment, to avoid introducing bias in the smoothed estimator of the population mean ¯ Y. The most favourable situation for weight smoothing is when none of the variables of interest is related to the weight wiso that hi=1 is appropriate. Noting that Ewβ i|sv,xi=wβ i, the most unfavourable situation would be when the variables of interest are strong predictors of the covariates xi, and thus the weight wβ i, so that ˜wβ i≈wβ iand basically no variance reduction is possible. In particular, this would occur in the extreme and unlikely scenario where all the covariates would also be variables of interest. An estimator of the variance (10) requires estimating var (¯yw|Y). Under regularity conditions given in Chen et al. (2020), var (¯yw|Y)=E[var (¯yw|X,Y)|Y]+on−1 v.(11) The variance (11) can thus be estimated by estimating the conditional variance var (¯yw|X,Y). Chen et al. (2020) proposed linearization and bootstrap estimators of this conditional variance. We denote a consistent estimator of var (¯yw|X,Y)by v(¯yw). A plug-in estimator of the variance (10) is thus v(¯yˆw)=v(¯yw)−(nv−p) N2ˆσ2i∈svyi−ˆyi2 nv−p,(12) where pis the number of predictors in the vector hiand ˆσ2=i∈svwi−h iˆ γ2 nv−p. Let us now consider the Hajek estimators ¯yH w=ˆ N−1 vi∈svwiyiand ¯yH ˆw= i∈svˆwi−1i∈svˆwiyi. Using a first-order Taylor linearization and assuming an 123
Weight smoothing for nonprobability surveys intercept is included in the vector of predictors hi, it can be shown that var ¯yH ˆwcan be approximated as var ¯yH ˆw|Y≈var ¯yH w|Y−σ2 N2E⎡ ⎣ i∈svyi−ˆyi2|Y⎤ ⎦.(13) As a result, the variance reduction for the Hajek estimator ¯yH ˆwis asymptotically the same as the variance reduction for ¯yˆw. Similar to (12), an estimator of the variance (13) can be obtained as v¯yH ˆw=v¯yH w−(nv−p) ˆ N2 vˆσ2i∈svyi−ˆyi2 nv−p, where v¯yH wis a consistent estimator of the conditional variance var ¯yH w|X,Y, such as the linearization and bootstrap estimators proposed in Chen et al. (2020). The variance expressions (10) and (13) are valid only for the linear smoothing model (7). In practice, a linear model may not always hold even after accounting for interactions and/or polynomial effects. Nonlinear smoothing models could also be considered. For variance estimation under nonlinear models, Beaumont (2008)proposed two bootstrap methods that could be adapted to the context of nonprobability surveys. In our simulation studies, described in the next sections, we evaluate the prediction algorithm XGBoost as an alternative to the linear model (7) for the estimation of smoothed weights. The development of theoretical properties of XGBoost for weight smoothing is beyond the scope of this paper. 4 Data 4.1 Artificial data We created a population of size N=500,000 with 10 covariates (x1, ..., x10),10 variables of interest (y1, ..., y10)and a variable πiindicating the propensity of each individual to participate in a volunteer sample. The covariates were generated from Bernoulli and Normal distributions as follows: x1,x4,x7∼Be(0.5), x3,x6,x9∼Be(0.2)and x2,x5,x8,x10 ∼N(0,1). Nonprobability samples of size nvwere selected without replacement with probabilities proportional to π∗ i=exp(−0.5+2.5x7+√2πx8−(11/3)x9) 1+exp(−0.5+2.5x7+√2πx8−(11/3)x9),i=1,2, ..., 500,000, 123
R. Ferri-García et al. of bias remains moderate, except for variables y2and y3. Given participation is not informative and the logistic model is correctly specified, albeit with the inclusion of too many covariates, the bias of the PSA estimator is most likely explained by the presence of very small participation probabilities so that a non-negligible proportion of individuals never get selected in any of the 500 simulation replicates (around 47%). Monte Carlo bias occurs if the population mean of those who are never selected is different from the overall population mean. This bias would be expected to decrease if the number of simulation replicates could be significantly increased so that a smaller proportion of individuals never get selected. In both scenarios, the application of weight smoothing did not produce significant changes in bias. Weight smoothing is intended to reduce variance, not bias. It is thus not surprising to observe that it did not reduce bias, but it is reassuring to see that it did not significantly increase it either. The relative MSE or efficiency of estimators for each scenario can be seen in Table 4. Values below 1 indicate that the estimator performed better than the unweighted estimator. Scenario 1 is favourable to weight smoothing, and the unweighted estimator is the most efficient since it corresponds to the most extreme form of smoothing. As expected, the nonsmoothed estimators (PSA and TrIPW) were both less efficient than the unweighted estimator due to the variability of weights. The TrIPW estimator was less efficient than the PSA estimator with an MSE around twice that of the unweighted estimator. On the one hand, smoothing using LASSO was very effective at improving efficiency. The LASSO smoothed estimators were almost as efficient as the unweighted estimator with a relative MSE close to 1. On the other hand, smoothing using XGBoost produced only marginal efficiency improvements. It appears that variable selection is useful for variance reduction as pointed out in Sect. 3 for the linear model (7). The following hybrid approach might provide better results than LASSO or XGBoost alone: first, select predictors from the variables of interest using LASSO and then smooth using XGBoost and the selected predictors in the first step. In Scenario 2, the unweighted estimator is the least efficient due to its bias. Both nonsmoothed estimators improve efficiency by reducing bias, the MSE reduction being more pronounced for the TrIPW estimator. Scenario 2 is unfavourable to weight smoothing as all variables of interest are related to the participation probability. The smoothed weights ˆwiare thus expected to be in the neighbourhood of the original propensity weights wi. As a result, none of the two smoothing methods produced any significant change in MSE, neither positive nor negative. Overall, considering both scenarios, the TrIPW estimator combined with LASSO smoothing seems to offer the best compromise in terms of both bias and variance. In practice, a scenario in between these two extreme ones could be expected, where some variables of interest would be related to the propensity weight wiand others would not. In that case, propensity weighting would contribute to bias reduction for variables of interest related to the propensity weight and LASSO smoothing would reduce variance for other variables provided the predictors are not too strongly related to the propensity weight. 123
Weight smoothing for nonprobability surveys Table 4 Relative MSE (RelMSE) for each variable, estimator and artificial data scenario Sc. Obj. PSA TrIPW NS XGB LASSO NS XGB LASSO 1y11.2063 1.1918 0.9906 2.0446 2.0346 1.1913 y21.3785 1.3806 1.0173 2.1675 2.1673 1.1885 y31.3097 1.2909 1.0714 2.1058 2.0749 1.1705 y41.1612 1.1516 1.0255 1.8567 1.8366 1.0877 y51.1731 1.1701 1.0287 1.8120 1.8107 1.0946 y61.2651 1.2483 1.0670 1.7955 1.7812 1.1350 y71.1379 1.1219 1.0358 2.0513 2.0291 1.1812 y81.1272 1.1261 1.0124 1.9452 1.9491 1.0734 y91.1819 1.1701 1.0329 1.7407 1.7265 1.0724 y10 1.1882 1.1901 1.0175 1.9817 1.9799 1.0969 2y10.5802 0.5822 0.5856 0.3407 0.3417 0.3586 y20.4377 0.4380 0.4417 0.1895 0.1895 0.2034 y30.5667 0.5703 0.5722 0.3280 0.3318 0.3488 y40.5039 0.5080 0.5178 0.3047 0.3060 0.3405 y50.4455 0.4457 0.4501 0.1922 0.1922 0.2080 y60.4713 0.4762 0.4865 0.3067 0.3089 0.3413 y70.4853 0.4903 0.4994 0.2839 0.2853 0.3177 y80.4440 0.4443 0.4486 0.1935 0.1935 0.2094 y90.5554 0.5602 0.5688 0.4516 0.4509 0.4673 y10 0.4494 0.4495 0.4540 0.1945 0.1945 0.2105 6.2 Real data simulation The relative bias of estimators for the two different set of covariates can be observed in Table 5for the real data simulation when SRSWOR is used to draw svfrom the subpopulation having a computer at home. The unweighted estimator shows a small- to-moderate bias in all cases, except for variable y5where the relative bias is slightly above 20%. The nonsmoothed estimators show relative biases similar to those of the unweighted estimators, albeit slightly reduced. This indicates that covariates are weakly associated with both the variables of interest and having a computer at home. As expected, the smoothed estimators did not reduce further the bias but did not increase it either. The relative bias of estimators for the two sets of covariates when unequal probability sampling is used to select svfrom the subpopulation having a computer at home can be seen in Table 6. The unweighted estimator shows a small-to-moderate bias, except for variables y3,y5and y6. Again, the nonsmoothed estimators were ineffective at reducing bias in general. Indeed, for variable y5, the relative bias of the nonsmoothed estimators was significantly larger than the unweighted estimator. As expected, the smoothed estimators did not reduce the bias of the nonsmoothed estimator but did not increase it either. 123
R. Ferri-García et al. Table 5 Relative bias (RelBias) for each variable, estimator and set of covariates when using SRSWOR to draw svfrom the subpopulation having a computer at home Cov. Obj. Unw PSA TrIPW NS XGB LASSO NS XGB LASSO Dem. y10.012 0.016 0.016 0.015 0.022 0.021 0.022 y20.118 0.113 0.113 0.114 0.111 0.111 0.111 y30.085 0.072 0.072 0.073 0.071 0.071 0.071 y40.036 0.031 0.031 0.032 0.032 0.031 0.032 y50.209 0.188 0.188 0.193 0.174 0.185 0.174 y60.105 0.092 0.092 0.094 0.090 0.094 0.090 y70.051 0.038 0.039 0.044 0.034 0.042 0.035 y80.084 0.084 0.084 0.084 0.088 0.085 0.088 y90.002 0.002 0.002 0.002 0.000 0.000 0.000 y10 0.001 0.001 0.001 0.001 0.000 0.000 0.000 Dep. y10.012 0.004 0.004 0.004 0.002 0.003 0.002 y20.119 0.108 0.108 0.109 0.096 0.098 0.096 y30.085 0.080 0.080 0.080 0.075 0.075 0.075 y40.036 0.034 0.034 0.034 0.033 0.032 0.033 y50.211 0.224 0.224 0.220 0.228 0.232 0.228 y60.106 0.080 0.080 0.081 0.066 0.071 0.066 y70.058 0.071 0.071 0.070 0.080 0.083 0.080 y80.082 0.047 0.047 0.049 0.028 0.030 0.028 y90.000 0.001 0.001 0.000 0.001 0.001 0.001 y10 0.001 0.000 0.000 0.000 0.002 0.002 0.002 The relative MSE of estimators for the two sets of covariates under SRSWOR can be seen in Table 7. The nonsmoothed estimators are moderately more efficient than the unweighted estimator in general, which may partly be explained by their slightly smaller biases. However, for the artificial variables y9and y10, the relative MSE of the nonsmoothed estimators is larger than 1, albeit only marginally. This indicates that the propensity weights wido not exhibit a large variability. As a result, weight smoothing cannot achieve large variance reductions. The relative MSE of estimators for the two sets of covariates under unequal probability sampling can be seen in Table 8. The nonsmoothed estimators show mitigated results, sometimes being more efficient than the unweighted estimator (typically when propensity weighting reduces bias) and sometimes not. For variable y5, the inefficiency of the nonsmoothed estimators is due to their increased bias as noted above. Weight smoothing did not achieve large efficiency gains, except for a few cases where the nonsmoothed estimator was less efficient than the unweighted estimator. This limited efficiency improvement might be explained by a somewhat strong relationship between the variables of interest and the covariates, or a small variability of the propensity weights wi, so that the smoothed weights may not exhibit substantial deviations from wi. 123
Weight smoothing for nonprobability surveys Table 6 Relative bias (RelBias) for each variable, estimator and set of covariates, when using unequal probability sampling to draw svfrom the subpopulation having a computer at home Cov. Obj. Unw PSA TrIPW NS XGB LASSO NS XGB LASSO Dem. y10.018 0.014 0.014 0.016 0.010 0.012 0.010 y20.121 0.128 0.128 0.125 0.129 0.123 0.129 y30.243 0.195 0.196 0.200 0.172 0.175 0.172 y40.080 0.074 0.074 0.074 0.071 0.070 0.071 y50.282 0.560 0.554 0.499 0.597 0.594 0.588 y60.177 0.203 0.203 0.194 0.249 0.256 0.249 y70.093 0.077 0.079 0.090 0.091 0.110 0.092 y80.038 0.048 0.048 0.050 0.062 0.059 0.063 y90.000 0.001 0.001 0.000 0.004 0.004 0.004 y10 0.001 0.002 0.002 0.001 0.000 0.000 0.001 Dep. y10.019 0.010 0.010 0.011 0.002 0.004 0.003 y20.121 0.115 0.115 0.116 0.106 0.107 0.106 y30.243 0.241 0.241 0.242 0.240 0.240 0.240 y40.080 0.080 0.080 0.080 0.080 0.079 0.080 y50.286 0.327 0.326 0.315 0.365 0.365 0.364 y60.177 0.145 0.145 0.147 0.130 0.135 0.130 y70.092 0.092 0.092 0.092 0.110 0.111 0.110 y80.038 0.018 0.018 0.020 0.005 0.005 0.005 y90.001 0.001 0.001 0.001 0.001 0.001 0.001 y10 0.002 0.002 0.002 0.002 0.001 0.001 0.001 7 Discussion Weight smoothing was introduced by Beaumont (2008) for reducing the variance of estimates from probability samples. It consists of modelling the survey weight conditional on the variables of interest and then replacing the weight with its predicted value. This paper extends this idea to nonprobability samples, where the weight is itself estimated from a propensity model. Our assumption was that it could improve efficiency when there are covariates in the propensity model that are weakly associated with the variables of interest. First, we have shown theoretically that the smoothed estimator is never less efficient that its nonsmoothed version under a linear model for the propensity weight wi.The magnitude of the efficiency gains depends on the strength of the variables of interest for predicting the propensity weight. It also depends on how powerful the predictors of the propensity weight are for predicting each of the variables of interest. Then, we designed two simulation studies, based on artificial and real data, to evaluate the properties of weight smoothing. The results showed that weight smoothing may contribute to reduce the MSE, particularly when nonsmoothed estimators (obtained using weighted logistic regression or weighted CART) are less efficient than the simple unweighted estimator. For instance, this would occur when the variables of interest are weakly related to the 123
R. Ferri-García et al. Table 7 Relative MSE (RelMSE) for each variable, estimator and set of covariates when using SRSWOR to draw svfrom the subpopulation having a computer at home Cov. Obj. PSA TrIPW NS XGB LASSO NS XGB LASSO Dem. y11.397 1.392 1.277 2.271 2.123 2.239 y20.917 0.918 0.930 0.870 0.874 0.873 y30.722 0.723 0.750 0.704 0.713 0.705 y40.740 0.741 0.769 0.755 0.748 0.756 y50.866 0.865 0.889 0.847 0.894 0.846 y60.763 0.763 0.797 0.727 0.778 0.728 y70.861 0.867 0.907 0.910 0.952 0.909 y80.997 0.996 0.996 1.122 1.067 1.122 y91.034 1.033 1.008 1.123 1.091 1.117 y10 1.051 1.050 1.020 1.106 1.100 1.107 Dep. y10.459 0.460 0.477 0.692 0.668 0.688 y20.829 0.831 0.841 0.667 0.688 0.671 y30.885 0.885 0.900 0.797 0.797 0.798 y40.899 0.898 0.904 0.817 0.794 0.816 y51.096 1.095 1.060 1.229 1.251 1.229 y60.572 0.573 0.596 0.417 0.473 0.418 y71.228 1.228 1.207 1.573 1.570 1.569 y80.409 0.411 0.437 0.243 0.251 0.245 y91.020 1.017 1.015 1.122 1.072 1.115 y10 1.000 0.999 0.991 1.165 1.143 1.166 covariates used in the propensity model. When the nonsmoothed estimators reduced bias and were more efficient than the unweighted estimator, weight smoothing did not yield significant efficiency gains in our simulation scenarios although it would remain theoretically possible. In the real data simulation, there were some remarkable exceptions to the behaviour described above. In a few cases, the nonsmoothed estimators were largely inefficient, but weight smoothing could not improve the results. In those cases, propensity weighting contributed to increasing the bias, rather than reducing it. This may occur when the propensity model is misspecified (Lee 2006; Ferri-García and Rueda 2020). Therefore, the resulting augmentation of the MSE was due to an increase in bias, not variance. This explains why weight smoothing could not improve efficiency in those cases as it is not designed to reduce bias. Regarding weight smoothing methods, LASSO regression presented better results overall than XGBoost in terms of MSE reduction. LASSO regression involves variable selection, which can be particularly relevant when some variables of interest are weakly related to the propensity weight. As shown theoretically for a linear model, no efficiency gain can be achieved for the estimation of the population mean of a variable when this variable is included in the smoothing model. Therefore, a hybrid method that would first select important variables using LASSO and then apply XGBoost to 123
Weight smoothing for nonprobability surveys Table 8 Relative MSE (RelMSE) for each variable, estimator and set of covariates, when using unequal probability sampling to draw svfrom the subpopulation having a computer at home Cov. Obj. PSA TrIPW NS XGB LASSO NS XGB LASSO Dem. y10.797 0.797 0.930 0.817 0.796 0.817 y21.124 1.117 1.073 1.144 1.049 1.138 y30.650 0.654 0.679 0.506 0.529 0.508 y40.852 0.853 0.848 0.802 0.779 0.801 y53.488 3.414 2.847 4.697 4.597 4.571 y61.318 1.320 1.206 1.955 2.065 1.957 y70.983 0.996 1.031 1.646 1.721 1.655 y81.522 1.547 1.556 2.701 2.408 2.766 y91.464 1.444 1.172 2.261 1.915 2.244 y10 1.454 1.456 1.190 1.990 1.830 1.990 Dep. y10.468 0.473 0.504 0.386 0.383 0.386 y20.907 0.909 0.920 0.760 0.777 0.764 y30.990 0.990 0.994 0.977 0.976 0.977 y40.996 0.996 0.996 0.992 0.982 0.992 y51.265 1.261 1.188 1.588 1.581 1.580 y60.673 0.674 0.696 0.544 0.589 0.544 y71.001 1.004 0.999 1.322 1.311 1.324 y80.529 0.531 0.575 0.467 0.446 0.465 y91.002 1.000 1.003 1.230 1.160 1.227 y10 1.040 1.039 1.021 1.200 1.173 1.199 predict the propensity weight using the variables selected in the first step might be more effective than LASSO or XGBoost alone. This could be investigated in future research. The nonsmoothed TrIPW estimator (weighted CART) appeared more effective at reducing bias than the nonsmoothed PSA estimator (weighted logistic regression) in a majority of cases. However, the TrIPW estimator was sometimes less efficient than the PSA estimator. In those cases, weight smoothing was effective at reducing the MSE to a level similar to the MSE of the PSA estimator. This suggests that a reasonable weighting strategy to use as a default choice when adjusting for selection bias in nonprobability surveys could be to use weighted CART to obtain the propensity weight wifollowed by weight smoothing. The present empirical study has some limitations that should be noted. First, we did not consider creating homogeneous propensity strata after logistic regression. This is quite common in the context of survey nonresponse and has the advantage of reducing the occurrence of extreme propensity weights as well as providing some robustness to model misspecifications. Second, only two prediction algorithms were proposed for weight smoothing. There is currently a wide range of algorithms in the machine learning literature. Further studies could explore other prediction algorithms for weight smoothing or consider other strategies for hyperparameter tuning, which 123
R. Ferri-García et al. could lead to better results. Finally, the data used for our simulations cover a limited range of situations; for instance, the artificial data simulation only considered a U- shaped distribution for the participation probabilities, and the real data simulation presented a situation where the selection bias was not extremely large. Other more realistic scenarios should be considered in future research on this topic. In addition, the number of variables of interest in the simulations was fixed at 10. Further research could consider scenarios where the number of variables of interest is significantly larger, as it is likely to have an impact on the properties of weight smoothing estimators. Funding This study was partially supported by Ministerio de Ciencia e Innovación, Spain [grant number PID2019-106861RB-I00 / AEI / 10.13039/501100011033], the IMAG-Maria de Maeztu grant [grant number CEX2020-001105-M / AEI / 10.13039/501100011033] and, in terms of the first author, a FPU grant from the Ministerio de Ciencia, Innovación y Universidades, Spain. Funding for open access charge: Universidad de Granada / CBUA. Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature. Declarations Conflict of interest The authors declare that there is no conflict of interest. Availability of data and material Datasets used for the study are available upon request from the authors. Code availability Code used for the simulations is available upon request from the authors. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. A Proof of result (6) Under regularity conditions given in Chen et al. (2020), E(¯yw|X,Y)=¯ Y+on−1/2 v. As a result, E(¯yw|Y)=E[E(¯yw|X,Y)|Y]=¯ Y+on−1/2 v.(14) In addition, we also have that E(¯yw|Y)=E[E(¯yw|sv,Y)|Y]=E(¯y˜w|Y).(15) 123
Weight smoothing for nonprobability surveys Combining (14) and (15), we obtain the first part of the result: E(¯y˜w|Y)=¯ Y+on−1/2 v. To obtain the second part of the result, it suffices to observe that var (¯yw|Y)=var (¯y˜w|Y)+E[var (¯yw|sv,Y)|Y].(16) The result var (¯y˜w|Y)≤var (¯yw|Y)is proven by noting that the second term on the right-hand side of (16) cannot be negative. B Proof of result (10) Under the linear model (7), and from result (6) and Eq. (15), we have E(¯yw|Y)=E(¯y˜w|Y)=E⎡ ⎣N−1 i∈svh iγyi|Y⎤ ⎦=¯ Y+on−1/2 v. Under the linear model (7), we also have that E(¯yˆw|Y)=E[E(¯yˆw|sv,Y)|Y]=E⎡ ⎣N−1 i∈svh iγyi|Y⎤ ⎦. Combining the last two equations, we obtain: E(¯yˆw|Y)=¯ Y+on−1/2 v. Assuming wigiven svand Yare mutually independent (at least asymptotically), it is also straightforward to show that var (¯yw|Y)=var ⎡ ⎣N−1 i∈svh iγyi|Y⎤ ⎦+σ2 N2E⎛ ⎝ i∈sv y2 i|Y⎞ ⎠.(17) and that var (¯yˆw|Y)=var ⎡ ⎣N−1 i∈svh iγyi|Y⎤ ⎦+σ2 N2E⎛ ⎝ i∈sv yih iˆα|Y⎞ ⎠,(18) where ˆαisgivenin(9). Combining (17) and (18), noting that ˆyi=h iˆαand rearranging the terms yield: var (¯yˆw|Y)=var (¯yw|Y)−σ2 N2E⎡ ⎣ i∈svyi−ˆyi2|Y⎤ ⎦. 123
R. Ferri-García et al. References Beaumont JF (2008) A new approach to weighting and inference in sample surveys. Biometrika 95(3):539– 553 Beaumont JF (2020) Are probability surveys bound to disappear for the production of official statistics? Surv Methodol 46(1):1–28 Bosnjak M, Tuten TL (2003) Prepaid and promised incentives in web surveys: an experiment. Soc Sci Comput Rev 21(2):208–217 Breiman L, Friedman J, Stone CJ, Olshen RA (1984) Classification and regression trees. CRC Press, Florida Brookhart MA, Schneeweiss S, Rothman KJ, Glynn RJ, Avorn J, Stürmer T (2006) Variable selection for propensity score models. Am J Epidemiol 163(12):1149–1156 Castro-Martín L, Rueda M, Ferri-García R (2020) Inference from non-probability surveys with statistical matching and propensity score adjustment using modern prediction techniques. Mathematics 8(6):879. https://doi.org/10.3390/math8060879 Chen T, Guestrin C (2016). Xgboost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, August 13-17, 2016. San Francisco, United States: Association for Computing Machinery (pp. 785-794) Chen Y, Li P, Wu C (2020) Doubly robust inference with nonprobability survey samples. J Am Stat Assoc 115(532):2011–2021. https://doi.org/10.1080/01621459.2019.1677241 Chu K, Beaumont J-F (2019) The Use Of Classification Trees To Reduce Selection Bias For A Non-Probability Sample With Help From A Probability Sample. In Proceedings of the Survey Methods Section: SSC Annual Meeting. Statistical Society of Canada, Calgary, Canada Available at: https://ssc.ca/sites/default/files/imce/survey_methods_4_- _the_use_of_classification_trees_to_reduce_selection_bias_for_a_non-probability_sample_with_ help_from_a_probability_sample_chu_beaucmont-2019.pdf (accessed December 2020) Cochran WG (1968) The effectiveness of adjustment by subclassification in removing bias in observational studies. Biometrics 24(2):295–313 Díaz de Rada V (2012) Ventajas e inconvenientes de la encuesta por Internet. Papers: revista de sociologia 97(1):193–223 Elliott MR, Valliant R (2017) Inference for nonprobability samples. Stat Sci 32(2):249–264 Ferri-García R, Rueda M (2018) Efficiency of propensity score adjustment and calibration on the estimation from non-probabilistic online surveys. SORT-Stat Oper Res T 42(2):159–182 Ferri-García R, Rueda M (2020) Propensity score adjustment using machine learning classification algorithms to control selection bias in online surveys. PloS One 15(4):e0231500 Friedman J, Hastie T, Tibshirani R (2010) Regularization paths for generalized linear models via coordinate descent. J Stat Softw 33(1):1–22 Greenlaw C, Brown-Welty S (2009) A comparison of web-based and paper-based survey methods: testing assumptions of survey mode and response cost. Evaluation Rev 33(5):464–480 Hirano K, Imbens GW (2001) Estimation of causal effects using propensity score weighting: an application to data on right heart catheterization. Health Serv Outcomes Res Method 2(3–4):259–278 Horvitz DG, Thompson DJ (1952) A generalization of sampling without replacement from a finite universe. J Am Stat Assoc 47(260):663–685 Kohut A, Keeter S, Doherty C, Dimock M, Christian L (2012) Assessing the representativeness of public opinion surveys. Pew Research Center, Washington, DC Kuhn M (2018) caret: Classification and Regression Training. R package version 6.0-81. Accessed December 2020. https://CRAN.R-project.org/package=caret Lee S (2006) Propensity score adjustment as a weighting scheme for volunteer panel web surveys. J Off Stat 22(2):329–349 Lee S, Valliant R (2009) Estimation for volunteer panel web surveys using propensity score adjustment and calibration adjustment. Sociol Method Res 37(3):319–343 Little RJ (1986) Survey nonresponse adjustments for estimates of means. Int Stat Rev 54(2):139–157 National Institute of Statistics (2012) Life Conditions Survey. Microdata. Accessed December 2020. https://ine.es/dyngs/INEbase/en/operacion.htm?c=Estadistica_C&cid=1254736176807&menu= resultados&idp=1254735976608#!tabs-1254736195153 Neyman J (1934) On the two different aspects of the representative method: the method of stratified sampling and the method of purposive selection. J R Stat Soc A 97:558–606 123
Weight smoothing for nonprobability surveys Rosenbaum PR, Rubin DB (1983) The central role of the propensity score in observational studies for causal effects. Biometrika 70(1):41–55 Schonlau M, Couper MP (2017) Options for conducting web surveys. Stat Sci 32(2):279–292 Valliant R, Dever JA (2011) Estimating propensity adjustments for volunteer web surveys. Sociol Method Res 40(1):105–137 Valliant R (2020) Comparing alternatives for estimation from nonprobability samples. JJ Surv Stat Methodol 8(2):231–263 Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 123