The type of weighting to use for the contningency table. Only large sample methods are allowed.
table.only
only returns the weighted table, without bootstrap.
verbose
level of output
...
Additional parameters for compute_weights
Details
This function first estimates a Homophily Configuration Graph model for the underlying
network under the assumption that the two variables are independant and that the population size is large.
It then draws bootstrap
RDS samples from this population distribution and calculates the chi.squared statistic on
the weighted contingency table. Weights are calculated using the HCG estimator assuming a large population size.