arXiv Science⌕ Search

arXiv subjects

Robert W. Krause

Publications and source records attributed to Robert W. Krause.

3 recordsLinked to original sources

int3ract: Johnson-Neyman Technique and its Three-Way Extension for Frequentist and Bayesian Models in R

Interaction effects are ubiquitous in applied statistical modeling, yet their meaningful interpretation remains challenging. The classic Johnson--Neyman (JN) technique (Johnson and Neyman 1936) addresses this challenge for two-way interactions by identifying the regions of a moderator's range over which a focal effect is and is not statistically significant. The int3ract package for R implements the JN technique, extends it to three-way interactions over a two-dimensional moderator grid (JN3), and extends both to Bayesian models by working on posterior draws rather than point estimates. The package has a single entry point, the generic function JN(), which dispatches on the fitted object: models supplying point estimates and a covariance matrix are analyzed with Wald tests, objects supplying draws as conditional posterior distributions. Methods are provided for lm(), glm(), lme4, lavaan, RSiena and multiSiena objects, and for matrices of posterior draws; support for any further model class is added by writing a single jn_input() method, so that estimators from basically any package can be supported. Results are classed objects whose summary() method reports the regions of significance directly and whose plot() method draws shaded confidence bands (two-way) or crosshatched heatmaps (three-way), each accompanied by a panel showing how much data support each part of the moderator range, or the same regions as fans of simple slopes of the outcome. The package is designed to encourage richer, region-specific reporting of interaction effects in place of the conventional single-slope spotlight approach.

stat.ME↗

Permutation tests for Poisson network regression: Double semi-partialling, studentized statistics and actor effects

The multiple regression quadratic assignment procedure (MRQAP) is a standard framework for inference on dyadic network data, and its properties are well established for the linear model. Network outcomes are often counts, modelled by Poisson regression with a log link. We prove that the invariance property of the Frisch--Waugh--Lovell theorem, the only part that double semi-partialling (DSP) requires, survives the nonlinear link. The DSP focal coefficient and its model-based, HC3 and dyadic cluster-robust standard errors coincide with those of the fit on the raw covariates. The choice between relabelling the raw focal array ($X$-permutation) and relabelling its DSP residual acts only on the reference distribution. The test holds its level when the relabelled designs reproduce the dependence that the statistic retains, and DSP reproduces the autocorrelation of the partialled focal covariate. When the raw focal array and its residual share their autocorrelation, the relabelling test holds the nominal level for all three statistics, at covariate correlations up to $0.9$ and in networks of $20$ to $100$ actors. A normal reference rejects a true null at rates up to $0.96$. With sender and receiver effects modelled, every statistic rejects a true null at $0.035$ to $0.070$ in all conditions, and power against a focal effect of $0.10$ rises from at most $32\%$ to at least $99.9\%$. When the actor effects cannot be modelled, adding the sender and receiver means of the nuisance covariates keeps DSP at its level. We give recommendations and illustrate the method on the EIES message-count network.

stat.ME↗

Joint Multiple Imputation of Node Attributes and Network Ties in R

Missing data in social network studies routinely affects both node-level attributes and the network ties themselves. Standard multiple imputation software such as mice (van Buuren and Groothuis-Oudshoorn, 2011) handles the former well but has no notion of network structure, while dedicated network-imputation procedures typically treat tie imputation and attribute imputation as separate problems. This paper introduces netimpute, an R package that (a) computes a broad battery of node-level structural and attribute homophily measures across one or more networks, (b) can reduce these to a manageable set of principal component predictors while optionally preserving specific raw measures that are themselves part of substantive hypotheses, (c) provides a dyadic (cell-level) regression for network ties in the spirit of MR-QAP (Krackhardt, 1988), and (d) combines both into netmice(), a chained-equations routine that jointly imputes missing node attributes and missing network ties by cycling between them, using network-derived predictors for attributes and attribute-derived (and other-network-derived) predictors for ties. Network ties are updated tie-wise by default: a sequential Gibbs step redraws each missing tie one at a time, conditional on all previously imputed ties, refreshing the endogenous statistics (reciprocity, shared contacts) after every single draw via change statistics. The package additionally supports structural zeros, logical constraints between networks, social-relations-model random intercepts in the tie model, custom imputation models with interactions among any internally created terms, and network-aware per-target predictor selection (netquickpred()). We describe the package's design choices, the measures it computes for binary and non-negative weighted networks, and illustrate its use with a reproducible example

stat.ME↗