auxVarOutcomeCpp: Run Gibbs sampler for auxiliary outcome values using Rcpp

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Given the specific inputs, determine auxiliary outcome values using a Gibbs sampling procedure.

Usage

1
auxVarOutcomeCpp(beta, trt, cov, N, R, adjacency, start, weights)

Arguments

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

Value

A numeric vector for auxiliary covariate outcomes as an element of 0,1


isabelfulcher/autognet documentation built on Aug. 23, 2020, 9:42 a.m.