Description Usage Arguments Details Value Author(s) References Examples
Computes matrices B^{ij}_X and B^{ij}_y to speed up estimation of connection signs. These matrices are stored only for indices that have non zero entries in penalty matrix M.
1 | get.BxBy(x, y, M)
|
x |
Input data matrix of size n \times p, n - number of observations, p - number of covariates |
y |
y Response vector or size n \times 1 |
M |
penalty matrix |
Calculates matrices all for i and j indices that have non zero values in a given penalty matrix.
Bx |
array of B^{ij}_X stored matrices. Bx[,,k] are the k-th combination of i and j non zero entry in the penalty matrix M |
By |
array of B^{ij}_y stored matrices. By[,k] are the k-th combination of i and j non zero entry in the penalty matrix M |
Maintainer: Jonas Striaukas <jonas.striaukas@gmail.com>
Weber, M., Striaukas, J., Schumacher, M., Binder, H. "Network-Constrained Covariate Coefficient and Connection Sign Estimation" (2018) <doi:10.2139/ssrn.3211163>
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.