Learn R Programming

SVMMatch (version 1.1)

bayesmatch_cpp: Rcpp implementation for Bayesian SVM.

Description

bayesmatch_cpp is the Rcpp object that fits the Bayesian SVM. Primarily for internal use.

Usage

bayesmatch_cpp(X0, boldX0, lambda0, treat0, total_gibbs0, thin0, param0, dv0, nu0, burnin0)

Arguments

X0
Scaled covariate matrix.
boldX0
Scaled and transformed covariate matrix.
lambda0
Vector of initial weights for each observation
treat0
Binary treatment vector.
total_gibbs0
Number of posterior draws to save.
thin0
Number of draws to thin.
param0
No longer used. Set to 0.
dv0
Outcome variable.
nu0
Initial estimate for prior weight.
burnin0
Number of posterior draws discarded.

Details

Internal function.

References

Ratkovic, Marc. 2014. "Balancing within the Margin: Causal Effect Estimation with Support Vector Machines." Working paper.

See Also

svmmatch

Examples

Run this code
## See svmmatch() for implementation.

Run the code above in your browser using DataLab