Description Usage Arguments Value
Takes betas, correlation vector rho, x.matrix, y, adj.matrix, link, W, toep and returns the variance covariance matrix
1 | getV(betas, rho, x.matrix, y, adj.matrix, missing.vector, link, W, toep)
|
betas |
p vector of regression parameters |
rho |
the vector of estimated correlations between those connected in the network |
x.matrix |
nxp matrix of covariates |
y |
the vector of dependent variable |
adj.matrix |
adjacency matrix of the network |
missing.vector |
TRUE FALSE vector of missing values |
link |
link between xbeta and the mean, identify for normal, logit for logistic, Poissonlog for Poisson with log link, Gammalog for gamma with log link |
W |
vector of inverse probability weights |
toep |
number of rhos to estimate 1-4 currently are the options for this |
estimated Variance Covariance matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.