Evaluating Inference for Topic by Audience Interactions in Sociolinguistics: A Simulation Study of Speaker Heterogeneity and Missing Data
Abstract
This computer simulation evaluates inference for an interaction between topic and audience when speakers differ and observations are missing. It compares a naive binomial analysis, a speaker-level sandwich estimator and stratified inverse probability weighting (IPW) for a population-averaged log-odds interaction. The comparison isolates adjustments for dependence and selection. Mixed-effects logistic models are outside this comparison, so their relative performance remains untested. The factorial design crosses four speaker counts, two token densities, three heterogeneity regimes, three interaction magnitudes and four observation regimes, giving 288 conditions with 2,000 replications each. All observations are synthetic and computer-generated; no participants or empirical data were involved. Every numerical parameter is an illustrative assumption, not an estimate extracted from previous research. Conditional generating coefficients are calibrated to a common marginal target before bias, coverage, false-positive rates and positive detection are evaluated. With 60 hypothetical speakers, 100 tokens per cell and complete observations, the naive false-positive rate is 2.85% in the random-intercept regime and 21.35% in the intercept-and-slopes regime. The corresponding speaker-level rate in the latter regime is 6.10%. With random slopes, 240 speakers, 100 tokens per cell and a target interaction odds ratio of 1.26, weighted positive detection is 99.95% with complete observations and 63.30% under covariate-dependent missingness. Weighting can reduce bias while increasing finite-sample error and cannot correct latent selection. The results provide conditional guidance for balancing speaker recruitment, token collection and retention. They evaluate analysis procedures under stated assumptions and provide no empirical evidence about actual speakers or stylistic preferences.
Downloads
PlumX Statistics
References
Bell, A. (1984). Language style as audience design. Language in Society, 13(2), 145–204. https://doi.org/10.1017/S004740450001037X
Burton, A., Altman, D. G., Royston, P., & Holder, R. L. (2006). The design of simulation studies in medical statistics. Statistics in Medicine, 25(24), 4279–4292. https://doi.org/10.1002/sim.2673
Carpenter, J. R., & Smuk, M. (2021). Missing data: A statistical framework for practice. Biometrical Journal, 63(5), 915–947. https://doi.org/10.1002/bimj.202000196
Coupland, N. (2007). Style: Language variation and identity. Cambridge University Press. https://doi.org/10.1017/CBO9780511755064
Eckert, P. (2008). Variation and the indexical field. Journal of Sociolinguistics, 12(4), 453–476. https://doi.org/10.1111/j.1467-9841.2008.00374.x
Fernández-Mallat, V. (2025). Style-shifting in multidialectal spaces: The case for speaker-based, mixed-methods approaches to dialect contact. Languages, 10(12), Article 299. https://doi.org/10.3390/languages10120299
Johnson, D. E. (2009). Getting off the GoldVarb standard: Introducing Rbrul for mixed-effects variable rule analysis. Language and Linguistics Compass, 3(1), 359–383. https://doi.org/10.1111/j.1749-818X.2008.00108.x
Labov, W. (1972). Sociolinguistic patterns. University of Pennsylvania Press.
Liang, K.-Y., & Zeger, S. L. (1986). Longitudinal data analysis using generalized linear models. Biometrika, 73(1), 13–22. https://doi.org/10.1093/biomet/73.1.13
Love, J., & Walker, A. (2013). Football versus football: Effect of topic on /r/ realization in American and English sports fans. Language and Speech, 56(4), 443–460. https://doi.org/10.1177/0023830912453132
Morris, T. P., White, I. R., & Crowther, M. J. (2019). Using simulation studies to evaluate statistical methods. Statistics in Medicine, 38(11), 2074–2102. https://doi.org/10.1002/sim.8086
Neuhaus, J. M. (1992). Statistical methods for longitudinal and clustered designs with binary responses. Statistical Methods in Medical Research, 1(3), 249–273. https://doi.org/10.1177/096228029200100303
Pratt, T. (2023). Affect in sociolinguistic style. Language in Society, 52(1), 1–26. https://doi.org/10.1017/S0047404521000774
Rickford, J. R., & McNair-Knox, F. (1994). Addressee- and topic-influenced style shift: A quantitative sociolinguistic study. In D. Biber & E. Finegan (Eds.), Sociolinguistic perspectives on register (pp. 235–276). Oxford University Press. https://doi.org/10.1093/oso/9780195083644.003.0011
Sandow, R., Grieve, J., Stamp, R., & Schembri, A. (2026). Lexical variation and change: Integrating lexis into variationist sociolinguistics. Language Variation and Change, 37(3), 293–318. https://doi.org/10.1017/S0954394525100628
Seaman, S. R., & White, I. R. (2013). Review of inverse probability weighting for dealing with missing data. Statistical Methods in Medical Research, 22(3), 278–295. https://doi.org/10.1177/0962280210395740
Tagliamonte, S. A. (2006). Analysing sociolinguistic variation. Cambridge University Press. https://doi.org/10.1017/CBO9780511801624
Tagliamonte, S. A., & Baayen, R. H. (2012). Models, forests, and trees of York English: Was/were variation as a case study for statistical practice. Language Variation and Change, 24(2), 135–178. https://doi.org/10.1017/S0954394512000129
Copyright (c) 2026 Thamer Marzouq

This work is licensed under a Creative Commons Attribution 4.0 International License.

