getV: getV

Description Usage Arguments Value

View source: R/getV.R

Description

Takes betas, correlation vector rho, x.matrix, y, adj.matrix, link, W, toep and returns the variance covariance matrix

Usage

1
getV(betas, rho, x.matrix, y, adj.matrix, missing.vector, link, W, toep)

Arguments

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

Value

estimated Variance Covariance matrix


MilesOtt/geeNET documentation built on Aug. 8, 2021, 7:31 p.m.