Calculate weighted matrix
weight_matrix(X, normalize_W_weights = TRUE)
Numeric matrix. See weight_matrix_cpp()
for more information.
data.table.
Output from create_coalition_table()
.
Logical. Whether to normalize the weights for the coalitions to sum to 1 for
increased numerical stability before solving the WLS (weighted least squares). Applies to all coalitions
except coalition 1
and 2^m
.
Nikolai Sellereite, Martin Jullum