auxVarOutcomeCpp.Rd
Given the specific inputs, determine auxiliary outcome values using a Gibbs sampling procedure.
auxVarOutcomeCpp(beta, trt, cov, N, R, adjacency, start, weights)
beta | A numeric vector of parameters from outcome model |
---|---|
trt | A numeric vector of the treatment values |
cov | A numeric matrix for observed covariate values (starting values for chain) |
N | An integer indicating the size of the interconnected network |
R | An integer indicating the number of iterations for the Gibbs |
adjacency | A binary matrix indicating connected units |
start | A vector of the initializing values of |
weights | A numeric vector indicating the number of neighbors for each node |
A numeric vector for auxiliary covariate outcomes as an element of 0,1