Description Usage Arguments Value
Given the specific inputs, determine estimates of psi for the given units under some treatment regime and individual treatment value using a Gibbs sampling procedure.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | networkGibbsOuts2Cpp(
cov_list,
beta,
p,
ncov,
R,
N,
adjacency,
weights,
subset,
treatment_value,
burnin,
average
)
|
cov_list |
The output from networkGibbsOutCovCpp function |
beta |
A numeric vector for the parameters from the outcome model |
p |
A probability of treated units for the binomial treatment assignment draw |
ncov |
A numeric vector for the parameters from the outcome model |
R |
An integer indicating the number of iterations for the Gibbs |
N |
An integer indicating the size of the interconnected network |
adjacency |
A binary matrix indicating connected units |
weights |
A numeric vector indicating the number of neighbors for each node |
subset |
The indices of the individuals, as they appear in the adjacency matrix, to be included in the network causal effects estimates. |
treatment_value |
The intervened value of an individual's treatment assignment for each person in subset |
burnin |
The index to start evaluation as one would normally have for a burnin for a Bayesian computation. |
average |
An indicator of whether to evaluate the causal effects as an average of the R iterations |
A vector of length N containing the estimated value of psi for each person
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.