Network Scale-Up Models for Aggregated Relational Data
Compute Pearson Residuals for ARD matrix and fitted model
Compute Randomized Quantile Residuals for ARD Models
Fit ARD using the uncorrelated or correlated model in Stan This functi...
Covariance plots
Dispersion Metric for Fitted ARD Model
Fit basic Poisson and Negative Binomial models using glmmTMB
Compute Surrogate Residuals for ARD Models
Hanging Rootogram for Fitted ARD Model
Fit Killworth models to ARD. This function estimates the degrees and p...
log computed uniform quantile
Construct tibble from ARD matrix
Generate simulated ARD
The 'networkscaleup' package.
Fit Overdispersed model to ARD (Gibbs-Metropolis)
Fit ARD using the Overdispersed model in Stan
Plot residuals against fitted values
Construction Residual (row/column) correlation matrix
Construct heatmap of residuals
compute numerically stable negative binomial rqr
compute numerically stable Poisson rqr
Scale raw log degree and log prevalence estimates
Tracy-Widom test for residual group correlation
Provides a variety of Network Scale-up Models for researchers to analyze Aggregated Relational Data, through the use of Stan and 'glmmTMB'. Also provides tools for model checking In this version, the package implements models from Laga, I., Bao, L., and Niu, X (2023) <doi:10.1080/01621459.2023.2165929>, Zheng, T., Salganik, M. J., and Gelman, A. (2006) <doi:10.1198/016214505000001168>, Killworth, P. D., Johnsen, E. C., McCarty, C., Shelley, G. A., and Bernard, H. R. (1998) <doi:10.1016/S0378-8733(96)00305-X>, and Killworth, P. D., McCarty, C., Bernard, H. R., Shelley, G. A., and Johnsen, E. C. (1998) <doi:10.1177/0193841X9802200205>.